I know I can do:
sudo apt update
sudo apt install solaar
to install the 3rd-party tool solaar
on Ubuntu, so I can use it to pair and unpair new Logitech devices such as keyboards and mice to my unifying Logitech Receivers, and so I can see the battery status of many of these devices, but the solaar
version installed is very old, doesn't show up properly in the top-right of my main screen, and overall seems buggy.
How do I install the latest one and configure it to work without special permissions, and to auto-start after each reboot?
Doesn't the latest version of solaar
allow me to change settings, like the DPI sensitivity setting in a mouse? How do I change that setting?
The easy way to install/maintain/upgrade Solaar is to use a PPA.
Add the repository...
See https://launchpad.net/~solaar-unifying/+archive/ubuntu/stable
Install Solaar...
Note: Remove any manually installed
Solaar
first.Note: If you already have Solaar installed using the PPA or Synaptic,
Software Updater
can be used to upgrade it.If you don't wish to see the popup window at startup...
See https://pwr-solaar.github.io/Solaar/
Solaar’s GUI can be started in several ways
For more information on Solaar’s command-line interface use the help option...
This also works. This answer is still worth an upvote and may prove more-useful over the answer I accepted in the following scenarios:
solaar
, including the DPI resolution setting,kill
command to auto-kill the oldsolaar
so you can start the new one after upgrading to the latest version,bin
dir in your PATH, as the approach presented here applies to just about any piece of software or script in the entire world and I use it all the time,Here is how to manually install the latest release version of
solaar
from GitHub:Tested on Ubuntu 18.04.
First, check your version:
Mine shows 0.9.2:
Now go to the GitHub releases page to see if a newer release exists: https://github.com/pwr-Solaar/Solaar/releases. I see 1.1.1, released Dec. 25, 2021, for Christmas. Download and extract it. I chose Solaar-1.1.1.zip. After downloading it, right-click it in your file explorer (I use
nemo
, because Ubuntu's default,nautilus
, has a horrible usage of space--see the screenshots at the end of my answer), and go to "Extract Here" to extract the Zip file. Cd into this extracted path and do the following:At this point, you should see your new
solaar
executable is in-use. Run this:...and you should see this:
...instead of this, which was the old version:
Good, if you see
/home/MY_USERNAME/bin/solaar
then it is correctly in your PATH and running it from your~/bin
dir as you specified by following the instructions above.Let's check the version:
I see:
Nice! It worked.
Lastly, we need
solaar
to auto-start at startup. Open your Startup Applications GUI program and look for a "Solaar" entry. I have one here. If you don't have one, click "Add" to add one. If you do have it, click "Edit" to look at it.Ensure in the "Command" box it says
solaar
. This starts the application by running thesolaar
command each time you log into your system graphically.At this point, either reboot to get your newly-updated version of
solaar
running, OR kill the oldsolaar
process and start the new one, like this:You can close the terminal at this time.
If you just ran
solaar &
above, a Solaar GUI window will pop up. It looks like this for me (I have the Logitech MX Vertical Wireless Mouse (renewed), or new, because it helps me with my carpal tunnel in my wrist, and has a nice scroll wheel with (supposedly) an optical encoder which won't break on me in 1 year of use like mechanical scroll wheel encoders do):Notice the locks to the right of each setting. Click those to cycle through 3 modes for each setting: Locked --> Ignored --> and Unlocked (changes allowed).
Here you can see I unlocked my "Sensitivity (DPI)" setting to increase it from 1000 to 1300:
When done changing settings, click the lock icon to get it to lock again.
Now you can click the X in the top-right of the Solaar window to close it. Solaar will keep running in the background.
In the top-right of your screen you'll see this little Solaar battery icon, which is super convenient:
Click it and go to "MX Vertical Wireless Mouse" (or whatever the name of your device is) to re-open the GUI settings window shown above to change more settings.
Done.
Where are the mouse's settings saved?
Keep in mind that the Logitech settings are not saved in the mouse's firmware or flash memory. They are saved locally on the computer, in
solaar
's settings somewhere. This means that you cannot just set the mouse's settings on one computer and expect them to carry over to another computer. Rather, you must configure the settings on each computer separately, and furthermore, for each user on each computer separately. That kind of stinks, but it is what it is.Uninstall
To "uninstall" what we did above, just delete the symlink:
That's it!
References:
The
solaar
documentation and official sources are here: