Configure your Logitech mouse on Linux with Piper

Diolinux

I recently bought a Logitech G203 mouse, soon I should review it on our YouTube channel, but I can say that, at first glance, it looks like a great cost benefit.

You too you can see some pictures of him on my Instagram.

The mouse itself allows DPI settings via a button in the central region, something very traditional even in models of this type, but it has some functions that can be better configured via software, such as the function of the buttons and the colors of RGB , in addition to DPI and Polling Rate. In Windows these settings are made through Logitech Software and this same software does not have versions for Linux yet, even though the mouse works perfectly, not being, therefore, the same case of my Razer mouse.

There is a driver called “Libratbag”Which supports Logitech, Etekcity, GSkill, Roccat and Steelseries devices, which has an interface called“ Piper ”that works perfectly with my new G203.

Installing Piper and Libratbag

Driver and Interface are not the same, as the habit with Windows forces us to think, proof of this is that we can use several different interfaces for the same Razer driver (openRazer), so let’s first install our “libratbag” driver. The officially supported distros are Ubuntu, Fedora, Arch Linux, openSUSE and Debian (version 10 onwards) and the installation procedure can be seen on github. In Ubuntu, you can install the driver directly from the repository, using Software such as Synaptic, looking for the package: ratbagd If you prefer to use the terminal, the command is this:

sudo apt install ratbagd

After that just install the Piper interface, which can be done via Flatpak, through Flathub, or through a PPA repository.

– See how to install a PPA on Ubuntu without using the terminal

If you prefer to do it from the terminal, you can use these commands:

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

The interesting thing about using PPA is that you also receive the latest driver version “libratbag” as soon as it comes out.

Piper functions and settings

The available functions obviously appear according to the mouse model, in my case, we have the following options:

Logitech RGB Mouse Control

We can configure the RGB LED that the mouse has, using solid colors, where you can choose the color you want, you can also use the default, which is the «Cycle», where the colors are changing. In the App you can change the intensity of the lighting and the interval of changes, there is also the option «Breathing», which makes the colors light up and go out as if the mouse were «breathing», hence the name; there is also the option to turn off the lights.

Logitech Linux key control

The mouse buttons can also be individually configured to do different things, including some ready-made macros, or templates that you can create.

DPI Control Linux Mouse

The home page allows you to change the polling rate mouse, in this case between 500 and 1000 Hz, and also make changes to the mouse DPI, which in this case goes up to 8000, being able to make intermediate adjustments to each value with a slider, allowing any desired value within the range, up to the maximum .

Leave nothing to be desired

You can even say that Piper doesn’t have the most beautiful interface of all, but it’s definitely not bad and in terms of functionality, it leaves nothing to be desired in relation to Logitech’s own application, which makes it an excellent alternative to mouse to use with Linux. Before you leave installing the “libratbag” and Piper to configure your mouse, it is worth consulting the list of devices supported by the driver developers, you can do this by consulting the project’s GitHub.

Will my aim improve now? To find out, access our channel on Twitch, there is live playing on Linux every day there!

To the next!


Have you seen any errors or would you like to add any suggestions to this article? Collaborate, click here.