How to set libinput touchpad pressure specifically on clear?

Hey,

New to Clear Linux. I have been trying to get my touchpad to play nice with libinput. With Ubuntu, I am able to get libinput working by doing:

libinput list quirks <path_to_device> also returns nothing after doing below.

$> cat /etc/libinput/local-overrides.quirks
[Touchpad pressure override]
MatchUdevType=touchpad
MatchName=ACPI0C50:00 18D1:5028 Touchpad
MatchDMIModalias=dmi:*svnGoogle:pnEve
AttrPressureRange=10:5
AttrPalmPressureThreshold=100

Usually, I have to press hard into the touchpad to be able to move my pointer through my touchpad. With this I can keep my finger with normal pressure. However, for some reason I have not been able to get this to work on Clear, while this clearly works on Ubuntu for me. This is a pixelbook.

I have been using this on wayland (sway and gnome-wayland so that it defaults to libinput) and both places seem to have the same behavior. I’m not sure how to get this to work, so thought I’ll ask the community if they have any tips for me.

Thanks for clarifying!

From the kernel:

Enabling this feature adds a small amount of overhead to context switches and increases the low-level kernel attack surface. Disabling it removes the modify_ldt(2) system call.

We have this disabled. Our kernels are general purpose and specifically used on servers, where this is undesirable. You would have to build your own kernel as I don’t think we will enable this flag.

1 Like

That makes sense. I’ll build my own kernel.

Thanks for taking the time to answer.