Palm Suppression Settings insufficient on Linux

Hi all,

I am getting a lot of palm interference issues on Linux. I have had this issue on Mint, Manjaro and Fedora. Are there any settings I can tweak to increase palm rejection at certain corners of the touchpad?

I have a “Disable touchpad when typing”, but the delay isn’t sufficient.

2 Likes

I’ve been having this issue on KDE for awhile, I’m running on Arch. I always assumed I had a setting a bit wrong, but am open to the possibility that there is another issue at play.

I’ve been working on this problem off and on for the past few months. If you enjoy deep-diving on this type of thing for the benefit of all, come visit us at https://linuxtouchpad.org or even if you just want to follow along and cheer.

I don’t yet have a solution, however I suspect that it is possible to get better palm detection working through the libinput stack, which may explain why Windows seems to have better results here.

Ideally, I’d like to use this awesome touchpad without DWT (Disable While Typing)–especially in games and other complex combined input scenarios (e.g. holding spacebar + touchpad won’t work in Miro).

It doesn’t sound like you’re having an issue getting DWT working–it sounds like you’d just like to tweak the parameters. I’m not sure if libinput allows that, but it may be possible with a “quirks” file or custom hwdb entry.

For anyone trying to get DWT working at all, please see this post: How to Diagnose Disable-While-Typing Issues | The Linux Touchpad Dev Guide

8 Likes

I have made a bug report to kde.

There is a slight possibility of this being an issue with how the touchpad is configured, as it uses a USB interface and maybe most other laptops have it wired up differently … idk.

May also be a wayland issue. hm … I should go test that.

[edit:] okay it is broken on x11 too.

Oh, it is being fixed in libinput.

The palm rejection did not recognize the framework keyboard as an internal keyboard, thus not considering it for palm rejection.

Nice article, but sadly there’s no “testing” section.

As I’m struggling with the similar issue as OP (using NixOS and hyprland) - cursor randomly jumping while typing I’ve set out to do some explicit testing of DWT. libinput version is 1.25

The setup:

  • Run sudo libinput debug-events --enable-dwt --device=/dev/input/event9 on my FW13 11th Gen.
  • Verify the command output includes dwt-on
  • Open up a text window (new mail in Thunderbird
  • Start typing continuously with one hand while moving my finger around the touchpad

During the test I see a POINTER_MOTION events being reported by libinput debug-events, which confuses me.
Shouldn’t the POINTER_MOTION events be surprised by dwt?

I have “big sausage hands” according to my prior SO, and I haven’t had too many palm rejection issues using Fedora 40 Gnome on my fw13 7840U

I suspect Fedora is one of the distros that probably merged this fix prior to the official release. I would have loved to check this, but fedora also seems to obscurify where it’s git repository lies for some reason.