Skip to content

A library that configures Mutter scroll speed per-application.

Notifications You must be signed in to change notification settings

spectrev333/mutter_scroll_hook

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

Mutter Scroll Fix

A lightweight LD_PRELOAD hook to set per-application touchpad scroll speed in GNOME/Mutter.

Features

  • Adaptive Speed: Custom scroll multiplier based on the focused window WM_CLASS.
  • Simple: Single C file, you can read and understand in under 2 minutes.

Build

gcc -O3 -fPIC -shared -D_GNU_SOURCE libmutterhook.c -o libmutterhook.so -ldl

Usage

Run GNOME Shell with the hook:

export LD_PRELOAD=/path/to/libmutterhook.so

*Note: To make it permanent, add it to /etc/ld.so.preload.

Requirements

  • libmutter (tested on GNOME 49)

About

A library that configures Mutter scroll speed per-application.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages