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

Tray click events on linux not firing #104

Open
svefro opened this issue Dec 10, 2023 · 6 comments
Open

Tray click events on linux not firing #104

svefro opened this issue Dec 10, 2023 · 6 comments

Comments

@svefro
Copy link

svefro commented Dec 10, 2023

  • LeftClick
  • RightClick
  • DoubleClick

Are not triggered on linux.

I have found out that this is due to a limit in libappindicator used on linux.

Is it possible to switch to another lib or to submit a feature request to the maintainers of libappindicator?
I can not find it.

@amrbashir
Copy link
Member

The situation on Linux is in a weird state, libappindicator is deprecated and the new maintained version is libayatana-appindicator which still doesn't support the click events, there is also KDE/freedesktop StatusNotifierItem specification and there is an implementation of it here https://github.com/iovxw/ksni but I am not sure if it supports that either or if other distros other than KDE support it.

@svefro
Copy link
Author

svefro commented Dec 12, 2023

It's always in a weird state on linux :p
Thanks for the informative and quick reply.

I guess that getting this to work on KDE is better than no linux distros.
Anyway i think the issue should remain open until it has been resolved so it is a fully featured tray icon.

Maybe this crate should switch to use https://github.com/iovxw/ksni "under the hood"?
At least if running on KDE.

@vangork

This comment has been minimized.

@FabianLars

This comment has been minimized.

@vangork

This comment has been minimized.

@amrbashir

This comment has been minimized.

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

4 participants