diff options
author | root <root@jellyfish> | 2012-08-28 18:53:40 +0200 |
---|---|---|
committer | root <root@jellyfish> | 2012-08-28 18:53:40 +0200 |
commit | c8363c2b61fece6d9e51a1bdf263b9005330b14a (patch) | |
tree | 39cc0fd48902775e2743bf73d89d27fde0cbc3b5 /X11/Xsession.d/90-local-kill-touchpad | |
parent | a8f1b4fd62ed4e1f9663f4d939b222c0fc548f00 (diff) |
Add xsession snippet to kill Synaptics-compatible touchpad.
Diffstat (limited to 'X11/Xsession.d/90-local-kill-touchpad')
-rw-r--r-- | X11/Xsession.d/90-local-kill-touchpad | 9 |
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 |