Skip to content

Instantly share code, notes, and snippets.

@matdombrock
Last active January 9, 2026 06:18
Show Gist options
  • Select an option

  • Save matdombrock/c3a7215fae22dd38d77268da398b72c3 to your computer and use it in GitHub Desktop.

Select an option

Save matdombrock/c3a7215fae22dd38d77268da398b72c3 to your computer and use it in GitHub Desktop.

Revisions

  1. matdombrock renamed this gist Feb 4, 2025. 1 changed file with 8 additions and 0 deletions.
    8 changes: 8 additions & 0 deletions README.md → FEDORA_SCROLL_FIX.md
    Original file line number Diff line number Diff line change
    @@ -36,6 +36,14 @@ scroll-factor-y=0.2
    ## Apply
    logout or reboot

    ## Firefox
    You may still have issues scrolling in Firefox. Navigate to [about:config](about:config) and enter:
    ```
    mousewheel.default.delta_multiplier_y
    ```

    Experiement with this value to fix Firefox specific scroll speed issues.

    ---

    Thanks to [Jack Wilsdon](https://jackwilsdon.me/libinput-config-silverblue/) for original instructions.
  2. matdombrock created this gist Feb 4, 2025.
    41 changes: 41 additions & 0 deletions README.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,41 @@
    ## Overview
    At the time of writing, Gnome has no support for changing the touchpad scroll speed.

    This is a bit of a hack but it works.

    Tested on Framework 13 with Fedora Linux 41 (Workstation Edition)

    ## Build and install libinput-config
    ```Shell
    sudo dnf install systemd-devel
    sudo dnf install -y gcc libinput-devel meson
    git clone https://gitlab.com/warningnonpotablewater/libinput-config.git
    cd libinput-config
    meson build
    ninja -C build
    mkdir -p ~/.local/lib64
    cp build/libinput-config.so ~/.local/lib64

    mkdir -p ~/.config/systemd/user/org.gnome.Shell@wayland.service.d/
    cat <<EOF >> ~/.config/systemd/user/org.gnome.Shell@wayland.service.d/libinput-config.conf
    [Service]
    Environment="LD_PRELOAD=%h/.local/lib64/libinput-config.so"
    EOF
    ```

    ## Configure
    edit `sudo nvim /etc/libinput.conf`
    ```
    scroll-factor=0.2
    scroll-factor-x=0.2
    scroll-factor-y=0.2
    ```

    [Option Docs](https://gitlab.com/warningnonpotablewater/libinput-config#how-to-use)

    ## Apply
    logout or reboot

    ---

    Thanks to [Jack Wilsdon](https://jackwilsdon.me/libinput-config-silverblue/) for original instructions.