spin icon indicating copy to clipboard operation
spin copied to clipboard

Native solution exists.

Open jomiq opened this issue 5 years ago • 0 comments

First off, I'd like to thank you (and upstream) for this script. I've been using it happily for about a year or so. Recently I had to do a lot of manual xserver config-fu and stumbled upon a way to acheive palm rejection using only device drivers.

This works for me on arch-5.6.13: Install input-wacom Arch package: xf86-input-wacom

Load the wacom driver with touch_arbitration=1 ex: modprobe wacom touch_arbitration=1 On my system this is made persistent by adding options wacom touch_arbitration=1 to /etc/modprobe.d/wacom.conf

Assert that the touchscreen and tablet are both using the wacom driver. Basically add this to your xorg config:

Section "InputClass"
        Identifier "libinput touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "wacom"
EndSection

Section "InputClass"
        Identifier "libinput tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "wacom"
EndSection

References: libinput docs Linux wacom project wiki

jomiq avatar May 18 '20 12:05 jomiq