-
Notifications
You must be signed in to change notification settings - Fork 1
/
Xmodmap
54 lines (41 loc) · 1.72 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
49
50
51
52
53
! http://wiki.linuxquestions.org/wiki/List_of_Keysyms_Recognised_by_Xmodmap
! http://www.in-ulm.de/~mascheck/X11/xmodmap.html
! https://wiki.archlinux.org/index.php/Xmodmap
! keycode, keysym-order
! 1. Key
! 2. Shift+Key
! 3. mode_switch+Key
! 4. mode_switch+Shift+Key
! 5. AltGr+Key
! 6. AltGr+Shift+Key
!clear Lock
clear control
clear mod1
clear mod4
! keyboard layout last row : Alt_L Mod4 Ctrl_L Spacebar Alt_L Fn AltGr
keycode 37 = Alt_L Meta_L Alt_L Meta_L
keycode 64 = Control_L NoSymbol Control_L NoSymbol Control_L
keycode 108 = Alt_L Meta_L Alt_L Meta_L
keycode 105 = ISO_Level3_Shift NoSymbol ISO_Level3_Shift NoSymbol ISO_Level3_Shift
! rotate SPACE AltGr Control_R 1 step to the left
! 65 spacebar will default to AltGr + using xcape to generate space when tapped
!keycode 65 = ISO_Level3_Shift NoSymbol ISO_Level3_Shift NoSymbol ISO_Level3_Shift
! 108 AltrGr-key will be an easy to reach Ctrl
!keycode 108 = Control_R NoSymbol Control_R NoSymbol Control_R
! 105 Control_R-key will be an emergency space if xcape stops
!keycode 105 = space space space space space nobreakspace space
! rotate 1 to the left for Control_L, Super_L, Alt_L
! allows thumb for ctrl/alt
!keycode 37 = Super_L NoSymbol Super_L NoSymbol Super_L Super_L
!keycode 133 = Alt_L Meta_L Alt_L Meta_L
!keycode 64 = Control_L NoSymbol Control_L
! switch space and Control_R, generate space on spacebar tap with xcape
!keycode 65 = Control_R NoSymbol Control_R NoSymbol Control_R
!keycode 105 = space space space space space nobreakspace space
keycode 62 = ISO_Level2_Latch NoSymbol Shift_R NoSymbol Shift_R Shift_R
!keycode 23 = Escape
clear Lock
keycode 9 = Escape
add control = Control_L Control_R
add mod1 = Alt_L Meta_L
add mod4 = Super_L Super_R Hyper_L