For Debian Lenny, put this line in config file,

heartbeat-cmd=”gnome-screensaver-command -p”

(It’s in the man page)