Add a touchpad scroll speed control in Mouse & Touchpad settings (libinput removed Scroll Factor) #14006
ja-plus
started this conversation in
Features Request & Ideas | 特性请求 & 头脑风暴
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Problem
The DDE Control Center "Mouse & Touchpad → Touchpad" panel only exposes pointer
speed (
motion-acceleration), scroll direction, tap-to-click and scroll method —there is no scroll-speed control at all. Many users (especially on the libinput
backend) find two-finger scrolling far too fast with no way to slow it down from the
GUI, and are forced to edit system config by hand.
Newer libinput has removed the
libinput Scroll Factorproperty, so the old"set a multiplier" approach no longer works. The only remaining knob is
libinput Scrolling Pixel Distance, which is capped (e.g. max 50 on a HuaweiELAN962C touchpad) and gets reset on every reboot when applied via
xinput set-prop.Environment
xinput list-propsshows: noScroll Factor;Scrolling Pixel Distancedefaults to 15 with an effective max around 50What exists today
motion-accelerationincom.deepin.dde.peripherals.touchpad, so the "slider → DConfig → backend writeslibinput" path already exists.
Proposed solution
scroll-distanceorscroll-speed) to thecom.deepin.dde.peripherals.touchpadschema.dde-daemon/ SessionManager (same layer asthe existing
natural-scrollandscroll-methodhandling), rather than callingxinputfrom the control panel — so it works consistently on both X11 and Wayland,and can be swapped to a proper libinput API later.
libinput Scrolling Pixel Distance, anddefine the slider range from that property's valid bounds so we never expose
unreachable values.
Workarounds users resort to
xinput set-prop ... "libinput Scrolling Pixel Distance" 50into~/.xprofile.Willing to help
I'm happy to open a PR covering the panel + schema + daemon write. I'd just like to
confirm maintainers agree with the "implement at the dde-daemon layer" direction before
I start, to avoid rework.
All reactions