From c8363c2b61fece6d9e51a1bdf263b9005330b14a Mon Sep 17 00:00:00 2001 From: root Date: Tue, 28 Aug 2012 18:53:40 +0200 Subject: Add xsession snippet to kill Synaptics-compatible touchpad. --- X11/Xsession.d/90-local-kill-touchpad | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 X11/Xsession.d/90-local-kill-touchpad (limited to 'X11') 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 -- cgit v1.2.3