You are not logged in.

#1 2017-06-26 23:01:59

Noammac
Member
Registered: 2017-06-26
Posts: 5

Disabling palm detection

I'm using libinput, and can disable palm detection manually with

xinput set-prop "SynPS/2 Synaptics TouchPad" 292 1

but it resets if I restart my window manager or the computer. I tried creating and editing /etc/X11/xorg.conf.d/40-libinput.conf (text here) but it didn't work. Any help?

Last edited by Noammac (2017-06-26 23:02:25)

Offline

#2 2017-06-27 07:31:12

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,881

Re: Disabling palm detection

man 4 libinput

The closest supported action I can see is "DisableWhileTyping" - so maybe rather add the call in your xinitrc or your DM configuration scripts?

Offline

#3 2017-06-29 03:28:59

nathanb
Member
Registered: 2011-11-28
Posts: 103
Website

Re: Disabling palm detection

Is the config file not being picked up at all (i.e. can you change other aspects of the touchpad, such as two-finger scroll), or is it just the one PalmDetect option that's not being recognized? I'm wondering if there might be something else (i.e. synaptics) taking precedence over your libinput settings.

If it's just the PalmDetect option that's not working, maybe Option PalmDetect has maybe not been implemented in libinput (it's meant to be a drop-in replacement for synaptics, but it wouldn't surprise me if some options got dropped).

Offline

#4 2017-06-29 15:33:37

Noammac
Member
Registered: 2017-06-26
Posts: 5

Re: Disabling palm detection

Tried to change /usr/share/X11/xorg.conf.d/40-libinput.conf to this. Rebooted my machine, am still able to use two-finger scrolling.

Offline

#5 2017-06-29 15:40:15

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,881

Re: Disabling palm detection

Please paste your xorg log and the output of "xinput".

Offline

#6 2017-06-29 22:16:41

Noammac
Member
Registered: 2017-06-26
Posts: 5

Re: Disabling palm detection

Offline

#7 2017-06-29 23:13:08

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,881

Re: Disabling palm detection

The file is applied and matched, but the log is dated.

[  3866.907] (==) Log file: "/var/log/Xorg.0.log", Time: Mon Jun 26 15:23:11 2017

Did you btw. see the warning in the manpage?

Not all devices support all options, if an option is unsupported,  the  default  scroll  option  for  this device is used.

Offline

#8 2017-06-30 07:42:22

Noammac
Member
Registered: 2017-06-26
Posts: 5

Re: Disabling palm detection

So I rebooted my machine today and found out that Palm Detection is disabled, but I don't know what did it.
It could be /etc/X11/xorg.conf.d/40-libinput.conf but I am able to scroll using two fingers.
It also could be /etc/X11/xinit/xinitrc.d/10-libinput.sh.

Here's my Xorg.0.log

Offline

#9 2017-06-30 11:00:45

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 78,881

Re: Disabling palm detection

[    84.474] (**) Option "DisableWhileTyping" "false"

Is considered, whether the xinitrc script is called depends on the way you login. If it uses xinit and your ~/.xinitrc includes the directory, then this will act as well.
If you want to figure which is relevant (or both act) just move away either and check the impact.

Offline

Board footer

Powered by FluxBB