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
[–] 5 points 7 months ago

I remapped the capslock key to be third level shift ³ or fourth level ¼ if used with normal shift and in the unlikely scenario where I need capslock, I hit both shifts at the same time to toggle it.

Now I can do all sorts of neat symbols! ∞÷⍉±0≠¡⍶⍹⍷§⌾M€⍥

  • source