Skip to content

Instantly share code, notes, and snippets.

@piotrbelina
Last active August 29, 2015 13:56
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 piotrbelina/9226135 to your computer and use it in GitHub Desktop.
Save piotrbelina/9226135 to your computer and use it in GitHub Desktop.
Linux Ubuntu Mac Keyboard
clear control
clear mod4
clear mod1
keycode 37 = Super_L
keycode 64 = Control_L
keycode 133 = Alt_L Meta_L
add mod1 = Alt_L Meta_L
add control = Control_L
add control = Control_R
add mod4 = Super_L
λ ~ cat .xinitrc
#!/usr/bin/env bash
/usr/bin/xmodmap /home/bela/.Xmodmap
λ ~ cat .Xmodmap
clear control
clear mod1
clear mod4
keycode 37 = Super_L
keycode 133 = Alt_L Meta_L
keycode 64 = Control_L
add control = Control_L Control_R
add mod1 = Alt_L Meta_L
add mod4 = Super_L
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment