I've had a look at other questions, as well as the xkb options list (/usr/share/X11/xkb/rules/xorg.lst), but can't seem to find a way to map the caps lock key to act as another right alt key.

(On a German keyboard right alt is needed to get to square brackets, and having the otherwise useless caps lock set this way makes for way less hand-cramping typing.)

1 Answer 1


Found this

xmodmap -e "keycode 66 = ISO_Level3_Shift"

as an answer on Superuser.

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.