xpra icon
Bug tracker and wiki

Ticket #1607: .xmodmap

File .xmodmap, 1.5 KB (added by chaanakya, 3 years ago)

My xmodmap configuration

Line 
1!
2! Swap Control and Caps Lock keys - now done by setxkbmap
3!
4! remove Lock = Caps_Lock
5! remove Control = Control_L
6! keysym Control_L = Caps_Lock
7! keysym Caps_Lock = Control_L
8! add Lock = Caps_Lock
9! add Control = Control_L
10!
11! Swap Shift and Super keys
12!
13remove Shift = Shift_R
14remove Mod4 = Super_L
15keysym Shift_R = Super_L
16keysym Super_L = Shift_R
17add Shift = Shift_R
18add Mod4 = Super_L
19!
20! Menu = Alt_GR
21!
22keycode 135 = ISO_Level3_Shift NoSymbol ISO_Level3_Shift NoSymbol
23!
24! Swap plus and equals
25!
26keycode 21 = plus equal plus equal
27!
28! Swap numbers and symbols
29!
30keycode 10 = exclam 1 exclam 1
31keycode 11 = at 2 at 2
32keycode 12 = numbersign 3 numbersign 3
33keycode 13 = dollar 4 dollar 4
34keycode 14 = percent 5 percent 5
35keycode 15 = asciicircum 6 asciicircum 6
36keycode 16 = ampersand 7 ampersand 7
37keycode 17 = asterisk 8 asterisk 8
38keycode 18 = parenleft 9 parenleft 9
39keycode 19 = parenright 0 parenright 0
40! keycode 135 = Escape NoSymbol Escape
41! keycode 9 = Menu NoSymbol Menu
42keycode 114 = Left NoSymbol Left
43keycode 113 = Right NoSymbol Right
44keycode 111 = Down NoSymbol Down
45keycode 116 = Up NoSymbol Up
46keycode 80 = KP_Down KP_8 KP_Down KP_8
47keycode 83 = KP_Right KP_4 KP_Right KP_4
48keycode 85 = KP_Left KP_6 KP_Left
49keycode 88 = KP_Up KP_2 KP_Up KP_2
50keycode 34 = braceleft bracketleft braceleft bracketleft
51keycode 35 = braceright bracketright braceright bracketright
52remove mod1 = Alt_R
53keycode 108 = grave asciitilde
54keycode 49 = Alt_R NoSymbol Alt_R
55add mod1 = Alt_R