-
Notifications
You must be signed in to change notification settings - Fork 1
/
Xmodmap
37 lines (31 loc) · 874 Bytes
/
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
! !! Switch Caps_lock and escape key
! clear Lock
! clear Control
! clear Mod4
! ! keycode 9 = Caps_Lock
! ! keycode 66 = Escape
! keycode 9 = Escape
! keycode 66 = Escape
! keycode 134 = Caps_Lock
! add Lock = Caps_Lock
! add Control = Control_L Control_R
! add Mod4 = Super_L Super_R
! keycodes: 9 = Echap, 66 = capslock, 37 = Control_L, 134 = Super_L
!! Swap Caps_Lock and Control_L
! remove Lock = Caps_Lock
! remove Control = Control_L
! keysym Control_L = Caps_Lock
! keysym Caps_Lock = Control_L
! add Lock = Caps_Lock
! add Control = Control_L
!! Compose -> CTRL R
keycode 105 = Multi_key
!! Deactivate mod2 (numlock)
!!clear mod2
! keycode 160 = XF86AudioMute
! keycode 176 = XF86AudioRaiseVolume
! keycode 174 = XF86AudioLowerVolume
! keycode 144 = XF86AudioPrev
! keycode 162 = XF86AudioPlay
! keycode 153 = XF86AudioNext
! keycode 204 = XF86Eject