diff options
author | Urbain Vaes <urbain@vaes.uk> | 2015-08-08 17:14:00 +0200 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2015-08-08 17:14:00 +0200 |
commit | 62dfde5e0c106e1466cf8353fbc766efb0e9ecc1 (patch) | |
tree | 1fb6ee76ad6b921d94c7edfa2e969ae3744d0dd1 /xmodmap | |
parent | 2c21f6f38a6b6947c1547675fe2d0483813b7df7 (diff) |
Make xmodmap keyboard-agnostic
Diffstat (limited to 'xmodmap')
-rwxr-xr-x | xmodmap | 41 |
1 files changed, 0 insertions, 41 deletions
diff --git a/xmodmap b/xmodmap deleted file mode 100755 index e2a5d65..0000000 --- a/xmodmap +++ /dev/null @@ -1,41 +0,0 @@ -# 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" - -# Make Control_L and Shift_L work as "Escape" -xcape -e 'Control_L=Escape' -xcape -e 'Shift_L=Escape' - -# Map alt-gr and space to alt -xmodmap -e 'clear mod5' -xmodmap -e 'keycode 108 = Alt_L' -xmodmap -e 'keycode 65 = Alt_L' -xmodmap -e 'keycode any = space' -xcape -e 'Alt_L=space' |