Mar 1, 2010

Disabling Caps Lock In Linux

To disable it until the next time you log in:

$ xmodmap -e "clear lock"

To disable it for good:

$ xmodmap -pke > ~/.xmodmap.myown

$ vim ~/.xmodmap.myown

Change the line for keycode 66 (caps lock) to look like this:

keycode 66 =

Comments
blog comments powered by Disqus
About