Deactivate Caps Lock

If you find yourself sometimes accidentally hitting the Caps Lock key, this tip will be a God-send. Just open a terminal and type xmodmap -e "clear Lock" to disable it. On my system the keyboard LED for the key still lit when it was hit, but there was no other effect within Ubuntu.

To make this tweak permanent, open your .profile file in Gedit (gedit ~/.profile) and add the command as a new line at the end of the file. Then save the file, and log out and back in to see the changes.

If you're like to leave the [Caps Lock key active, and simply be told when it's been hit, see Tip 241, on page 283.

Was this article helpful?

0 0

Post a comment