Bug#914613: xdg-screensaver: Does nothing for many DEs (lxde, dde, enlightenment etc.)

Teemu Ikonen tpikonen at gmail.com
Tue Nov 27 07:46:36 GMT 2018


Teemu Ikonen <tpikonen at 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


More information about the Pkg-freedesktop-maintainers mailing list