http://bugzilla.xfce.org/show_bug.cgi?id=5121
Robby Workman <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #2239|0 |1 is obsolete| | --- Comment #2 from Robby Workman <[email protected]> 2009-03-18 15:53:01 UTC --- Created an attachment (id=2241) --> (http://bugzilla.xfce.org/attachment.cgi?id=2241) Try #2 Good point. How's this? (hopefully it's not overcomplicated) * attached patch implements this version * if test x"$(which slock 2>/dev/null)" != x"" ; then if ! ( ps -fC xscreensaver | grep $USER ) ; then if ! ( ps -fC gnome-screensaver | grep $USER ) ; then slock fi fi elif test x"$(which xscreensaver-command 2>/dev/null)" != x"" ; then xscreensaver-command -lock elif test x"$(which gnome-screensaver-command 2>/dev/null)" != x"" ; then gnome-screensaver-command --lock else xlock $* fi exit 0 -- Configure bugmail: http://bugzilla.xfce.org/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. _______________________________________________ Xfce-bugs mailing list [email protected] http://foo-projects.org/mailman/listinfo/xfce-bugs
