Fix: Automating High-Resolution Scrolling for Logitech MX Master 2S on Linux (Solaar)

The Logitech MX Master 2S often loses its high-resolution scrolling setting after rebooting on Linux, resulting in choppy or abnormally slow/fast scrolling. This fix uses the Solaar utility and a simple startup script to automatically re-apply the correct setting on login.

Prerequisites

  • You must have Solaar installed (sudo pacman -S solaar on EndeavourOS/Arch).
  • Your mouse’s ID is typically 2 (confirm with solaar show).
  • The required setting name for the MX Master 2S is hires-smooth-resolution.

Step 1: Create the Startup Configuration Script

This script waits for Solaar to fully load and then sends the command to enable high-resolution scrolling.

  1. Create the script file:

#!Bash nano ~/.config/solaar-set-scroll.sh

#!/bin/bash
# Wait 10 seconds to ensure Solaar has fully initialized and connected to the mouse
sleep 10
# Check if Solaar is running before configuring
if pgrep -x "solaar" > /dev/null then
# Command to force High-Resolution Scrolling (1 = True/On) on device ID 2
solaar config 2 hires-smooth-resolution 1 echo "Solaar scroll resolution
set successfully."
fi

  1. Save the file (Ctrl+O, then Enter) and exit (Ctrl+X).
  2. Make the script executable:Bashchmod +x ~/.config/solaar-set-scroll.sh

Step 2: Configure Auto-Start in Cinnamon

You need two separate entries in your Desktop Environment’s Startup Applications manager (in Cinnamon, search for “Startup Applications”). The Delays are Critical for this fix to work.

1. Start the Solaar Application

SettingValue
NameSolaar Logitech Manager
Commandsolaar --window=hide --restart-on-wake-up
Startup Delay2 seconds

2. Run the Fix Script

SettingValue
NameSolaar Scroll Fix
Command/home/$USER/.config/solaar-set-scroll.sh
Startup Delay12 seconds

Final Result

By setting the script’s delay to 12 seconds, you ensure it runs after Solaar starts (2s) and completes its own internal waiting period (10s), guaranteeing the high-resolution scroll setting is applied correctly every time you log in.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.