3 if pgrep gnome-screensav
&>/dev
/null
; then
4 # this command actually starts gnome-screensaver if it isn\'t running.
6 gnome-screensaver-command
--exit &>/dev
/null
8 mate-screensaver-command
--exit &>/dev
/null
9 if ! pidof xscreensaver
; then
13 # 1 was not long enough
16 xscreensaver-command
-activate