I like using libinput's on-button scrolling feature to make my trackball a scroll wheel when holding down BTN_BACK
. The Arch Linux wiki describes how to configure this feature in Xorg. When I used sway, I was able to get the behaviour I wanted using the following configuration documented in sway-input(5):
input <identifier> {
scroll_method on_button_down
scroll_button BTN_BACK
}
I recently switched to GNOME on Wayland. But I can't figure out how to configure my scroll method in GNOME Shell. According to the Arch wiki, libinput's configurable options depend on your desktop environment's support for them, and I can't find anything relevant in GNOME Settings or GNOME Tweaks.
gsettings
utility. So, when I executegsettings list-recursively org.gnome.desktop.peripherals
, I don't see ascroll-method
option on my system, which likely means it's not provided at all. You will have to report a feature-request, not sure exactly where, but I think to gnome-shell.gsettings
command I getorg.gnome.desktop.peripherals.trackball scroll-wheel-emulation-button 0
. Maybe this option is only available for trackballs? I'll keep investigating.