Created attachment 1591338 [details]
example python code for libappindicator-gtk3
Description of problem:
I can display my tray icon with libappindicator-gtk3 on RHEL 7.6. But no RHEL 8, I found it failed with the same codes.
Version-Release number of selected component (if applicable):
RHEL 8: Linux rhel8 4.18.0-80.el8.x86_64 #1 SMP Wed Mar 13 12:02:46 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
libappindicator-gtk3: libappindicator-12.10.0-19.el8.src.rpm (from repo: rhel-8-for-x86_64-appstream-rpms)
Run the example python code for libappindicator-gtk3.
Steps to Reproduce:
1.yum install -y libappindicator-gtk3
2.run the attachment in desktop, for example:
[beiw@rhel76 ~]$ python3 appIndicatorTest.py
No new icon in the system tray
A new icon in the system tray
Created attachment 1591339 [details]
The result on RHEL 7.6
Fwiw, the same (not working) on Fedora 29.
Then, is libappindicator-gtk3 not supported on RHEL8? How can I create a tray icon? Thanks a lot.
This GNOME extension may be of help:
Thank you very much for your info. I checked the gnome-shell-extension you attached. It used libappindicator too. I can't see the tray icon with it too.
Sorry, I found I misunderstood your meaning. With this gnome shell extension, libappindicator can be used now. Thanks a lot.
Now I can display the tray icons with libappindicator. You can close this bug. Thank you very much.