Skip to content

Instantly share code, notes, and snippets.

@sauloefo
Last active October 17, 2024 09:42
Show Gist options
  • Save sauloefo/b387a50fc7aa23cd6e2eacbaa30be443 to your computer and use it in GitHub Desktop.
Save sauloefo/b387a50fc7aa23cd6e2eacbaa30be443 to your computer and use it in GitHub Desktop.
Solaar setup on Ubuntu

Install solaar

sudo add-apt-repository ppa:solaar-unifying/stable
sudo apt update
sudo apt install solaar

Add solaar to Startup applications

Name: Solaar

Command: solaar --window=hide --restart-on-wake-up

Comment: Logitech unifying Receiver peripherals manager

Granting access to /dev/uinput

sudo touch /etc/init.d/solaar.sh
# ${USER} must be replaced by the username because the script is executed as root
echo 'setfacl -m u:${USER}:rw /dev/uinput' > /etc/init.d/solaar.sh
sudo chmod +x /etc/init.d/solaar.sh
ln -s /etc/init.d/solaar.sh /etc/rc2.d/S99solaar

Start from terminal

solaar --window=hide & disown

When buttons stop to work

Gesture Button:

Ensure the field Mouse Gesture has the option Mouse Gesture Button selected.

Forward/Back Buttons

Ensure the field Key/Button Diversion has the value Diverted for the options Forward Button and Back Button.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment