(note: I use xfce4)
Xfce4's screensaver logic (it starts either 'xscreensaver' or 'gnome-screensaver')