For some awful reason, palm detect is off by default, even though it appears to be on in the system settings. The problem occurs while I’m typing lots of code, or responding to an email. I’ll be typing along. not paying close attention to where my cursor is. All of a sudden, everything I just typed, highlights in the midst of me typing, and disappears because my cursor just selected everything and erased it.
After weeks of trying different start up scripts, and changing different settings, I think I have finally come to a conclusion on this issue. Here are the steps I took to fix this:
First you need to figure out what type of touch pad device you are using according to xinput. This is done by running:
xinput list

Look for the keyword ‘touchpad’.
Copy the entire text with the word touchpad in it. This is the name of your touchpad device, as far as Ubuntu is concerned.Make note of the ‘id’
Now list the properties of your touchpad with the command:
xinput list-props [touchpad name]
xinput list-props {id}
You’re looking for 2 lines here, Palm Detection and Palm Dimensions. As you can see, my Palm Detection is already set to 1, and Palm Dimensions are already set to small numbers. These are the things you’re looking to change.
To change these settings, you want to type into terminal:
xinput set-prop "[device name]" "Synaptics Palm Detection" 1
xinput set-prop {id} "Synaptics Palm Detection" 1
xinput set-prop "{id}" "Synaptics Palm Dimensions" 5, 5
Obviously, replace the [device name] with you’re specific device name, and also replace “Synaptics Palm Dimensions” with whatever is in your terminal. Mine was defaulted at 10, 100 for palm dimensions, which wasn’t even close to right. You’re going to want to keep running setting the palm dimensions until you find something that works for your specific touchpad.
You’re almost done. Once you find the settings that work for you, you’re going to want to save these settings so they don’t get reset to what they were before on your next restart. This is done by opening your Dash menu (super button). Type: Start, and click Startup Applications.
Once you have this window open, click Add.
You can set the name to be whatever you’d like. I’d suggest making it simple so you remember what that command is. In the command box, you paste your command that you have found works for your palm detect. You’ll want to do this for Palm Detect and for Palm Dimensions.
Now restart your computer and test. You can see if the changes took by running the xinput list-props [device] command again and seeing if your new settings are there.
I hope this helps you, please comment where it does or not.





Thank you. The touchpad was the only annoying thing with my ASUS UX31A. Now, with your workaround, it’s nearly the best computer I can imagine.
Thanks, though it does not work for my xps13 9343
What version of Ubuntu are you running on your xps13 9343 ?
You should be able to set this with synclient and have the changes persisted via xorg config instead.
I have tried this on a Thinkpad X1 Carbon, running Mint 17.1 Cinnamon, and an Alienware 17 (2015; Gtx 970M) running Ubuntu 14.04! And surprisingly it makes absolutely no difference, compared when Palm Detect is turned off.
This and the killer wi fi are the only problems I have currently with Linux!
I created a script that auto detects your touchpad, call this on the console for verbose output with
palm-decection-on -v
or add this to your startup programs
https://github.com/rubo77/mouse-speed/blob/master/usr/bin/palm-decection-on
Awesome Script, thanks for the contribution.
Didn’t work for me. I added “Synaptics Palm Detection”,1 to the command box. Saved and restarted. I reran xinput list-props 14 and found my changes had reverted to the original values.
Maybe the comma was the issue there? E.g.
“Synaptics Palm Detection” 1
as opposed to
“Synaptics Palm Detection”,1
Didn’t work for me either. But my Palm Detect was already 1 and area 5,5. Tried setting area to 10,10 just to see, rebooted, and its still 5,5. I get palm cursor moves all the time and I hate it. Machine is an Asus N56VJ with the same Elantouch pad as yours.
Thanx a lot.. can’t believe it worked, but it did. One more reason to love linux 😀
Thanks it was a life saver!
you can replace the prop also with a number, and can also put to the ~/.xsessionrc
e.g.:
xinput set-prop 13 318 1
xinput set-prop 13 319 1, 1
Brilliant, thanks – XPS 9350 (2016).
Out of interest though, why do you have two separate start-up commands when you could simply string them together with semicolons separating them?
Thanks so the sharing! It works perfectly fine! I’m using Ubuntu 16.04 on my Asus E202SA.
so -> for
Seems to work on Dell XPS 13 9350 running Mint 18 Xfce edition.
Thanks heaps!
On my laptop the id of the touchpad changes if I use a usb mouse. So adding the command in the startup applications is not of much use…
Thanks!! The touchpad on my dell xps 13 2016 was driving me crazy ! Now it’s not an apple but it’s MUCH MUCH better.
… and while I was at it I found that setting xinput set-prop 11 “Synaptics Noise Cancellation” 8 8 helped with some erratic behavior also.
Thank you, you made my day easy.
Thanks, it worked for me! Running Ubuntu 16.04 on my Asus A555L 🙂
ubuntu 16.04 in zenbook ux303ub , this command worked fine but while using
xinput set-prop “{id}” “Synaptics Palm Dimensions” 5, 5
make sure that you give instead of between 5 & 5 and type command like this
xinput set-prop “{id}” “Synaptics Palm Dimensions” 5 5
On my lenovo carbon x1, Palm Detection was already on. So I shrunk the dimensions, but I’m not seeing much of an effect. It’s a really the area below my thumbs, not the palm proper, that makes contact and causes the trouble.