]> git.donarmstrong.com Git - x_base.git/blob - .xsession_jax
add jax configuration
[x_base.git] / .xsession_jax
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         LockedDrags=1 \
30         LeftEdge=0 \
31         TopEdge=0 \
32         FastTaps=1 \
33         FingerLow=14 \
34         FingerHigh=20 \
35         VertEdgeScroll=0 \
36         HorizEdgeScroll=0 \
37         MinSpeed=0.2 \
38         MaxSpeed=1.5 \
39         AccelFactor=0.25 \
40         UpDownScrolling=0 \
41         LeftRightScrolling=0 \
42         PalmDetect=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;