-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathXmodmap
37 lines (28 loc) · 1.49 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
! mode:-*-conf-xdefaults-*-
!Run e.g. "xmodmap -pke | grep backslash" to see info about key with backslash. Run xev in terminal to see which code a key has (or search one of the signs of it with xmodmap -pke | grep "sign")
!syntax is
! Swap Caps_Lock and Control_L
remove Lock = Caps_Lock
remove Control = Control_L
keysym Caps_Lock = Control_L
add Control = Control_L
!keycode [tal] = [key] [key+shift] [key+mod] [key+mod+shift] [key+AltGr] [key+shift+AltGr]
keycode 47 = odiaeresis Odiaeresis NoSymbol NoSymbol bracketleft oslash
keycode 48 = adiaeresis Adiaeresis NoSymbol NoSymbol bracketright ae
keycode 51 = apostrophe asterisk NoSymbol NoSymbol backslash multiply
keycode 59 = comma semicolon NoSymbol NoSymbol braceleft less
keycode 60 = period colon NoSymbol NoSymbol braceright greater
keycode 61 = minus underscore NoSymbol NoSymbol dollar slash
keycode 65 = space space NoSymbol NoSymbol space space
keycode 166 = Next NoSymbol NoSymbol NoSymbol XF86Back XF86Back
keycode 167 = Prior NoSymbol NoSymbol NoSymbol XF86Forward XF86Forward
! For optimal kinesis advantage layout:
!--------------------------------------
! "altGr" + "i", "o" --> "{", "}"
keycode 31 = i I i I braceleft NoSymbol
keycode 32 = o O o O braceright NoSymbol
! altgr + "p" --> "~", asciitilde better than dead_tilde
keycode 33 = p P p P asciitilde NoSymbol
! altgr + "k" / "l" --> "<" / ">"
keycode 45 = k K k K less
keycode 46 = l L l L greater