[Xfce-bugs] [Bug 12415] xflock4 should check wich screensaver is *running*

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Wed Jan 20 16:25:08 CET 2016


https://bugzilla.xfce.org/show_bug.cgi?id=12415

--- Comment #3 from Jarno Suni <8 at iki.fi> ---
Unfortunately it may not work properly even if you put light-locker-command
before some other check in current form: If light-locker is installed, but not
running, `light-locker-command -l` will exit with 0 and thus the script exists,
too, but does not do what it is asked for.

In Bug #3770 I presented a way to detect, if a daemon is running, but it was
not accepted for some reason, maybe portability. Actually the behavior of
gnome-screensaver was reported as bug in 2010 and was reported to be fixed
then, too: https://bugzilla.gnome.org/show_bug.cgi?id=629740, but the bug still
exists in latest Ubuntu's (15.10) gnome-screensaver 3.6.1.

As for light-locker, the check could use command `light-locker-command -q`
which seems to display
** Message: Locker is not running!
if the daemon is not running; that of course requires that light-locker is
installed.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Xfce-bugs mailing list