Trust me you want to do this:

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

  • lattrommi@lemmy.ml
    link
    fedilink
    English
    arrow-up
    4
    ·
    1 day 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€⍥