By default, xfce screensaver requires xscreensaver. You have the *option* to remove xscreensaver using the following command (as privileged):
Code:
apt-get remove xscreensaver
To install gnome-screensaver use the following command (as privileged):
Code:
apt-get install gnome-screensaver
To auto-start gnome-screensaver, add it as an Autostarted Application:
Xfce menu > Settings > Autostarted Applications
The command for starting the gnome-screensaver daemon is:
To be able to use the action button "Lock screen" to start gnome-screensaver immediately and lock your screen, modify the file
/usr/bin/xflock4:
Code:
#xscreensaver-command -lock || xlock $*
gnome-screensaver-command --lock
exit 0
Note that the original xscreensaver command is now commented. To be safe, backup the original copy of xflock4 (as privileged):
Code:
cp /usr/bin/xflock4 /usr/bin/xflock4.orig
Hope that helps.