! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xflock4 should test running screensaver
Status:
RESOLVED: DUPLICATE
Product:
Xfce-utils
Component:
General

Comments

Description Yves-Alexis Perez editbugs 2008-01-08 22:51:03 CET
xflock4 script shouldn't test for installed screensaver but rather for running screensaver.

Attached patch does this, using only ps/grep to not depend on procps (for pgrep) because some OS don't have it.
Comment 1 Yves-Alexis Perez editbugs 2008-01-08 22:51:45 CET
Created attachment 1489 
test the running screensaver
Comment 2 Brian J. Tarricone (not reading bugmail) 2008-01-08 22:56:25 CET
(In reply to comment #1)
> Created an attachment (id=1489) [details]
> test the running screensaver
> 

Why the brackets around the 's' characters in the grep command?
Comment 3 Yves-Alexis Perez editbugs 2008-01-08 23:05:27 CET
So the ps isn't matched.
Comment 4 Brian J. Tarricone (not reading bugmail) 2008-01-08 23:23:56 CET
Oh, cool.  Learn something new every day...  I'm ok with this; I'll commit it later if no one else gets to it first.
Comment 5 Yves-Alexis Perez editbugs 2008-01-11 11:22:34 CET
Hmhm I forgot I had already opened a bug for this :) This is a duplicate of 3770

Sorry for the mess.
Comment 6 Jean-François Wauthy editbugs 2008-01-11 11:59:30 CET

*** This bug has been marked as a duplicate of bug 3770 ***
Comment 7 Yves-Alexis Perez editbugs 2008-06-23 09:43:46 CEST
Any news from this? :)

Bug #3791

Reported by:
Yves-Alexis Perez
Reported on: 2008-01-08
Last modified on: 2009-07-14

People

Assignee:
Xfce Bug Triage
CC List:
0 users

Version

Attachments

test the running screensaver (604 bytes, patch)
2008-01-08 22:51 CET , Yves-Alexis Perez
no flags

Additional information