lxqt / lxqt-powermanagement

Power management module for LXQt
https://lxqt.github.io
GNU Lesser General Public License v2.1
26 stars 29 forks source link

Also suspend screensaver when idle watcher is enabled #376

Closed tsujan closed 1 year ago

tsujan commented 1 year ago

Without this, the screensaver timeout will kick in and interfere with our daemon. The suspension will be reverted when the idle watcher is disabled or the daemon is stopped.

Fixes https://github.com/lxqt/lxqt-powermanagement/issues/374 completely

tsujan commented 1 year ago

@stefonarch If you use a screen-locker, could you please check whether it works with this patch (when "Lock Screen" is chosen in the idle watcher)? It should work, but I've seen too may unexpected things about DPMS.

stefonarch commented 1 year ago

It works fine here I see, using xautolock and i3lock xautolock -time 20 -locker i3lock-fancy

tsujan commented 1 year ago

Any objection to merging?