I'm using Xubuntu 12.04. How do I either swap or remap the Control (or any key) and Caps Lock keys?
Ubuntu – How to remap a key to the Caps Lock key in Xubuntu
xubuntu
xubuntu
I'm using Xubuntu 12.04. How do I either swap or remap the Control (or any key) and Caps Lock keys?
Best Answer
Another way:
then find the line that starts with
XKBOPTIONS
, and addctrl:nocaps
to make Caps Lock an additional Control key orctrl:swapcaps
to swap Caps Lock and Control.For example, mine looks like
then run
The reason this way is better is that it will take effect on the virtual consoles (e.g. Ctrl+Alt+F1) as well as in the graphical desktop.