Skip to content

Instantly share code, notes, and snippets.

@SebastianGrans
Created March 19, 2025 11:32
Show Gist options
  • Save SebastianGrans/bdddab7676a6c5f39d202672cafe0ab6 to your computer and use it in GitHub Desktop.
Save SebastianGrans/bdddab7676a6c5f39d202672cafe0ab6 to your computer and use it in GitHub Desktop.
Set the touchpad scroll speed with `libinput-config` on Ubuntu 24.10

https://gitlab.com/warningnonpotablewater/libinput-config

Prerequisites

Clone the repo above.

git clone https://gitlab.com/warningnonpotablewater/libinput-config.git
sudo apt install meson libinput-dev

Create a /etc/libinput.conf file

sudo vim /etc/libinput.con

To just adjust the scroll factor, add this. But you can modify a lot more things.

scroll-factor=0.8

Build and install

meson build
cd build
ninja
sudo ninja install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment