birdtray icon indicating copy to clipboard operation
birdtray copied to clipboard

Birdtray error at startup Ubuntu 20.10

Open alxsimon opened this issue 5 years ago • 11 comments

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

alxsimon avatar Oct 28 '20 09:10 alxsimon

Could you please try this fix and let me know?

gyunaev avatar Oct 29 '20 02:10 gyunaev

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

alxsimon avatar Oct 29 '20 08:10 alxsimon

KeePassXC has a similar bug: https://github.com/keepassxreboot/keepassxc/issues/5691. Possibly related?

TheLastZombie avatar Nov 13 '20 12:11 TheLastZombie

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.

Aenye-Cerbin avatar Nov 13 '20 12:11 Aenye-Cerbin

Weird, closing and relaunching works for me.

Edit: For the author of that issue as well:

Closing and re-opening fixes this.

TheLastZombie avatar Nov 13 '20 12:11 TheLastZombie

The bug is definitely not with keepassxc...

droidmonkey avatar Nov 14 '20 12:11 droidmonkey

KeepassXC is fine with me too, only have issues with birdtray.

alxsimon avatar Nov 14 '20 13:11 alxsimon

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.

kobligo avatar Dec 31 '20 11:12 kobligo

I've the same issue on Manjaro 20.2.1 and Gnome 3.38.

felixoi avatar Mar 09 '21 13:03 felixoi

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.

juanromay avatar Mar 11 '21 20:03 juanromay

@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.

hedayat avatar Apr 20 '21 11:04 hedayat