]> git.donarmstrong.com Git - x_base.git/blobdiff - .xsession_jax
add jax configuration
[x_base.git] / .xsession_jax
diff --git a/.xsession_jax b/.xsession_jax
new file mode 100644 (file)
index 0000000..9b08799
--- /dev/null
@@ -0,0 +1,56 @@
+#-*- mode: sh; -*-
+HOSTNAME=$(hostname)
+
+# Return to sane autokey rates (not glacially slow ones)
+xset r rate 250 35
+# xmodmap -e 'clear control'
+# xmodmap -e 'add control = Control_L'
+# xmodmap -e 'add mod3 = Control_R'
+xmodmap - <<EOF
+clear lock
+keycode 66 = Control_L
+add control = Control_L
+keycode 62 = Alt_L
+clear mod1
+add mod1 = Alt_L Alt_R
+clear shift
+add shift = Shift_L
+keycode 115 = Multi_key
+keycode 116 = Super_L
+clear mod4
+add mod4 = Super_L
+EOF
+
+
+if [ -x /usr/bin/synclient ]; then
+    synclient RTCornerButton=0 \
+       RBCornerButton=0 \
+       LTCornerButton=0 \
+       LockedDrags=1 \
+       LeftEdge=0 \
+       TopEdge=0 \
+       FastTaps=1 \
+        FingerLow=14 \
+       FingerHigh=20 \
+       VertEdgeScroll=0 \
+       HorizEdgeScroll=0 \
+       MinSpeed=0.2 \
+       MaxSpeed=1.5 \
+       AccelFactor=0.25 \
+       UpDownScrolling=0 \
+       LeftRightScrolling=0 \
+       PalmDetect=0 \
+       RightEdge=1500;
+fi;
+
+if [ -x /usr/bin/syndaemon ]; then
+    syndaemon -i 0.3 -t -d
+fi;
+
+if [ -x /usr/bin/gtkpbbuttons ]; then
+    gtkpbbuttons -t Crystal -d -a /dev/null
+fi;
+
+if [ -x /usr/bin/feh ] && [ -r /home/don/media/pictures/shards_of_aleysa.jpg ]; then
+    /usr/bin/feh --bg-scale /home/don/media/pictures/shards_of_aleysa.jpg
+fi;