# 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" /home/urbain/xcape/xcape -e 'Control_L=Escape' /home/urbain/xcape/xcape -e 'Shift_L=Escape'