60
submitted 1 year ago* (last edited 1 year ago) by a1_15@lemmy.world to c/linux@lemmy.ml

Been tinkering with alot of parameters in about:config, but I finally a viable solution:

We all know that changing mousewheel.default.delta_multiplier_Any particular Axis values changes the minimum number of lines being scrolled

But what this does not change is the sensitivity of the smallest "fling" gesture when scrolling with a touchpad.

Here's the values you want to alter when trying make the scrolling feel more "tighter" or more "Windows like" or to fix the issue described above:

set apz.fling_friction 0.002 --> 0.005

apz.fling_min_velocity_threshold 0.5 --> 1.5

the above will make the smooth scrolling with touchpad actually feel smooth and in control. As opposed to simply changing the delta multiplier values.

top 13 comments
sorted by: hot top controversial new old
[-] donut4ever@lemm.ee 4 points 1 year ago

Holy shit, this actually did make a huge difference for me. I normally follow this reddit post https://www.reddit.com/r/firefox/comments/7ei43x/comment/dq5afi0/, and it does really good for me. Then I'd also change mousewheel.default.delta_multiplier_y to between 25 and 40 and I'm set. These two you posted made it even better. Thank you for this. Gonna save this post for future reference

[-] a1_15@lemmy.world 3 points 1 year ago

yeah, the scrolling behaviour on Linux was driving me nuts. Touchpad on Linux isn't in a very good shape already. Yesterday, I decided that enough was enough lol. And I sat down to hunt the values myself

[-] jungleben@infosec.pub 3 points 1 year ago

Holy cow I will test this later. My touchpad even on a regular DPI display goes crazy sometimes.

[-] a1_15@lemmy.world 1 points 1 year ago

Yeah, this fix mainly mitigates the "looseness" when scrolling with a touchpad. min_velocity_threshold is the parameter that controls how kinetic the smallest fling is. The higher the value, the more tight it'll be, i.e. the lesser the velocity of the minimum fling will be

apz_fling_friction controls how long the effect of a complete fling lasts, how rough the scroll should be. Lowering the value will "lubricate" the scroll. Increasing it will do the opposite, which is what we did here.

Mozilla really should have made these values the default, since HiDPI displays behave differently with touchpads on Linux than they do with Windows... And it's not exactly easy for someone new to sit down and check different scroll related parameters to fix such annoying issues.

[-] staticlifetime@kbin.social 3 points 1 year ago

I can attest that this also helped me as well. Thank you!

[-] mrvictory1@lemmy.world 2 points 1 year ago

I actually like Linux defaults as they are but don't like Windows defaults, on Windows it feels too slow to me. I have 17.3 inch 1080p display.

[-] PseudoSpock@lemmy.dbzer0.com 1 points 1 year ago

Just don't use Wayland. Problem fixed!

[-] mrvictory1@lemmy.world 2 points 1 year ago

Smooth touchpad scrolling on Firefox is a Wayland exclusive feature. I force Wayland for Firefox only for this feature.

[-] PseudoSpock@lemmy.dbzer0.com 1 points 1 year ago

shudder gross. Wayland is the systemd of display protocols.

[-] mrvictory1@lemmy.world 2 points 1 year ago

If only. Systemd is mature to the point it is the de facto init system and used by almost all distros. Wayland and its compositors are still in development.

[-] PseudoSpock@lemmy.dbzer0.com 1 points 1 year ago

Systemd was that way. It was the wide adoption forcing it down our throats that allowed it to mature. Wayland is doing that now.

[-] a1_15@lemmy.world 0 points 1 year ago

how do we force wayland for particular apps when logged into an x11 session?

[-] mrvictory1@lemmy.world 0 points 4 months ago

Run a nested Wayland compositor inside Xorg session

this post was submitted on 15 Aug 2023
60 points (100.0% liked)

Linux

47805 readers
1021 users here now

From Wikipedia, the free encyclopedia

Linux is a family of open source Unix-like operating systems based on the Linux kernel, an operating system kernel first released on September 17, 1991 by Linus Torvalds. Linux is typically packaged in a Linux distribution (or distro for short).

Distributions include the Linux kernel and supporting system software and libraries, many of which are provided by the GNU Project. Many Linux distributions use the word "Linux" in their name, but the Free Software Foundation uses the name GNU/Linux to emphasize the importance of GNU software, causing some controversy.

Rules

Related Communities

Community icon by Alpár-Etele Méder, licensed under CC BY 3.0

founded 5 years ago
MODERATORS