Piper is a free and open source mouse configuration tool for Linux. It is released under GNU General Public License v2.0 and written in Python. It is a GUI frontend of the ratbagd DBus daemon. You can check all the supported devices from this list. Using Piper application you can change the DPI of the mouse, change and set mouse LED colors, set the mouse button behaviors and add/remove profiles.
How to Install Piper on Ubuntu Linux
Piper is available from the default Ubuntu universe repository and also from flathub as a flatpak package file. Open the terminal command-line application (ctrl+alt+t) and run below commands one by one.
sudo apt update
sudo apt install ratbagd
sudo apt install piper
After that run piper using this command.
piper
Note: ratbagd must be installed and running when Piper is launched.
You can uninstall it using below command.
sudo apt remove piper
Install Piper via Flatpak:
First install flatpak and flathub on your system and restart it after the installation.
Now run below command to install ratbagd.
sudo apt install ratbagd
After that run below Piper flatpak installation command.
flatpak install flathub org.freedesktop.Piper
You can start it using
flatpak run org.freedesktop.Piper
And uninstal Piper flatpak using
sudo flatpak uninstall org.freedesktop.Piper
That’s it.