gammy icon indicating copy to clipboard operation
gammy copied to clipboard

Tray icon does not appear when running on startup

Open ghost opened this issue 4 years ago • 6 comments

Hello! After rebooting I got an error and system tray doesn't load. Gammy starts on startuo but after I close the window I can't configure the brightness. The only way it can work is if I start gammy again from terminal and keep it running. There is also an error report in home that says: 2020-12-16 01:07:22.759 WARN [2907] [MainWindow::init@78] System tray unavailable. Closing the settings window will quit the app

OS: Ubuntu 20.04 Is there any solution for this issue? Thank you very much!

ghost avatar Dec 15 '20 23:12 ghost

Hello, try installing this extension for gnome: https://extensions.gnome.org/extension/615/appindicator-support/

f-fusco avatar Dec 16 '20 22:12 f-fusco

This has been happening to me as well lately for some unknown reason. The system tray takes too long to initialize and it's not detected at startup.

f-fusco avatar Dec 24 '20 23:12 f-fusco

Hello! I found a partial solution. I assigned a keyboard shortcut to the same command as startup. If i start Gammy from my keyboard shortcut, system tray works fine. If I close the window the program keeps running at sysstem tray.

ghost avatar Dec 25 '20 08:12 ghost

I tried checking for the systray availability multiple times with 10 second intervals when starting the app, to no avail. When it's set to run at startup, Qt fails to detect the tray, even after other apps clearly show up in the tray menu.

I found a workaround though: in gnome-session-properties simply sleep for 10 seconds before launching, like so: immagine I'll try integrating this workaround in the app if I can't find another solution.

f-fusco avatar Dec 26 '20 14:12 f-fusco

Does anyone know how to get this working in dwm? (dwm does not have a system tray)

Albonycal avatar Jun 18 '21 09:06 Albonycal

(dwm does not have a system tray)

For https://github.com/helloSystem/ISO/issues/96 I identified stalonetray as a candidate.

https://kolbusa.github.io/stalonetray/

grahamperrin avatar Jun 19 '21 06:06 grahamperrin