-
Notifications
You must be signed in to change notification settings - Fork 62
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
So .... how to support Wayland? #174
Comments
@arija-ari maybe it is Window Manager that doesn't want to show the icon? #136 Anyways, what error do you get? |
@abitrolly The python script crashes, but I forgot the error, I used to X11 for that use-case. The reason why I posted no error here is, because the author is well aware about pystray not running on wayland, because it is not listed under the support platforms. So the lack of support for wayland is the problem, thank you. |
Are you sure it is Wayland problem, and not GNOME problem? |
@abitrolly The author explicitly mentions only mentions Xorg, thus Wayland support is not (officially) supported (although not sure if GNOME/Ubuntu are exceptions here): Line 6 in 1907f86
I was testing on Debian KDE under Wayland. Maybe I'm asking for KDE Wayland Support then. 🥲 |
@arija-ari, I personally use Wayland, and this library does work for me. That is because I use a desktop environment supported by AppIndicator. Wayland itself does not expose any system tray functionality, so there is not really anything I can do to add support in this library; perhaps if you install the Python bindings for AppIndicator for your system? I will close this issue now, since I do not think there is any way to add support for any Wayland system. |
@moses-palmer maybe improving error message could help users to understand the situation a bit. I dk, really. GNOME has some Panel Button API, but it is non public as far as I googled. |
Hey. I was super delighted to find this minimal lib to display a tray icon, it works well enough for my use-case and I don't have to depend on a huge library to do just one thing.
I wasn't able to predict that I would end up wanting Wayland support. I'm not sure if my Python script uses xwayland or not, but without
pystray
it runs fine under Wayland, I kinda wishpystray
would work on Wayland, too.This issue probably goes beyond the scope of this project, so I want to ask nicely, what are my lightweight possible alternatives? I'm ready to introduce redundant logic to cover Wayland, it's just that I cannot find a good lib that is lightweight.
Or can we actually push
pystray
towards Wayland support? I have no idea.The text was updated successfully, but these errors were encountered: