Fix Logitech LIFT Side/Thumb Buttons on Linux Mint #534
DawnFire42
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Fix Logitech LIFT Mouse Side Buttons on Linux Mint
Tested on: Linux Mint 21.x / 22.x (should also work on Ubuntu and other Debian-based distros with X11)
Table of Contents
TL;DR (Quick Setup)
For experienced users — copy-paste ready:
Log out and log back in to apply the libinput changes. A full reboot also works but isn't strictly necessary.
Prerequisites
Why This Happens
The Logitech LIFT has a "horizontal scrolling" gesture feature: hold a thumb button + scroll the wheel to scroll horizontally. To detect this gesture, the mouse firmware buffers button press events until it determines whether you're:
This behavior exists on Windows too but can be disabled in Logitech Options+. On Linux, we need
logiopsto intercept and immediately fire button events, combined with disabling the horizontal scroll gesture inlibinput.Step-by-Step Solution
Step 1: Install logiops
Install via Software Manager or terminal:
Step 2: Create logiops Configuration
Create the configuration file:
Paste the following content:
Save and exit (
Ctrl+O,Enter,Ctrl+X).Step 3: Disable Horizontal Scrolling in libinput
Edit the libinput configuration:
Add
Option "HorizontalScrolling" "false"to the pointer and keyboard sections:Leave the touchpad, touchscreen, and tablet sections unchanged.
Step 4: Enable and Start logid Service
Step 5: Set Up Auto-Restart on Login
The logid service sometimes needs to restart after the mouse reconnects. This autostart script handles that.
1. Allow passwordless restart:
2. Create autostart entry:
This waits 5 seconds after login (giving the mouse time to connect), then restarts logid.
Step 6: Log Out (or Reboot) and Test
Log out and log back in to apply the libinput changes. A full reboot also works but isn't strictly necessary.
After logging back in, test your side buttons — they should respond immediately on press.
Troubleshooting
Verify Device Name
Run logid in verbose mode to see your mouse's exact name:
Move the mouse and press buttons to ensure it's detected. Look for a line showing the device name. Update
/etc/logid.cfgif your name differs.Test Button Events with evtest
Install and run evtest:
Select your mouse device, then press the thumb buttons. Verify:
BTN_SIDE/BTN_EXTRA(not keyboard keys)Check logid Service Logs
Buttons Still Delayed?
/etc/logid.cfgmatches exactlysudo systemctl restart logidCritical Files Reference
/etc/logid.cfg/usr/share/X11/xorg.conf.d/40-libinput.conf/etc/sudoers.d/logid-restart~/.config/autostart/logid-restart.desktopSources
Beta Was this translation helpful? Give feedback.
All reactions