2 if pgrep gnome-screensav
&>/dev
/null
; then
3 # this command actually starts gnome-screensaver if it isn\'t running.
5 gnome-screensaver-command
--exit &>/dev
/null
7 mate-screensaver-command
--exit &>/dev
/null
8 if ! pidof xscreensaver
; then
12 # 1 was not long enough
15 xscreensaver-command
-activate