http://bugzilla.xfce.org/show_bug.cgi?id=5121
--- Comment #4 from Robby Workman <[email protected]> 2009-03-27 16:51:49 UTC --- Okay, rather than a patch, here's my latest proposal. It's a few more lines than what is currently present though... I've got a request for some gnome guys to verify that gnome-screensaver behaves the same as xscreensaver with respect to what -command returns if the daemon isn't running, but assuming it does, I think this will work: if [ -x $(which xscreensaver-command 2>/dev/null) ]; then xscreensaver-command -lock || break fi if [ -x $(which gnome-screensaver-command --lock 2>/dev/null) ]; then gnome-screensaver-command --lock || break fi if [ -x $(which slock 2>/dev/null) ]; then slock || break fi xlock $* 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
