Skip to content

Instantly share code, notes, and snippets.

@m13253
Created October 30, 2015 10:33
Show Gist options
  • Save m13253/d92b96815efd19ed9b77 to your computer and use it in GitHub Desktop.
Save m13253/d92b96815efd19ed9b77 to your computer and use it in GitHub Desktop.
Xmodmap layout configuration to map an Apple Bluetooth Keyboard to standard US layout
keycode 51 = KP_Enter NoSymbol KP_Enter
keycode 64 = Super_L NoSymbol Super_L
keycode 94 = Shift_L NoSymbol Shift_L
keycode 108 = Control_R NoSymbol Control_R
keycode 128 = Super_R NoSymbol Super_R
keycode 133 = Alt_L Meta_L Alt_L Meta_L
keycode 134 = Alt_R Meta_R Alt_R Meta_R
keycode 169 = backslash bar backslash bar
keycode 170 = backslash bar backslash bar
clear Shift
clear Lock
clear Control
clear Mod1
clear Mod2
clear Mod3
clear Mod4
clear Mod5
add Shift = Shift_L Shift_R
add Lock = Caps_Lock
add Control = Control_L Control_R
add Mod1 = Alt_L Alt_R
add Mod2 = Mode_switch
add Mod4 = Super_L Super_R
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment