(Transferred from the wiki by Peter)
Are there times you wish there was no caps lock key on your keyboard? I sure did!!
Here is a quick and dirty way to disable the caps lock key under X - edit the file you use to start Xwindows with, typically ~/.xinitrc or ~/.Xclients-default and at the begining add the line
Exit out of Xwindows, log back in an Viola! the cursed CAPS lock key is disabled.Code:xmodmap -e "remove Lock = Caps_Lock"