birdtray
birdtray copied to clipboard
Birdtray error at startup Ubuntu 20.10
OS: Ubuntu 20.10 Linux Desktop Manager: Gnome Birdtray version: 1.9.0 Thunderbird version: 78.3.2 Birdtray origin: package manager
Description Birdtray is in my startup applications. At startup the following message appears:
2020-10-28 10:52:30 Birdtray version 1.9.0 started
2020-10-28 10:53:31 Sorry, system tray cannot be controlled through this add-on on your operating system.
Then I can start birdtray as any other other application and it does not raise any error and works properly.
Expected behavior Starts correctly during startup
Could you please try this fix and let me know?
Sorry, same error message with this commit.
Birdtray version 1.9.0 compiled at Oct 29 2020 09:04:46 using Qt 5.12.9
KeePassXC has a similar bug: https://github.com/keepassxreboot/keepassxc/issues/5691. Possibly related?
KeePassXC has a similar bug: keepassxreboot/keepassxc#5691. Possibly related?
I've been experiencing this bug since Ubuntu 20.10 update. The behavior of Birdtray and KeePassXC is quite different. Birdtray returns error on startup, but then works correctly on system tray after launched manually. On the other hand KeePassXC doesn't start on system tray as it's supposed to, but instead behaves like being minimized. There is no difference if I close it and relaunch.
Weird, closing and relaunching works for me.
Edit: For the author of that issue as well:
Closing and re-opening fixes this.
The bug is definitely not with keepassxc...
KeepassXC is fine with me too, only have issues with birdtray.
Same issue for me on Ubuntu 20.04. I recently got Birdtray (version 1.8.0, april20 build) via the Ubuntu Software app. When it launches as a startup application via the "birdtray" command, I get that exact error message. When I launch it manually after the OS has fully started up, it works fine.
I've the same issue on Manjaro 20.2.1 and Gnome 3.38.
On Ubuntu 20.10 you can use a delay (while this issue is not solved), it works for me: Edit this file
~/.config/autostart/birdtray.desktop
and add this line:
X-GNOME-Autostart-Delay=20
in 20 seconds, birdtray will start with no problems.
It seems that this issue is related to the start order of the apps at the start.
@felixoi AFAIK, gnome shell 3.36 has dropped support for tray icons completely. So, birdtray won't work on gnome shell >= 3.36; unless you add one of system tray extensions on it. After installing a system tray extension, you can run birdtray without problems.
I've tried a few, and I preferred this one: https://extensions.gnome.org/extension/615/appindicator-support/ It provides more native menus when clicked, however is not customizable. And also always shows the menu with left click.
You might also try one of these: https://extensions.gnome.org/extension/2890/tray-icons-reloaded/ https://extensions.gnome.org/extension/1503/tray-icons/ There might be more, but I tried these and all of them work.
I've not tried cinnamon, but it might also work with such extensions.
@gyunaev It's probably a good idea to add a note about Gnome Shell support in README. It took me awhile to understand why it doesn't work and how to fix it.