]> git.donarmstrong.com Git - x_base.git/commitdiff
remap the super and multi key to the proper side
authorDon Armstrong <don@donarmstrong.com>
Mon, 12 Jun 2006 08:01:54 +0000 (08:01 +0000)
committerDon Armstrong <don@donarmstrong.com>
Mon, 12 Jun 2006 08:01:54 +0000 (08:01 +0000)
.xsession
.xsession_volo

index 6255ad4ebee2177077cf0a0ff5879bb858daa355..14d991fd297892e0f11c265578b40708945bffc0 100755 (executable)
--- a/.xsession
+++ b/.xsession
@@ -19,8 +19,8 @@ if [ "$HOSTNAME" == "archimedes" ]; then
     xset r rate 170 40
 fi;
 
-xmodmap -e 'keycode 116 = Multi_key'
-xmodmap -e 'keycode 115 = Super_L'
+xmodmap -e 'keycode 115 = Multi_key'
+xmodmap -e 'keycode 116 = Super_L'
 xmodmap -e 'clear mod4'
 xmodmap -e 'add mod4 = Super_L'
 
index 748a8a1daff30edf54a6da97eb31f577fc4e073a..86177ef6c4a7921775998847f613fc979d8f163d 100644 (file)
@@ -6,16 +6,20 @@ xset r rate 250 35
 # xmodmap -e 'clear control'
 # xmodmap -e 'add control = Control_L'
 # xmodmap -e 'add mod3 = Control_R'
-xmodmap -e 'clear lock'
-xmodmap -e 'keycode 66 = Control_L'
-xmodmap -e 'add control = Control_L'
-xmodmap -e 'keycode 62 = Alt_L'
-xmodmap -e 'clear shift'
-xmodmap -e 'add shift = Shift_L'
-xmodmap -e 'keycode 115 = Multi_key'
-xmodmap -e 'keycode 116 = Super_L'
-xmodmap -e 'clear mod4'
-xmodmap -e 'add mod4 = Super_L'
+xmodmap - <<EOF
+clear lock
+keycode 66 = Control_L
+add control = Control_L
+keycode 62 = Alt_L
+clear mod1
+add mod1 = Alt_L Alt_R
+clear shift
+add shift = Shift_L
+keycode 115 = Multi_key
+keycode 116 = Super_L
+clear mod4
+add mod4 = Super_L
+EOF
 
 
 if [ -x /usr/bin/synclient ]; then