Linux provided a command called “xmodmap” to enable and disable the Caps Lock key functionality. Frankly, i do not understand what’s benefit of disable the Caps Lock key, may be avoid accidentally press on it?
Disable Caps Lock key
xmodmap -e "remove lock = Caps_Lock"
Eisable Caps Lock key
xmodmap -e "add lock = Caps_Lock"
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 :), funny trick.