Skip to content

Instantly share code, notes, and snippets.

View kevin-ashton's full-sized avatar

Kevin Ashton kevin-ashton

  • Greater Salt Lake Area, Ut
View GitHub Profile
# See https://www.linuxquestions.org/questions/linux-newbie-8/complicated-key-remap-multiple-keys-at-once-4175485671/
# Also https://unix.stackexchange.com/questions/55076/what-is-the-mode-switch-modifier-for
# use `xev` to see what keys maps to (kind of verbose)
xset -r 133
# Super_L mapped to switching mode
xmodmap -e "keycode 133 = Mode_switch"
xmodmap -e "keycode 30 = u U Page_Down Page_Down"
xmodmap -e "keycode 31 = i I Page_Up Page_Up"