This repository provides a set of custom rules for configuring the Logitech M720 mouse using Solaar.
Solaar is a Linux manager for many Logitech keyboards, mice, and trackpads that connect wirelessly via a USB Unifying, Bolt, Lightspeed, or Nano receiver; via a USB cable; or via Bluetooth.
These rules aim to emulate the behavior of the Multiplatform Gesture Button as implemented in Logitech’s software for Windows.
You can see a demonstration of the gesture functionality in this video.
- Download the
rules.yamlfile from this repository. - Replace your existing
rules.yamlfile (typically located at~/.config/solaar/rules.yaml) with the downloaded file. - Open Solaar. The new rules will appear automatically in the Rule Editor.
Note: You can also configure the rules manually by copying the settings shown in the provided images.
- The first two rules configure the left and right tilt actions of the scroll wheel to perform Zoom In and Zoom Out, respectively.

- The next three sections configure the three side buttons on the mouse to act as Multiplatform Gesture Buttons.
- When the Forward button is released, Solaar checks the direction of the mouse movement and triggers a corresponding action:
- The Back button and the lowest side button are configured similarly to the Forward button, supporting gesture-based actions.

Special thanks to the Solaar development team for providing an excellent tool for Linux users!

