summaryrefslogtreecommitdiff
path: root/xmodmap
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2015-07-31 16:37:34 +0200
committerUrbain Vaes <urbain@vaes.uk>2015-07-31 16:37:34 +0200
commitd210017b008d8e7536e43f8b877e9e882f7cb23f (patch)
treeb182f3a21e57c19849eee176609276567c8fa132 /xmodmap
parent584786ec7183cb14f8982604f8077877481d7901 (diff)
Map alt-gr to alt
Diffstat (limited to 'xmodmap')
-rwxr-xr-xxmodmap5
1 files changed, 3 insertions, 2 deletions
diff --git a/xmodmap b/xmodmap
index 2c2fd7e..bc855c8 100755
--- a/xmodmap
+++ b/xmodmap
@@ -29,9 +29,10 @@ 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 to alt
-# xmodmap -e 'clear mod5'
-# xmodmap -e 'add mod1 = Mode_switch'
+xmodmap -e 'clear mod5'
+xmodmap -e 'keycode 108 = Alt_L'