0

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?

1 Answer 1

1

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.