Turn off Caps Lock Key in Linux

1
$ setxkbmap -option ctrl:nocaps

 

You can add this to your ~/.bash_profile to make it constant.

—.bash_profile—

export PATH
xmodmap -e “remove lock = Caps_Lock”

—.bash_profile—

 

To reset caps lock. enter:

1
$ setxkbmap -option

 

This entry was posted in Bash, Linux and tagged . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.