Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I find that my touchpad's palm detection is pretty awful. I have set it to the minimum sensitivity not ruining my touchpad use (PalmMinWidth=5, PalmMinZ=1), and I still get random bumps whenever I type on my keyboard.

I'd rather use palm detection than disable keyboard while typing because I find that the keyboard is disabled for too long a period (i.e., I'm done typing and I have to wait 2 seconds before using the keyboard again, which is annoying). A possible strategy would be to reduce this delay, although I'm not sure if the touchpad would stay usable (if you know how to do this, post it, better than nothing :).

Whenever I use windows, I find I'm not having so much trouble with the touchpad, so there must be a way to improve palm detection?

Lastly, I'm running Debian testing 64 bits on linux kernel 3.2.0-rc7.

share|improve this question

I've had similar problems and found the answer on this blog to be fairly complete and have copied over the relevant details:

Set up palm detection:

Turn on palm detection, in a terminal type:

$ synclient PalmDetect=1

Set the maximum width that should be interpreted as a finger instead of a palm. I choose 4, most how-tos use 10, it's good to do a bit of guess and test here:

$ synclient PalmMinWidth=4

Then, set the minimum height of a palm vs a finger:

$ synclient PalmMinZ=50 

Finally, under Ubuntu, 3 finger middle click is not enabled by default, so if you want to enable it use:

$ synclient TapButton2=3 TapButton3=2

In theory, this should enable 2 finger tap for middle click, and 3 finger tap for right click, but in Ubuntu 13.04 the resulting behavior is exactly the opposite. Therefore, if you prefer 2 finger tap for middle click use:

$ synclient TapButton2=2 TapButton3=3 

To make this permanent once you have found the correct settings, save them into 50-synaptics.conf which is located at /usr/share/X11/xorg.conf.d/50-synaptics.confin Debian/Ubuntu (Semplice) and at /etc/X11/xorg.conf.d/50-synaptics.conf in Arch Linux based distros, (the first "InputClass" part is for the multi-touch middle click fix, which is already enabled in Arch so you shouldn't need to add it):

Section "InputClass"
    Identifier "touchpad catchall"
    Driver "synaptics"
    MatchIsTouchpad "on"
    MatchDevicePath "/dev/input/event*"
    Option "TapButton1" "1"
    Option "TapButton2" "2"
    Option "TapButton3" "3"
    Option "HorizTwoFingerScroll" "on"
    Option "VertTwoFingerScroll" "on"

#synclient PalmDetect=1
Option "PalmDetect" "1"
#synclient PalmMinWidth=4
Option "PalmMinWidth" "4"
#synclient PalmMinZ=50
Option "PalmMinZ" "50"

Temporarily turning the touch-pad off while typing:

Instead of using synclient commands, use syndaemon:

$ syndaemon -K -i 0.5 -R -d 

The arch wiki claims that if you save this command to your ~/.xinitrc file to have it executed automatically at your next log-in. However when I did this I was unaware that the command must happen before the launch of the desktop (exec DESKTOP.session command). After playing around with a ton of other config files and learning a ton about the SLiM display manager I finally realized that the command just needed to be moved further up the file as commands after the desktop launch wont be run until the desktop is quit.

share|improve this answer

I found the way to modify the length of time during which the touchpad is disabled while typing. For anyone else out there looking for it here it is :

Note: a google search yields the answer quickly enough

Just run the program syndaemon -d and add as an option -i wait_time where wait_time is the length of time to wait before re-enabling the touchpad. Other useful parameters to give syndaemon include -K to never disable the touchpad when the keystrokes are of the format modifier+key and -t to only disable clicks and not mouse movements.

So, in my case, I added the following to a script I run on login:

#Get rid of previous syndaemon
killall syndaemon
#More aggressive behavior, allow for mod+key combos, enable mouse movements
syndaemon -i 0.2 -K -t -d

With all these modifications, especially the -t flag, I can live with the touchpad as it is for now!

share|improve this answer
I'm finding I need -t at least (-t Only disable tapping and scrolling, not mouse movements, in response to keyboard activity) or else I've driven crazy. I'm on Fedora 16. How do you make your changes permanent? – Philip Durbin Apr 14 '12 at 1:36
@PhilipDurbin I put them in a script that is called upon booting (using gnome-session-properties), but I need to do it for each user. The more traditional way is to put them in an xorg.conf file, but I couldn't find a way to set the syndaemon options in it, only the synclient options. – levesque Sep 14 '12 at 20:47

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.