Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support for CentOS9 / RHEL9? #177

Open
bryanlarsen opened this issue Jul 13, 2024 · 4 comments
Open

support for CentOS9 / RHEL9? #177

bryanlarsen opened this issue Jul 13, 2024 · 4 comments

Comments

@bryanlarsen
Copy link

tray-icon does not create tray icons on RHEL or CentOS stream 9. Not surprising, they use a version of GNOME that doesn't support tray icons out of the box, so at first glance this seems like an obvious WONTFIX.

Electron apps such as slack support tray icons on Stream9 though. They have a dependency on "libappindicator-gtk3" like tray-icon does. That's not in the base repository but if you add the EPEL repository (which basically everybody does) then slack installs. The tray icon doesn't work, but at least the app installs and works.

Installation of https://extensions.gnome.org/extension/615/appindicator-support/ allows the slack tray icon to show and work.

Our app (which uses tray-icon 0.14.3) doesn't display an icon on stream9. Neither does rustdesk, which uses tray-icon 0.11.3 on its release version (1.2.6) and 0.14.3 on its nightly build.

It would be nice to bring Tauri up to parity with Electron in this area by supporting tray icons on RHEL / CentOS 9.

tray-icon works fine on Fedora Core 39 and later, so RHEL10 will likely work fine, but RHEL10 is still a year away.

@bryanlarsen
Copy link
Author

Correction: rustdesk nightly uses tray-icon 0.11.3. I'll try and build and run rustdesk master which uses 0.14.3.

@bryanlarsen
Copy link
Author

correction correction: rustdesk nightly does use the master branch (with 0.14.3), not the branch labelled "nightly". :)

@amrbashir
Copy link
Member

We use libappindicator-rs under the hood which tries to use libayatana-appindicator if exists and fallsback to old libappindicator if it doesn't, I don't see why it shouldn't work but I don't use CentOS9/RHEL9 and really don't have the time to setup one to test so hopefully someone with access to these distros can help fix this.

@bryanlarsen
Copy link
Author

libappindicator-rs works for us on CentOS9. It certainly could be PBKAC that prevents tray-icon from working for us on CentOS9. It also failing on rustdesk led me to suspect that the problem was with tray-icon but it's possible that both rustdesk & us are using tray-icon wrong.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants