Teemu Ikonen <tpiko...@gmail.com> wrote: > The attached patch makes the 'xset s' codepath the default. It > is now run if the DE is detected, but there is no specialized > code to handle its screensaver.
On further testing I noticed that this patch breaks programs which expect 'xdg-screensaver lock' to succeed (for example xfce4-power-manager complains about not able to lock screen on suspend). This is because the 'screensaver_xserver' code in xdg-screensaver does not support the lock subcommand. The bug report itself is still valid though, LXDE users without a screen saver other than the X server blanking would benefit from having a working 'xdg-screensaver reset' command, which is used by many media players to inhibit screen saving. I found this bug when setting up xss-lock. I ended up writing a patch to support it explicitly in xdg-screensaver, submitted to upstream here: https://bugs.freedesktop.org/show_bug.cgi?id=108865 Best, Teemu