Linux - Keyboard disable caps lock, Lock caps key

Keyboard disable caps lock

Lock and unlock Caps key on keyboard

Linux provided a command called "xmodmap" to enable and disable the Caps Lock key functionality.

Disable Caps Lock key
xmodmap -e "remove lock = Caps_Lock"

Enable Caps Lock key
xmodmap -e "add lock = Caps_Lock"

The remove lock will lock the caps key on your keyboard and the add lock will ad the caps lock on your keyboard.

After you issue the command to disable the Caps_Lock key, the Caps_Lock light will not blink any more, no matter how many times you pressed on the Caps_Lock key.

The topic on Linux - Keyboard disable caps lock is posted by - Venki

Hope you have enjoyed, Linux - Keyboard disable caps lockThanks for your time

Tech Bluff