2008-09-20

How to permanently deactivate caps lock in Linux

Many people hate the caps lock key as the accidental activation of the "caps lock" mode disrupts regularly the workflow. Entering
setxkbmap -option ctrl:nocaps

in the console will deactivate the "caps lock" key for the respective user and session. If your want to permanently ban this devil's handiwork from your keyboard layout you should reconfigure xserver-xorg
dpkg-reconfigure xserver-xorg

and when you are at the point where your can enter the "Keyboard options", you should enter
ctrl:nocaps