]> git.donarmstrong.com Git - x_base.git/blobdiff - .xsession_archimedes
avoid changing down into super_l
[x_base.git] / .xsession_archimedes
index 3748c936c14588e72a5860bb851ccb0b2c2ec0bb..7ba5103440e771e6733ebdd55d25e009866c6fce 100644 (file)
@@ -1,6 +1,4 @@
 #-*- mode: sh; -*-
-HOSTNAME=$(hostname)
-
 xrandr --output DVI0 --right-of VGA2
 
 xmodmap -e 'keycode 158 = XF86AudioRaiseVolume'
@@ -8,9 +6,12 @@ xmodmap -e 'keycode 146 = XF86AudioLowerVolume'
 xset r rate 170 40
 
 xmodmap -e 'keycode 115 = Multi_key'
-xmodmap -e 'keycode 116 = Super_L'
+# No clue why this has changed from Alt_R to Down, but we really want Down.
+if ! xmodmap -pk|grep -qe '116.*Down'; then
+    xmodmap -e 'keycode 116 = Super_L'
+fi;
 xmodmap -e 'clear mod4'
-xmodmap -e 'add mod4 = Super_L'
+xmodmap -e 'add mod4 = Super_L Super_R'
 
 #Red  1.300, Green  1.300, Blue  1.150
 xgamma -rgamma 1.3  -ggamma 1.3 -bgamma  1.15