On Fri, May 09, 2014 at 12:31:42PM +0100 I heard the voice of Aaron Sloman, and lo! it spake thus: > > When I start up X I include commands to swap two pairs of keys, so > that the ones I use most are closest to the finger that uses them > (little finger on left).
I do something similar (though I don't swap ctrl and capslock; I just turn capslock into a ctrl and leave ctrl also doing it; who needs caps? ;). I also make Print Screen an alt, since it makes it real easy to hit the Alt-F11 (f.occupy) and Alt-F12 (f.toggleworkspacemgr). > (Not making ctwm the final command allows me to kill and restart > ctwm while retaining my windows, e.g. after a ctwm upgrade.) Note that ctwm's f.restart makes ctwm exec() itself, so it does in fact let you upgade ctwm on the fly while everything's running. Not that it's a substitute for being able to kill it, or run a new one from a different path, of course. > Does anyone know if there is anything in ctwm that tries to re-set > key bindings to some default specified somewhere in the system? Pretty sure not. xmodmap does its stuff with funcs like XInsertModifiermapEntry() and XChangeKeyboardMapping(), none of which exist in the ctwm tree. I wouldn't be surprised if Firefox (or one of its plugins, especially Flush[0]) were doing something "clever" and changing them, though. But any X client _could_. [0] Not a typo. Wishful thinking, maybe, but not a typo :p -- Matthew Fuller (MF4839) | [email protected] Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream.
