mate-desktop / mate-power-manager

Power management tool for the MATE desktop
https://mate-desktop.org
GNU General Public License v2.0
59 stars 51 forks source link

Feature request: support for Wayland #350

Open Iey4iej3 opened 4 years ago

Iey4iej3 commented 4 years ago

It seems to me that the current MATE power manager does not work under Wayland, even if XWayland is enabled. I tried that under swaywm.

lukefromdc commented 3 years ago

I think I know why: the tray icon. Tray icons use GtkPlug/GtkSocket, which in turn relies on xembed, which is X11-only and does NOT work with xwayland Can you test again by first setting m-p-m to not show an icon, then trying to start it in your swaywm (or other wayland) session? If that works, supporting indicator mode for the icon could offer a way forward

rubyFeedback commented 2 years ago

Perhaps that could be a meta-issue to see how much work it would be to have mate-desktop support wayland. Hopefully just as an option because I have been using xorg-server for so many years - I am a very lazy and selfish individual, I want others to smoothen out everything before I switch to anything else. :D

How does GNOME handle GtkSocket + wayland support for it?

mbkma commented 2 years ago

We already have a tracker for wayland support, see https://wiki.mate-desktop.org/developers-corner/wayland-meson/ Some more information on that website would be nice of course...

wb9688 commented 2 years ago

@rubyFeedback: GNOME does not support tray, though there are shell extensions that add support for it.

Besides GtkSocket/GtkPlug, there is another way to implement tray: Ayatana Indicators, which works using D-Bus.