Felitendo de6cf98dcc
check / syntax and shellcheck (push) Successful in 1m10s
release / Debian package (push) Failing after 14s
release / RPM package (push) Failing after 24s
release / Release and repositories (push) Skipped
release / Install from the RPM repository (push) Skipped
chore: 1.7.0
2026-10-01 09:36:40 +02:00
2026-08-16 19:48:54 +02:00
2026-10-01 09:36:40 +02:00
2026-08-16 19:48:54 +02:00
2026-10-01 09:36:40 +02:00

middleclick-autoscroll

middleclick-autoscroll

Middle-click autoscroll in every app that supports it.

Firefox, Chromium browsers, Electron apps like Discord and Spotify, Steam and anything else built on Chromium.

Install | How to use | Report a bug

Buy me a coffee on Ko-fi

Install

Arch
yay -S middleclick-autoscroll
Fedora
sudo curl -fsSL -o /etc/yum.repos.d/middleclick-autoscroll.repo \
  https://loonixtools.github.io/middleclick-autoscroll/middleclick-autoscroll.repo
sudo dnf install middleclick-autoscroll
Bazzite
sudo curl -fsSL -o /etc/yum.repos.d/middleclick-autoscroll.repo \
  https://loonixtools.github.io/middleclick-autoscroll/middleclick-autoscroll.repo
sudo rpm-ostree install middleclick-autoscroll
systemctl reboot
Debian, Ubuntu
sudo install -d -m 0755 /etc/apt/keyrings
curl -fsSL https://loonixtools.github.io/middleclick-autoscroll/KEY.gpg \
  | sudo gpg --dearmor -o /etc/apt/keyrings/middleclick-autoscroll.gpg
echo "deb [signed-by=/etc/apt/keyrings/middleclick-autoscroll.gpg] https://loonixtools.github.io/middleclick-autoscroll/deb ./" \
  | sudo tee /etc/apt/sources.list.d/middleclick-autoscroll.list
sudo apt update && sudo apt install middleclick-autoscroll
openSUSE
sudo rpm --import https://loonixtools.github.io/middleclick-autoscroll/KEY.gpg
sudo zypper addrepo --gpgcheck --refresh \
  https://loonixtools.github.io/middleclick-autoscroll/rpm middleclick-autoscroll
sudo zypper install middleclick-autoscroll

How to use

middleclick-autoscroll

The middleclick-autoscroll menu in Konsole: autoscroll on, 19 of 19 applications covered

Press 1. Autoscroll ✨just works✨, like on Windows.

Applications

3 lists every app it found. Type to search, then Space turns one on or off.

The applications list in Konsole, with a search field on top and how each app gets autoscroll

More

How it works

Chromium, Electron and CEF all have autoscroll built in. On Linux it is off, because middle click pastes there. One flag turns it back on:

--enable-blink-features=MiddleClickAutoscroll

Adding it to every app by hand is a pain, and updates can undo it. This tool does it for you:

  • It finds every app built on Chromium. AppImages too, without unpacking or starting them.
  • It puts the flag where the app reads it: the app's flags file, or a copy of its menu entry in your home folder.
  • It watches for new apps and covers them on their own.
  • It only writes to your home folder, and disable puts everything back.

Browsers get a spelling of the flag that shows no warning bar. Brave and Helium also get their own name for the feature. A browser ignores names it does not know.

Firefox has autoscroll too, but as a setting, not a flag. It goes into the user.js of each profile. The same works for LibreWolf, Zen, Floorp, Waterfox and Thunderbird.

Steam builds its own command line and repairs any file that looks changed. So the flag goes into the script that starts its web helper, and the file keeps the size and date Steam expects. Steam finds nothing to repair, and autoscroll works in the store and the library. After a Steam update, the patch comes back on its own.

Commands
middleclick-autoscroll The menu
… enable Turn on
… disable Undo everything
… apply Pick up new apps
… status What is covered
… list All apps and how they are handled
Build from source
make
sudo make install

Optional: msgfmt for translations, scdoc for the man page.

GPL-3.0-or-later.

S
Description
No description provided
Readme GPL-3.0
2.2 MiB
0 Stars 1 Watchers 0 Forks
v1.7.0
Latest
2026-10-04 20:28:24 +02:00
Languages
Shell 95.2%
Makefile 2.8%
HTML 2%