powerkit icon indicating copy to clipboard operation
powerkit copied to clipboard

wayland support

Open hanckmann opened this issue 5 years ago • 4 comments

Hi,

When compiling it seems that powerkit depends on X and Xscreensaver. I am on wayland (sway) and looking for a nice power-manager. Is wayland support planned?

hanckmann avatar Apr 25 '20 10:04 hanckmann

powerkit need to get user idle time from X (mouse/keyboard). I don't use wayland, but if you give me a link to something I can use (a lib or api) on wayland I can take a look.

rodlie avatar Apr 25 '20 12:04 rodlie

https://bugs.freedesktop.org/show_bug.cgi?id=105638

rodlie avatar Apr 25 '20 13:04 rodlie

Frankly, I have no idea. I just switched to wayland (sway) and I miss a good power manager. So I looked here and was hoping this could work. I know that wayland has very different methods of working with things like screensavers and such. But, I cannot point you into a direction as I know too little about these things.

hanckmann avatar Apr 25 '20 14:04 hanckmann

powerkit need to get user idle time from X (mouse/keyboard). I don't use wayland, but if you give me a link to something I can use (a lib or api) on wayland I can take a look.

Just want to add a note bc I'm also looking for a power manager on sway. Will probably try to make some dirty hacks to powerkit to make it run on wayland when I got time.

These three protocols seems relevant:

Though the first one is wlroots-only, which means it only works for comositors like sway, hyprland, etc.

amnore avatar Dec 14 '23 01:12 amnore