Linux – syndaemon won’t disable touchpad while typing

linux-minttouchpadxinputxorg

I am trying to use syndaemon to disable my touchpad while I type. I know that the GUI for this doesn't work for many people but all the posts I've seen online suggest that using syndaemon from the command line should work. It doesn't work for me, however.

To test whether the touchpad is off while I type, I type with one hand while moving the mouse and clicking with the other. I've also tried turning on palm detection, which I test just by typing for a while and seeing if I get a touchpad click (I always do, pretty promptly).

Linux Mint 17.2 Rafaela (installed it yesterday)

Dell Inspiron 11 3000 series

  • Output of xinput list:

    > xinput list
    ⎡ Virtual core pointer                      id=2    [master pointer  (3)]
    ⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
    ⎜   ↳ DLL064D:00 06CB:2985                      id=12   [slave  pointer  (2)]
    ⎜   ↳ SynPS/2 Synaptics TouchPad                id=14   [slave  pointer  (2)]
    ⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
        ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
        ↳ Power Button                              id=6    [slave  keyboard (3)]
        ↳ Video Bus                                 id=7    [slave  keyboard (3)]
        ↳ Video Bus                                 id=8    [slave  keyboard (3)]
        ↳ Power Button                              id=9    [slave  keyboard (3)]
        ↳ Sleep Button                              id=10   [slave  keyboard (3)]
        ↳ Integrated_Webcam_HD                      id=11   [slave  keyboard (3)]
        ↳ AT Translated Set 2 keyboard              id=13   [slave  keyboard (3)]
        ↳ Dell WMI hotkeys                          id=15   [slave  keyboard (3)]
    

What I've tried so far:

  • Control Center -> Mouse -> disable touchpad while typing: no effect

  • gpointing-device-settings: shows two touchpads:

    • DLL0446:00 06CB:2985: enable palm detection -> no effect; when I disable this touchpad, my touchpad becomes unresponsive

    • SynPS/2 Synaptics Touchpad: disabled (turning it on and modifying settings seems to have no effect)

  • syndaemon: killall syndaemon; syndaemon -i 10 -K -d: no effect (also tried with -R). ps aux | egrep syndaemon shows that no other syndaemon processes are running. I have tried this with and without the "disable touchpad while typing" checkbox set in Mouse Preferences.

  • synclient: synclient PalmDetect=1 PalmMinWidth=10 PalmMinZ=200: no effect

I am at my wit's end. The solutions attempted above seem to work for everyone else! Why can't I get syndaemon to work for me?

Best Answer

This is a temporary "solution" that I created (same problem here):

Put this at the bottom of the .bashrc file in your homedir:

alias touchpadoff="xinput list | perl -ne 'system \$_ if(s/.*touchpad.*id=(\d+).*/xinput --disable \$1/i)'"
alias touchpadon="xinput list | perl -ne 'system \$_ if(s/.*touchpad.*id=(\d+).*/xinput --enable \$1/i)'"

Now you can use touchpadon and touchpadoff to turn it on/off from a terminal. This works because it always searches for the right id first.

It's pretty useless if you don't always have a terminal open, but I'm mentioning it because it helps me a bit (and I'm using until a better solution is available).

I would have placed this in a comment, where it actually belongs but the code is too long for this...