Trust me you want to do this:

#!/bin/bash
# Remap Caps Lock to F11
xmodmap -e "keycode 66 = F11"
xmodmap -e "clear Lock"

you are viewing a single comment's thread
view the rest of the comments
[–] 3 points 7 months ago

Mine is remapped to Ctrl since I use that way more often.

  • source