I installed Arch Linux and sway on my Framework laptop.
It’s very smooth except two-finger scrolling on the touchpad. Coming from macOS I thought I had to accept that. I am like: For freedom you have to give up some macOS conveniences:
There is no inertia effect: if my two finger-touch leaves the touchpad while moving vertically, scrollling stops immediately, there is no delayed deceleration of scrolling
There is no overscroll effect: when scrollling to the top or to the bottom, scrolling stops abruptly, there is no bouncing-back effect
And the worst one: Scrolling is sometimes jumpy: when I move two fingers on the touchpad there can be some delay in scrolling before suddenly jumping about one-fourth of the screen, and this effect can repeat
This said, I accept this. Although I miss kinetic and smooth scrolling from my macOS experience.
However I discovered that some Linux users do seem to have smooth scrolling. One example: https://forums.linuxmint.com/viewtopic.php?t=350807 (he wants to disable smooth scrolling, for me it’s the oppositve).
I am hopeful now that my laptop is just wrongly configured.
Two questions:
Do some Linux Framework users really have kinetic scrolling as described above (inertia, overscroll and smoothness)?
Do you have some tips how to troubleshoot touchpad scrolling?
Hi. Although I think nothing comes close to the Mac touchpad experience I have to say I was surprised an am pleased by the experience I have with my framework on Ubuntu 21.10. it’s no as accurate as on a mac but I’m pretty sure the described effects are there. Especially inertia. I will give it a try later and let you know.
Hello, I do have kinetic scrolling, but this might be app-dependent. Firefox handles it beautifully, Electron does too, but this is on Windows. Speaking of arch, I think it might be not enabled, I found this forum post https://bbs.archlinux.org/viewtopic.php?id=266547
Now I’ve found the solution to the problem myself.
I am running XWayland, too, because CLion doesn’t understand Wayland. However then Firefox also runs under X11 and scrolling seems to be very bad under X11.
export MOZ_ENABLE_WAYLAND=1
in .bashrc solved the problem.
Thank you for the community for confirming that Framework users have smooth scrolling, so I went looking for a solution.
It’s only for Firefox. If given the choice, Firefox prefers X11 to Wayland, but scrolling seems to be bad in X11. I am using sway, but I think setting the environment variable works for other window managers as well.
Just a note in case this helps someone else: I recently got my Framework laptop, copied my $HOME from my old laptop (where kinetic scrolling in Firefox/X11 worked fine), but found there was no kinetic scrolling in Firefox on my new laptop, and was confused for the better part of a week.
Today, just as I was about to post about it here, I remembered that Firefox on X11 requires MOZ_USE_XINPUT2=1 set in the environment to get kinetic scrolling to work. A simple way to do this is to drop a file in /etc/X11/Xsession.d/ that just contains export MOZ_USE_XINPUT2=1 in it. But of course I didn’t think to copy that file over from my old laptop. After taking care of this, all is well, and Firefox scrolling is all kinetic again.
Hello there, for me it didn’t work to set export MOZ_ENABLE_WAYLAND=1 in .bashrc or .zshrc (running manjaro Linux, it runs Xwayland).
What worked is setting the MOZ_ENABLE_WAYLAND=1 as Environment Variable for Firefox in KDE. For that, you have to right click on firefox in the Application Menu → Edit Application → Application → Environment Variables = MOZ_ENABLE_WAYLAND=1.
Just leaving it here, in case somebody has the same problem.
@junaruga no, “natural scrolling” is a setting that reverses the scrolling direction, usually useful/interesting when using a touchpad or touchscreen. Usually when you drag your fingers up on the pad, it will scroll up. “Natural scrolling” reverses this, so when you drag your fingers up, the content scrolls down.
“Kinetic scrolling” is when your scrolling motions have “momentum”; that is, when you release your fingers from the touchpad, the content keeps scrolling for a bit, and eventually slows down and stops. Scrolling “harder” will impart more momentum and cause this effect to be larger.
No, what I said is correct. I said when you drag your fingers up the content scrolls down. The thing you linked says when you swipe your fingers up, the content goes up. Those are equivalent statements.
“Content scrolls down” means (to me anyway) that you move downward in the page. “Content goes up” means the same thing, just phrased differently, that the current bit of content that is visible will go upward – and the effect is that you scroll down.