]> git.donarmstrong.com Git - x_base.git/blob - .xsession_volo
Use the right keys for control and alt
[x_base.git] / .xsession_volo
1 #-*- mode: sh; -*-
2 HOSTNAME=$(hostname)
3
4 # Return to sane autokey rates (not glacially slow ones)
5 xset r rate 250 35
6 # xmodmap -e 'clear control'
7 # xmodmap -e 'add control = Control_L'
8 # xmodmap -e 'add mod3 = Control_R'
9 xmodmap -e 'clear lock'
10 xmodmap -e 'keycode 66 = Control_L'
11 xmodmap -e 'add control = Control_L'
12 xmodmap -e 'keycode 62 = Alt_L'
13 xmodmap -e 'clear shift'
14 xmodmap -e 'add shift = Shift_L'
15 xmodmap -e 'keycode 115 = Multi_key'
16 xmodmap -e 'keycode 116 = Super_L'
17 xmodmap -e 'clear mod4'
18 xmodmap -e 'add mod4 = Super_L'
19
20
21 if [ -x /usr/bin/synclient ]; then
22     synclient RTCornerButton=0 \
23         RBCornerButton=0 \
24         LTCornerButton=0 \
25         LockedDrags=1 \
26         RightEdge=1500;
27 fi;
28
29 if [ -x /usr/bin/syndaemon ]; then
30     syndaemon -i 0.3 -t -d
31 fi;
32
33 if [ -x /usr/bin/gtkpbbuttons ]; then
34     gtkpbbuttons -t Crystal -d;
35 fi;
36
37 if [ -x /usr/bin/feh ] && [ -r /home/don/media/pictures/shards_of_aleysa.jpg ]; then
38     /usr/bin/feh --bg-scale /home/don/media/pictures/shards_of_aleysa.jpg
39 fi;