about summary refs log tree commit diff
path: root/configs/shared/x_server/.xsessionrc.shared
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2019-03-18T15·56+0000
committerWilliam Carroll <wpcarro@gmail.com>2019-03-18T15·56+0000
commit14972986e3e247ad20954f2450e1acc7ff476b9e (patch)
tree29aff305f3341604d8cfbec08ee6fad5adf9d9b5 /configs/shared/x_server/.xsessionrc.shared
parent61b40b301209644e2d695ec69bdbed762c9b3c9a (diff)
Break .xsessionrc into .xsessionrc.{shared,device}
This allows configuration for device specific settings - usually or
perhaps exclusively hardware related. Supporting disabling laptop
touchscreen, increasing laptop cursor speed, reversing the scroll
direction of the laptop mouse.
Diffstat (limited to 'configs/shared/x_server/.xsessionrc.shared')
-rw-r--r--configs/shared/x_server/.xsessionrc.shared22
1 files changed, 22 insertions, 0 deletions
diff --git a/configs/shared/x_server/.xsessionrc.shared b/configs/shared/x_server/.xsessionrc.shared
new file mode 100644
index 000000000000..996b57054010
--- /dev/null
+++ b/configs/shared/x_server/.xsessionrc.shared
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+source ~/.profile
+
+export DESKTOP_SESSION=cinnamon  # gnome for trusty.
+
+# NOTE: This may break your compose key.
+# See http://g/i3-users/YBexXGbik7E for more details.
+export GTK_IM_MODULE=xim
+
+# Desktop background color.
+xsetroot -solid "#333333"
+
+# start the urxvt daemon
+urxvtd -q -f -o
+
+# set kbds
+xmodmap -e 'remove Lock = Caps_Lock'
+xmodmap -e 'keysym Caps_Lock = Escape'
+
+# set key repeat preferences
+xset r rate 250 60