Disable and Enable Caps Lock in Ubuntu

Solution 1 If you want to disable Caps Lock in Ubuntu you need to type the following command in your terminal xmodmap -e “clear Lock”