Skip to content

Instantly share code, notes, and snippets.

@matthewblott
Created December 6, 2021 20:30
Show Gist options
  • Save matthewblott/0c9e35664df7b66c12491c46f904e55f to your computer and use it in GitHub Desktop.
Save matthewblott/0c9e35664df7b66c12491c46f904e55f to your computer and use it in GitHub Desktop.
xmodmap: up to 4 keys per modifier, (keycodes in parentheses):
shift Shift_L (0x32), Shift_R (0x3e)
lock Caps_Lock (0x42)
control Control_L (0x25), Control_R (0x69)
mod1 Alt_L (0x40), Meta_L (0xcd)
mod2 Num_Lock (0x4d)
mod3
mod4 Super_L (0x85), Super_R (0x86), Super_L (0xce), Hyper_L (0xcf)
mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment