X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=.xsession;h=7723cc430363b6a2d4de0fc80d628c8c2d811932;hb=15be4bb0a5f0047bd2f1fac454363683b1f4d501;hp=505bfc2ce4ce0515dc10e75c843b0de6385c2fd0;hpb=1bdded2c32a0bcc058573964671f72ce551a054a;p=x_base.git diff --git a/.xsession b/.xsession index 505bfc2..7723cc4 100755 --- a/.xsession +++ b/.xsession @@ -15,16 +15,13 @@ if [ -d ~/tmp ]; then export TMPDIR=$(echo ~/tmp) fi; -if [ "$HOSTNAME" == "archimedes" ]; then - xmodmap -e 'keycode 158 = XF86AudioRaiseVolume' - xmodmap -e 'keycode 146 = XF86AudioLowerVolume' - xset r rate 170 40 -fi; - 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' if [ -e ~/.Xresources_$HOSTNAME ]; then xrdb -merge < ~/.Xresources_$HOSTNAME;