blob: 6b7bbb75ce1cd55606f0a5fa094da66ad5d534d3 (
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
|
# Remap dead key
xmodmap -e "keycode 94 = backslash asciicircum"
# Make caps lock a modifier
xmodmap -e "clear Lock"
xmodmap -e "keycode 66 = Control_L"
xmodmap -e "add Control = Control_L"
# New mode switch
xmodmap -e "keycode 94 = Mode_switch"
xmodmap -e "keycode 64 = Alt_L"
# Numbers
xmodmap -e "keycode 65 = space space 0"
xmodmap -e "keycode 43 = d D 0"
xmodmap -e "keycode 39 = o O 1"
xmodmap -e "keycode 58 = m M 1"
xmodmap -e "keycode 40 = e E 2"
xmodmap -e "keycode 59 = w W 2"
xmodmap -e "keycode 41 = u U 3"
xmodmap -e "keycode 60 = v V 3"
xmodmap -e "keycode 44 = h H 4"
xmodmap -e "keycode 45 = t T 5"
xmodmap -e "keycode 46 = n N 6"
xmodmap -e "keycode 30 = g G 7"
xmodmap -e "keycode 31 = c C 8"
xmodmap -e "keycode 32 = r R 9"
# Dollars, symbols hard to reach
xmodmap -e "keycode 47 = s S dollar"
xcape -e 'Control_L=Escape'
xcape -e 'Shift_L=Escape'
|