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