u/Se-iR-77

A GNOME extension for per-app touchpad scroll speed on Wayland
▲ 31 r/archlinux+3 crossposts

A GNOME extension for per-app touchpad scroll speed on Wayland

Like a lot of GNOME on Wayland users, I've been frustrated by inconsistent touchpad scrolling. Chrome scrolls way too fast, GTK4 apps feel fine, Firefox is somewhere in between, and on a high-res display it's even worse. GNOME has no scroll speed setting at all.

WSF (Wayland Scroll Factor) helps by giving you a global multiplier, but that just trades one problem for another: you slow down Chrome and suddenly everything else that was fine now scrolls too slowly.

So I built a GNOME Shell extension that gives you per-application, per-axis scroll speed control. It detects which app you're interacting with (via focus changes and cursor tracking) and applies the right factor automatically. Vertical and horizontal are independent, so you can tune them separately.

Note: This extension depends on WSF (Wayland Scroll Factor), which provides the underlying scroll adjustment mechanism. You'll need to install WSF and run wsf enable first.

This is my first open source project. I built it because I needed it for myself, and I figured it might help someone else too. It's on GitHub, MIT licensed, and you can install it with one line:

curl -fsSL https://raw.githubusercontent.com/ritesh-777/touchpad-speed-control/main/install.sh | bash

It's also submitted to the GNOME Extensions website (pending review).

I'd love any feedback — code review, bug reports, or just letting me know if it works for you (it is only tested with Gnome 50, but should work for version 47, 48, 49 as well).

Repo: https://github.com/ritesh-777/touchpad-speed-control

u/Se-iR-77 — 1 day ago