Solaar GUI options

Hello there!

I’m using Solaar with the Gnome extension + flatpak. One annoyance I have with it is that it starts with the GUI window open on login, instead of going right to the menu icon. No worries, I thought, I just have to locate the .desktop file, copy it into ~/.local/share/applications and add -- -w hide to its exec command.

But it looks like the GUI options are not available in the Flatpak solaar at all, and it refuses to run with

usage: solaar {show,probe,profiles,config,pair,unpair} ...
solaar: error: argument {show,probe,profiles,config,pair,unpair}: invalid choice: '--window' (choose from show, probe, profiles, config, pair, unpair)

In Instalar Solaar en Linux | Flathub it says:

Solaar’s GUI normally uses an icon in the system tray and starts with its main window visible.

But no instructions on how to change that.

Has anybody worked around this?

(Your post looks like some of it was not shown correctly.)
The option --window=hide on the exec line should work.
While it’s not shown in the error message you posted, it is shown in the docs.

Thanks for the help!

The option doesn’t work for me in Flatpak, though, unless I’m passing the arguments wrong…

$ /usr/bin/flatpak run --branch=stable --arch=x86_64 --command=solaar io.github.pwr_solaar.solaar -- --window=hide

rules cannot access modifier keys in Wayland, accessing process only works on GNOME with Solaar Gnome extension installed
usage: solaar {show,probe,profiles,config,pair,unpair} ...
solaar: error: argument {show,probe,profiles,config,pair,unpair}: invalid choice: '--window=hide' (choose from show, probe, profiles, config, pair, unpair)

Hm. That’s strange.
I would try
--command=“solaar --window=hide”

And also try adding --window=hide to the exec line in the desktop file, and running it from the gui, or log out and back in.

Ha, that’s funny. Those two are exactly what I tried first. :slight_smile:

Adding arguments to the --command is supposedly wrong syntax. But adding it to the exec file gives the same error as the flatpak command I shared, which I used to make sure it wasn’t me botching the desktop file.

Anyway, even without this problem, I’m finding Solaar terribly unreliable. I cannot get it to detect my bluetooth Mx Master 3 more than one in every five times, and the wired Logi keyboard even less than that. If I could find a wireless mouse with ZMK support, I’d change in a heartbeat.

My MX Master works fine on regular Bluetooth, but I’m not doing anything fancy.

Well, except for natural scrolling. (Why would unnatural scrolling be the default :joy:)

1 Like

Copy .desktop to /var/home/USER/.config/autostart
Edit Exec=/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=solaar io.github.pwr_solaar.solaar --window=hide

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.