SystemTray icon indicating copy to clipboard operation
SystemTray copied to clipboard

System Tray icon on CentOS Stream 9

Open gmseed opened this issue 1 year ago • 1 comments

Hi

I'm using DorkBox's SystemTray on Windows 10, Linux Mint/Ubuntu and Apple and works as expected. I recently developed a build of our software for CentOS Stream 9 and discovered that the system tray icon was not displayed.

Has anyone seen this?

Stepping in with the debugger it throws the exception:

"Caused by: java.lang.IllegalAccessError: superclass access check failed: class dorkbox.util.ImageUtil$1 (in module dorkbox.utilities) cannot access class java.awt.Component (in module java.desktop) because module dorkbox.utilities does not read module java.desktop"

Thanks Graham

gmseed avatar Dec 01 '24 19:12 gmseed

Turns out that the system-tray is not supported on CentOS/Rocky by default but can be installed as an "AppIndicator" extension by clicking the Install button in this link:

https://extensions.gnome.org/extension/615/appindicator-support/

gmseed avatar Feb 14 '25 16:02 gmseed