[Xfce-bugs] [Bug 10217] Xflock4 doesn't know about proper lockers

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Sun Oct 12 22:58:24 CEST 2014


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

--- Comment #32 from Guido Berhoerster <gber at opensuse.org> ---
(In reply to Jarno Suni from comment #28)
> Created attachment 5682 [details]
> Not using pidof to detect which screensaver is running, as adviced in
> comment 19. Does not add support for mate-screensaver and
> cinnamon-screensaver, yet, because I can't test it.
> 
> In case xfconf implementation will not finish soon, I did try to fix xflock4.

The thing is that xflock4 is not fixable, it's a hack that's broken by design
and needs to go away.

(In reply to Jarno Suni from comment #29)
> (In reply to Eric Koegel from comment #20)
> > You're right (as always). pgrep might be a better tool than pidof,
> > availability-wise.
> 
> Maybe, and how is pgrep multiuser-wise?

No, for non-cooperating screensavers (i.e. which provide a cli tool like
xscreensaver) it is impossible to reliably implement such a check, particularly
cross-platform. Instead of adding hack upon hack for obscure lockers that two
people actually use, this should to be turned into a setting. So if you want to
help out, you could start turning the locking command into a xfconf setting.

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


More information about the Xfce-bugs mailing list