blob: 22d2ac6d03023770427eb27584087a87488cc4df (
plain)
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
|
! -*- Mode: Xmodmap -*-
! Notes on the syntax:
! - The RHS of keycode/keysym commands is:
! normal [Shift [Mode_switch [Shift+Mode_switch]]]
! - The modifiers are (non-caps sensitive):
! 0: Shift
! 1: Lock
! 2: Control
! 3-7: Mod{1-5}
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! My desktop doesn't have a super key, so I map Caps_Lock to Super_L
! Also, use Caps_Lock for the compose key
!
! Don't bother `remove lock = Caps_Lock`; it will get reset
! approprately by the modifier reset below.
keysym Caps_Lock = Super_L Multi_key
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
! The default modifier list is dumb. Wipe it and do something
! sensible.
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 = Num_Lock
add mod2 = Alt_L Alt_R Meta_L Meta_R
add mod3 = ISO_Level3_Shift
add mod4 = Super_L Super_R
add mod5 = Hyper_L Hyper_R
|