Sorry, I missed this response to my query about key bindings being undone.

I wrote:
> > However, recently -- I can't be sure exactly when, I have
> > started finding that those key swaps are undone [...]

Tadziu Hoffmann <[email protected]> wrote:
> Date: Fri, 9 May 2014 14:52:30 +0200
>
> Newer versions of Xorg recognize keyboards dynamically.
> Is it possible that your xmodmap is executed before the
> keyboard is initialized (with default settings)?
>
> Try adding a line
>
>   xmessage 'press some keys to initialize keyboard'
>
> before the xmodmap in your .xinitrc and/or .xsession
> to see if that makes a difference.

I have been testing in an Xterm window, always generated as soon as I start X,
since I do most of my work at a command line.

The swap always seems to have been done by the time I am ready to type into an
xterm window, or switch workspaces (using CTRL Left, or CTRL Right).[*Note]
So nothing in .xinitrc is undoing the setting. I don't us .xsession.

I now suspect that there is something in the X server that makes it periodically
activate some default keyboard map, which could be useful if there are clients
that change it temporarily. So I'll have to find out where the default is
stored, and alter that!

I have discovered that the command
    setxkbmap

sets the keyboard to a configuration that undoes my settings. As far as I can
tell ctwm does not invoke that. So something else I am running must be doing it.

I'll have to find where it gets its mapping from.

Apologies for noise.

Aaron
PS
[*Note]
I am amazed at window managers that don't automatically wrap when you get to one
or other end of the list of workspaces, as ctwm has always done, which allows me
to get from WS12 to WS1 by one use of f.function "GoRIGHT", and likewise using
GoLEFT to get from WS1 to WS12. Perhaps people who currently design interfaces
have never heard of wrapping and don't understand its power.

Reply via email to