I used the following command to remap my caps lock key:
setxkbmap -layout us -option ctrl:nocaps
How do I reset my keyboard to the default settings?
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It only takes a minute to sign up.
Sign up to join this communityI used the following command to remap my caps lock key:
setxkbmap -layout us -option ctrl:nocaps
How do I reset my keyboard to the default settings?
To clear options, use:
setxkbmap -layout us -option ''
Hold Shift down to invert caps if typing the command.
You likely have to double-tap Caps Lock afterwards to reset the lock.