-
Notifications
You must be signed in to change notification settings - Fork 2
/
.Xmodmap
48 lines (46 loc) · 1.87 KB
/
.Xmodmap
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
! These changes removes Caps_Lock functionality, replacing it with Hyper_L.
! Hyper_L is then added to mod3, which is the main mod key used in my i3 config.
clear lock
! clear mod1
clear mod2
clear mod3
clear mod4
clear mod5
keycode 66 = Hyper_L NoSymbol Hyper_L
add mod2 = Super_L
add mod3 = Hyper_L
add mod4 = Super_R
add mod5 = Hyper_R
! #### Display Structure ####
! keycode ## = keysym1 keysym2 keysym3 keysym4 keysym5 keysym6
! keysym1 - Key
! keysym2 - Shift+Key
! keysym3 - Mode_switch+Key
! keysym4 - Mode_switch+Shift+Key
! keysym5 - ISO_Level3_Shift+Key
! keysym6 - ISO_Level3_Shift+Shift+Key
! #### ORIGINAL KEYCODES - DO NOT CHANGE IN CASE RESETTING IS NEEDED ####
! from $ xmodmap -pke | egrep -e '(Meta|Super|Hyper|Mode|ISO)'
! keycode 23 = Tab ISO_Left_Tab Tab ISO_Left_Tab
! keycode 64 = Alt_L Meta_L Alt_L Meta_L
! keycode 66 = Caps_Lock NoSymbol Caps_Lock
! keycode 82 = KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract KP_Subtract XF86Prev_VMode
! keycode 86 = KP_Add KP_Add KP_Add KP_Add KP_Add KP_Add XF86Next_VMode
! keycode 92 = ISO_Level3_Shift NoSymbol ISO_Level3_Shift
! keycode 100 = Henkan_Mode NoSymbol Henkan_Mode
! keycode 108 = Alt_R Meta_R Alt_R Meta_R
! keycode 133 = Super_L NoSymbol Super_L
! keycode 134 = Super_R NoSymbol Super_R
! keycode 203 = Mode_switch NoSymbol Mode_switch
! keycode 205 = NoSymbol Meta_L NoSymbol Meta_L
! keycode 206 = NoSymbol Super_L NoSymbol Super_L
! keycode 207 = NoSymbol Hyper_L NoSymbol Hyper_L
! #### ORIGINAL MOD MAP - DO NOT CHANGE IN CASE RESETTING IS NEEDED ####
! shift Shift_L (0x32), Shift_R (0x3e)
! lock Caps_Lock (0x42)
! control Control_L (0x25), Control_R (0x69)
! mod1 Alt_L (0x40), Alt_R (0x6c), Meta_L (0xcd)
! mod2 Num_Lock (0x4d)
! mod3
! mod4 Super_L (0x85), Super_R (0x86), Super_L (0xce), Hyper_L (0xcf)
! mod5 ISO_Level3_Shift (0x5c), Mode_switch (0xcb)