Logitech MX Master 4 on Fedora 45 – My Final Solaar Configuration
The MX Master 4 is a fantastic productivity mouse, but its advanced features (custom buttons, horizontal scroll with the thumb wheel, SmartShift, Action Ring, etc.) are not fully supported out of the box on Fedora with Wayland.
Solaar is the best open-source tool for configuring Logitech devices on Linux. It allows us to customize buttons, create rules, and unlock most of the mouse’s potential.
After many hours of testing and tweaking, here is my stable daily configuration.
1. Installing Solaar
sudo dnf install solaar
2. Solaar GUI Settings
Open Solaar, select your MX Master 4 on the left side, and configure the following:
| Parameter | Recommended Value | Notes |
|---|---|---|
| Scroll Wheel Direction | Off | - |
| Scroll Wheel Resolution | Off | - |
| Scroll Wheel Diversion | Off | - |
| Scroll Wheel Ratchet Torque | 90 | Feel of the clicks |
| Scroll Wheel Ratcheted | Ratcheted | Click mode by default |
| Scroll Wheel Ratchet Speed | 18 | Responsiveness |
| Thumb Wheel Direction | Off | - |
| Thumb Wheel Diversion | On | Important for horizontal scroll |
| Sensibilidade (DPI) | 1600 | Comfortable speed |
| Haptic Feedback Level | 35 | Not too strong |
3. Final Button Configuration
| Physical Button | Key/Button Actions | Key/Button Diversion | Reason |
|---|---|---|---|
| Middle Button | Mouse Middle Button | Regular | Open links in new tab |
| Back Button | Mouse Back Button | Regular | Go back |
| Forward Button | Mouse Forward Button | Regular | Navigate forward |
| Gestures | Gesture Button | Diverted | Paste (Ctrl + V) |
| Haptic (Large Thumb Button) | unknown:0199 | Diverted | Fast copy (Ctrl + C) |
| Shift wheel mode | Smart Shift | Regular | - |
Tip: Leave the small button behind the scroll wheel as SmartShift (toggles Ratcheted / Free Spin).
4. Custom Rules (rules.yaml)
The custom rules are stored in:
~/.config/solaar/rules.yaml
First, make a backup of the current file (if it exists).
cp ~/.config/solaar/rules.yaml ~/.config/solaar/rules.yaml.backup 2>/dev/null || true
Create the new rules file
cat > ~/.config/solaar/rules.yaml << 'EOF'
%YAML 1.3
---
- Key: [Haptic, pressed]
KeyPress:
- [Control_L, c]
- click
...
---
- Key: [Mouse Gesture Button, pressed]
KeyPress:
- [Control_L, v]
- click
...
...
EOF
After creating the file, restart Solaar or log out and back in.
Tip: Always keep a backup of your rules.yaml before doing a clean Fedora upgrade.
Enjoy Reading This Article?
Here are some more articles you might like to read next:
- Installing OpenIndiana Hipster 2026.10
- Installing Fedora 45 KDE Plasma
- Installing Fedora 45 Xfce
- Installing OpenIndiana Hipster 2026.04
- Local AI on Fedora — Obsidian Online (Google AI Studio)
- Local AI on Fedora — Ollama and Obsidian Offline
- Installing Fedora 45 Beta KDE Plasma
- How to Backup and Restore Thunderbird Remote Images Whitelist (Clean Install)
- Installing Fedora 44 KDE Plasma
- Installing Fedora 44 Xfce