sigmaSd / Stimulator

Keep your computer awake
https://flathub.org/apps/io.github.sigmasd.stimulator
MIT License
17 stars 9 forks source link

[Kde-X11] Screen turns off despite toggles being enabled #75

Closed Victor239 closed 9 months ago

Victor239 commented 9 months ago

I've got both toggles enabled, yet my screen still turns off in accordance with my KDE Screen Energy Saving settings. How can I troubleshoot this?

System:

sigmaSd commented 9 months ago

Thanks for the issue, I'll see if I can reproduce the issue then debug from there

If you want to try to debug, you should try journalctl -f then toggle the buttons, as first step to see if there are any obvious errors

Victor239 commented 9 months ago

No, it doesn't trigger any new messages by toggling.

sigmaSd commented 9 months ago

I did some tests,

I can see the inhibitors active with dbus spy, so the most likely case its a bug in kde

sigmaSd commented 9 months ago

Reading this https://phabricator.kde.org/D11182 it seems like the bug is kde wayland instead of xorg (wayland should also dim screen when stimualtor is active but its not)

kde wants to use this portal instead org.freedesktop.ScreenSaver.Inhibit

Gnome is not doing the same thing

This should be fixable, but I'll have to read up on the spec, and check which one is following the spec

sigmaSd commented 9 months ago

fixed in https://github.com/sigmaSd/Stimulator/commit/f37bc516c1547e199d56f812084d02f409a49bbf should be available next release

sigmaSd commented 9 months ago

fixed in 1.0 (should be available in flathub soon), if you keep having issues feel free to reopen