]> git.donarmstrong.com Git - x_base.git/blobdiff - .xsession_archimedes
* fixup linking to current xsession-errors file
[x_base.git] / .xsession_archimedes
index 3748c936c14588e72a5860bb851ccb0b2c2ec0bb..132c6e5478b0df927ceedfa7d97695ce36b35a71 100644 (file)
@@ -1,16 +1,17 @@
 #-*- mode: sh; -*-
-HOSTNAME=$(hostname)
-
 xrandr --output DVI0 --right-of VGA2
 
 xmodmap -e 'keycode 158 = XF86AudioRaiseVolume'
 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'
+    xmodmap -e 'keycode 115 = Multi_key'
+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