X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=.xsession;h=340c14b5c515776997272bcb93bfc8c399b63289;hb=6223b00c8a1536d02bfe8327c3de7e46eecb6531;hp=505bfc2ce4ce0515dc10e75c843b0de6385c2fd0;hpb=36dda446cfa0481d1dd5ac96eb6199275864a987;p=x_base.git diff --git a/.xsession b/.xsession index 505bfc2..340c14b 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 +# 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 'keycode 115 = Multi_key' -xmodmap -e 'keycode 116 = Super_L' 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;