Skip to content

Instantly share code, notes, and snippets.

@MikePearce
Last active December 23, 2015 14:29
Show Gist options
  • Save MikePearce/6648943 to your computer and use it in GitHub Desktop.
Save MikePearce/6648943 to your computer and use it in GitHub Desktop.
Contents of ~/.Xmodmap. This allows the Ubuntu key mappings to behave (sort of) like OSX.
remove control = Control_L
remove mod4 = Super_L Super_R
keysym Control_L = Super_L
keysym Super_L = Control_L
keysym Super_R = Control_L
add control = Control_L Control_R
add mod4 = Super_L Super_R
pointer = 1 2 3 5 4 6 7 8 9 10 11 12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment