-
Notifications
You must be signed in to change notification settings - Fork 42
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LXQt: Tray starts, but I have to manually connect it to the Syncthing service #240
Comments
You have I don't know the exact details of your setup but I suppose you'll have to configure
Sorry, but I can't spend the effort of installing a particular OS.
I also cannot take the effort of supporting older versions. If there's really a bug it might have already been fixed. So please upgrade and test again if my suggestion doesn't help. If there's no package for your platform you'll need to compile one yourself. Maybe the binary in the release section on GitHub works as well.
That is most likely a self-contradicting statement. If you're using
Ok, so you have self-crafted a |
* Add `--wait` parameter so Syncthing Tray will wait until the tray becomes available; this might help if Syncthing Tray is started by the desktop environment before the tray is available (unless it is started too soon even for that) * Add `X-LXQt-Need-Tray=true` to ensure the system tray is available on LXQt because just `--wait` might not be sufficient here (according to #240); this is in-line with the autostart entry of https://github.com/lxqt/lxqt-powermanagement
Thanks for this excellent system tray integration!
Relevant components
syncthingctl
)libsyncthing
)Environment and versions
syncthingtray
,qtutilities
andc++utilities
: 1.3.2-2, 6.10.0-1, 5.20.0-1 (all as shown inapt info
)Bug description
I have syncthingtray installed and working in Lubuntu 23.10, which uses the
LXQt desktop environment. Though the tray itself works, it fails to connect to
my Syncthing instance, and remains on the gray icon with tooltip
when I hover over it. What's weird is, if I click the tray icon and click Connect
manually, it finds my Syncthing service and connects instantly, showing all
of my folders etc. as expected. So something about the "connect" action wired
to the button is working more effectively than the "connect" action that
syncthingtray claims it is trying automatically every 30 s.
I start Syncthing itself with a systemd user service
(
[email protected]
), and I start syncthingtray using a.desktop
entry (see below).
Steps to reproduce
.desktop
file below)Expected behavior
syncthingtray automatically starts and connects to the running Syncthing instance.
Actual behavior
syncthingtray starts, but I have to click on it and click Connect for it to find the Syncthing
service.
Additional context
I have read the Configuring systemd integration section of the README
and my setup appears to have everything that's required. Syncthing runs as
a user (not system) unit and
org.freedesktop.systemd1
appears inbusctl
(I haven't made any changes to the systemd configuration that ships with
Lubuntu).
Here is the
~/.config/autostart/syncthingtray.desktop
entry:The
--wait
option I added to syncthingtray in an attempt to solve the problemreported here, but makes no difference. The
X-LXQt-Need-Tray=true
optiondoes appear to be necessary—without it, I get nothing in the system
tray at all.
And here is
~/.config/syncthingtray.ini
:The text was updated successfully, but these errors were encountered: