Bug 476872

Summary: [Feature Requests] Add setting the minimum and maximum speed of the touchpad cursor to the wayland session.
Product: [Applications] systemsettings Reporter: Tor <0x7633>
Component: kcm_touchpadAssignee: Plasma Bugs List <plasma-bugs-null>
Status: RESOLVED UPSTREAM    
Severity: wishlist CC: natalie_clarius, nate
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Screenshot in case you forgot what it looks like in x11.
My touchpad customizer on wayland

Description Tor 2023-11-12 07:06:20 UTC
Created attachment 163068 [details]
Screenshot in case you forgot what it looks like in x11.

On my laptop in a wayland session the cursor moves slowly. In wayland the touchpad settings are limited and I can’t correctly set the minimum and maximum speed, I can only do it in X11. Because of the slow cursor, I can’t use the wayland session. Please add these settings to wayland.

If it is now possible to set the minimum and maximum speed of the touchpad cursor in the configuration file, please tell me how to do this.
Comment 1 Nate Graham 2023-11-15 20:17:35 UTC
Why do you need to set the minimum and maximum speed? Can't you just set the speed in general to something very high? There's a "Pointer Speed" setting there on the Touchpad page, and it even has a spinbox where you can enter numbers in case you need something very fast or in between the tickmarks of the slider.
Comment 2 Tor 2023-11-22 18:27:41 UTC
Created attachment 163371 [details]
My touchpad customizer on wayland
Comment 3 Tor 2023-11-22 18:30:26 UTC
(In reply to Nate Graham from comment #1)
> There's a "Pointer Speed" setting there on the Touchpad page

On wayland I only have "Pointer acceleration" (screenshot in previous message). I tried to configure this and I managed to make the pointer move quickly, but when I move my finger very slowly on the touchpad, the pointer moves further than it should and faster than I would like and I can’t hit the very small buttons. If I reduce the acceleration, I start hitting the small buttons, but then the pointer speed is not fast enough. On x11 there is a different touchpad customizer and there I was able to configure it as I needed (screenshot in the first message), but on wayland I could not do this.
Comment 4 Nate Graham 2023-11-29 17:00:22 UTC
I see.

Unfortunately the settings page can only offer configurability for options that exist in the driver, and I'm afraid the Libinput driver offers no options for this. You could request this at https://gitlab.freedesktop.org/libinput/libinput/-/issues, but a more fruitful course of action is to instead submit a bug report there that explains the actual problem, which is that the range of speeds is not appropriate for your device. That can probably be fixed right at the source, and then you won't need a setting to change.