Ubuntu – Horizontal scroll doesn’t work on Mouse

gnomeinput-devicesmousemouse scroll

I have a mouse which has left and right scroll. The scroll works fine in 16.04 GNOME, but not working in 18.04 with GNOME.

I've read these answers:

Inverted Horizontal scrolling ubuntu 18.04

Horizontal Scrolling checked but still doesn't work

but they are related to the touchpad not mouse.

Searched for settings in dconf-editor for Horizontal scroll but didn't find anything:

dconf-editor mouse settings

How can I enable horizontal scroll for my mouse?

Best Answer

You can configure the mouse scroll if your mouse is supported in libratbag:

sudo add-apt-repository ppa:libratbag-piper/piper-libratbag-git
sudo apt update
sudo apt install piper

Piper Mouse

You can also configure RGB and DPI in Piper.