I’ve upgraded my desktop machine to Xorg 7.3 recently, and one thing annoyed me: My xmodmap settings that make the capslock key another Ctrl key won’t work.
Searching the web and mailists and I found some reports that for people don’t use Xmodmap, the CapsLock key and the NumLock key won’t update the LED on the keyboard on Xorg7.3. Checking my box and I found I also get this problem. I guess this is something related, comes with the Xorg7.3.
Fortunately, besides Xmodmap, we have another option to set the CapsLock to Ctrl, or switch CapsLock and Ctrl. For me, I added
in the “InputDevice” section of my xorg.conf file, and now I can use the CapsLock as Ctrl key as before.
For people who want to switch these two, use “ctrl:swapcaps” instead. If you want to try it out, you can also use the setxkbmap command, for example:
Check the man page for more options.