]> git.donarmstrong.com Git - x_base.git/blob - .xsession_volo
avoid changing down into super_l
[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 - <<EOF
10 clear lock
11 keycode 66 = Control_L
12 add control = Control_L
13 keycode 62 = Alt_L
14 clear mod1
15 add mod1 = Alt_L Alt_R
16 clear shift
17 add shift = Shift_L
18 keycode 115 = Multi_key
19 clear mod4
20 add mod4 = Super_L Super_R
21 EOF
22
23
24 if [ -x /usr/bin/synclient ]; then
25     synclient RTCornerButton=0 \
26         RBCornerButton=0 \
27         LTCornerButton=0 \
28         RTCornerButton=0 \
29         LBCornerButton=0 \
30         PalmDetect=1 \
31         VertEdgeScroll=1 \
32         LockedDrags=1 \
33         LeftEdge=0 \
34         TopEdge=0 \
35         FastTaps=1 \
36         FingerLow=14 \
37         FingerHigh=20 \
38         HorizEdgeScroll=0 \
39         MinSpeed=0.2 \
40         MaxSpeed=1.5 \
41         AccelFactor=0.25 \
42         UpDownScrolling=0 \
43         LeftRightScrolling=0 \
44         RightEdge=1500;
45 fi;
46
47 if [ -x /usr/bin/syndaemon ]; then
48     syndaemon -i 0.3 -t -d
49 fi;
50
51 if [ -x /usr/bin/gtkpbbuttons ]; then
52     gtkpbbuttons -t Crystal -d -a /dev/null
53 fi;
54
55 # if [ -x /usr/bin/feh ] && [ -r /home/don/media/pictures/shards_of_aleysa.jpg ]; then
56 #     /usr/bin/feh --bg-scale /home/don/media/pictures/shards_of_aleysa.jpg
57 # fi;
58 if [ -x /usr/bin/feh ] && [ -r /home/don/media/pictures/space_station.jpg ]; then
59     /usr/bin/feh --bg-scale /home/don/media/pictures/space_station.jpg
60 fi;