summaryrefslogtreecommitdiff
path: root/X11
diff options
context:
space:
mode:
authorroot <root@jellyfish>2012-08-28 18:53:40 +0200
committerroot <root@jellyfish>2012-08-28 18:53:40 +0200
commitc8363c2b61fece6d9e51a1bdf263b9005330b14a (patch)
tree39cc0fd48902775e2743bf73d89d27fde0cbc3b5 /X11
parenta8f1b4fd62ed4e1f9663f4d939b222c0fc548f00 (diff)
Add xsession snippet to kill Synaptics-compatible touchpad.
Diffstat (limited to 'X11')
-rw-r--r--X11/Xsession.d/90-local-kill-touchpad9
1 files changed, 9 insertions, 0 deletions
diff --git a/X11/Xsession.d/90-local-kill-touchpad b/X11/Xsession.d/90-local-kill-touchpad
new file mode 100644
index 0000000..392410e
--- /dev/null
+++ b/X11/Xsession.d/90-local-kill-touchpad
@@ -0,0 +1,9 @@
+# Turn off Synaptics-compatible touchpad globally or per session
+#
+# Depends: xserver-xorg-input-synaptics
+
+if [ -x /usr/bin/synclient ]; then
+ if [ -e /etc/kill-touchpad ] || [ -e $HOME/.kill-touchpad ]; then
+ synclient TouchpadOff=1
+ fi
+fi