swap caps lock and control in X

Rene Salmon yellowdog-general@lists.terrasoftsolutions.com
Mon, 30 Aug 2004 10:12:08 -0500


Hello,

Does anyone know how to swap the caps lock key for the control key in X?

I usually just do something like this with xmodmap:

xmodmap -e "remove Lock = Caps_Lock" -e "keysym Caps_Lock = Control_L" -e "add Control = Control_L"

but that does not seem to work on my X setup.
This if for YD4 or fedora core 2 like system.


Thanks for any help.


Rene