Skip to content

Instantly share code, notes, and snippets.

@psanford
Created May 1, 2011 20:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save psanford/950841 to your computer and use it in GitHub Desktop.
Save psanford/950841 to your computer and use it in GitHub Desktop.
macbook xmodmap
! xmodmap for my macbook pro (7,1) running linux
! command should act as meta
! caps and option sould act as super
! command
keycode 133 = Meta_L
! option
keycode 64 = Super_L
!capslock
keycode 66 = Super_L
clear lock
clear mod1
clear mod4
! bind command to meta
add mod1 = Meta_L
! bind option and caps to super
add mod4 = Super_L Caps_Lock
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment