]> git.donarmstrong.com Git - x_base.git/blob - .xsession_volo
* switch to space station
[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 keycode 116 = Super_L
20 clear mod4
21 add mod4 = Super_L
22 EOF
23
24
25 if [ -x /usr/bin/synclient ]; then
26     synclient RTCornerButton=0 \
27         RBCornerButton=0 \
28         LTCornerButton=0 \
29         RTCornerButton=0 \
30         LBCornerButton=0 \
31         PalmDetect=1 \
32         VertEdgeScroll=1 \
33         LockedDrags=1 \
34         LeftEdge=0 \
35         TopEdge=0 \
36         FastTaps=1 \
37         FingerLow=14 \
38         FingerHigh=20 \
39         HorizEdgeScroll=0 \
40         MinSpeed=0.2 \
41         MaxSpeed=1.5 \
42         AccelFactor=0.25 \
43         UpDownScrolling=0 \
44         LeftRightScrolling=0 \
45         RightEdge=1500;
46 fi;
47
48 if [ -x /usr/bin/syndaemon ]; then
49     syndaemon -i 0.3 -t -d
50 fi;
51
52 if [ -x /usr/bin/gtkpbbuttons ]; then
53     gtkpbbuttons -t Crystal -d -a /dev/null
54 fi;
55
56 # if [ -x /usr/bin/feh ] && [ -r /home/don/media/pictures/shards_of_aleysa.jpg ]; then
57 #     /usr/bin/feh --bg-scale /home/don/media/pictures/shards_of_aleysa.jpg
58 # fi;
59 if [ -x /usr/bin/feh ] && [ -r /home/don/media/pictures/space_station.jpg ]; then
60     /usr/bin/feh --bg-scale /home/don/media/pictures/space_station.jpg
61 fi;