Robert Cussons wrote:
<--snip-->
So, on with the problem. I was using the excellent Tip#166 to switch the Caps Lock and Escape keys and it worked wonderfully. Then on Friday, I tried to install imwheel as non-root, don't know if this is possible, but I read the documentation and it didn't mention that it wasn't (incidentally, I was doing this following http://physics.ou.edu/~mcraven/mathmouse.html as a way of getting the mouse wheel to work properly in mathematica under Linux). Anyway I got complaints when trying to install it as it couldn't make the directory /etc/X11/imwheel as I cannot log in as root. So I gave up on that idea and as far as I was concerned had deleted anything to do with imwheel as I used its configure command to install under the prefix of my home directory. The problem is that now when I run the xmodmap ~/.speedswapper command that has worked up until now, the escape key behaves like Caps lock as intended, but the Caps lock key seems to be acting as both Caps lock AND escape, i.e. it will change me from insert to normal mode, but also turns on Caps lock! I am running KDE 3.3.2, Debian Sarge. The speedswapper file is as follows:

! Swap caps lock and escape, good for Vim
remove Lock = Caps_Lock
keysym Escape = Caps_Lock
keysym Caps_Lock = Escape
add Lock = Caps_Lock
<--snip-->

Machine just been updated to Debian Etch and the problem has disappeared, not sure why, but I'm happy to have this mapping back, it's so useful, thanks very much to Leif Wickland for posting it.

Rob.

Reply via email to