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

bugzilla-daemon at xfce.org bugzilla-daemon at xfce.org
Thu Jan 15 15:12:54 CET 2009


http://bugzilla.xfce.org/show_bug.cgi?id=3770





--- Comment #5 from Yves-Alexis Perez <corsac at debian.org>  2009-01-15 14:12:54 UTC ---
(In reply to comment #4)
> (In reply to comment #3) 
> > It's a ps/grep trick used not to have the grep command shown in the ps output.
> 
> I have no idea how it works.

In fact, the command is run by the shell, which expands [s] to s.

So what is grepped for is xscreensaver. But in ps output the run command is
[s]creensaver which is not matched by the grep.

 Why don't you just enclose the first character of
> each process name by square brackets?

That would do the trick too

-- 
Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the Xfce-bugs mailing list