Last active
May 8, 2017 15:20
-
-
Save priyadarshan/765be65d7eed192e1fd373b1d7160862 to your computer and use it in GitHub Desktop.
Change keyboard to have C-M-S and Hyper
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
! To reset: | |
! setxkbmap -layout us | |
! Alt -> Ctrl | |
! Win -> Meta | |
! Ctrl -> Super | |
! Caps-lock -> Hyper | |
clear Lock | |
clear Control | |
clear Mod1 | |
clear Mod4 | |
clear Mod5 | |
keycode 0x09 = Escape NoSymbol Escape | |
keycode 0x6F = Print Sys_Req Print Sys_Req | |
keycode 0x42 = Hyper_L NoSymbol Hyper_L | |
keycode 0x3E = Shift_R ISO_Next_Group Shift_R ISO_Next_Group | |
keycode 0x25 = Super_L NoSymbol Super_L | |
keycode 0x73 = Meta_L NoSymbol Meta_L | |
keycode 0x40 = Control_L NoSymbol Control_L | |
keycode 0x41 = space NoSymbol space | |
keycode 0x71 = Alt_R Meta_R Alt_R Meta_R | |
keycode 0x74 = Super_R NoSymbol Super_R | |
keycode 0x75 = Menu NoSymbol Menu | |
keycode 0x6D = Control_R NoSymbol Control_R | |
! Alt_R gives èàùòìé œ ae ™ etc | |
keycode 113 = Multi_key | |
add Control = Control_L | |
add Mod1 = Meta_L 0x009C | |
add Mod3 = Hyper_L | |
add Mod4 = Super_L 0x007F 0x0080 | |
add Mod5 = Mode_switch ISO_Level3_Shift |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment