summaryrefslogtreecommitdiff
path: root/xmodmap
blob: 4f2543beba73171cb0e4bf76865981f4855ed69e (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
# 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"

# 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"

/home/urbain/xcape/xcape -e 'Control_L=Escape'
/home/urbain/xcape/xcape -e 'Shift_L=Escape'