This is an old revision of the document!
Xfce Screensaver FAQ
Why doesn't my monitor turn off automatically?
Display Power Management Signaling (DPMS) has been disabled by another application. This can be confirmed and resolved using the
xset command. To check if DPMS is disabled, run the below command.
$ xset -q DPMS (Energy Star): Standby: 1200 Suspend: 0 Off: 3600 DPMS is Disabled
If DPMS is disabled, it can be turned back on with
$ xset +dpms $ xset -q DPMS (Energy Star): Standby: 1200 Suspend: 0 Off: 3600 DPMS is Enabled Monitor is On
Why doesn't my screensaver activate automatically?
The screensaver daemon is not currently running. You can check this by looking at the running processes, or just run
xfce4-screensaver to start it up. Only one instance will run at a time, and you will be notified if it is already running.
$ xfce4-screensaver ** (xfce4-screensaver:9788): WARNING **: 01:15:42.354: screensaver already running in this session
Another application has disabled the X11 screensaver. This can be determined by running
$ xdg-screensaver status disabled
If this command outputs “disabled”, try running the following commands to enable the screensaver.
$ xset s blank # Sets the X11 screensaver mode to "blank" $ xset s 300 # Sets the X11 screensaver timeout to 5 minutes $ xdg-screensaver status enabled
Where are all the screensavers?
Xfce Screensaver uses Xscreensaver-compatible screensavers. These can usually be installed separately from the main Xscreensaver package.
If you've already installed the screensavers and they still are not available, you may need to create desktop entries for them so they can be found by Xfce Screensaver. In the future, this process will be automated by Xfce Screensaver. Meanwhile, it is not hard to make your own.
By looking at
/usr/share/xscreensaver/config/abstractile.xml, all of the importing information can be found.
<?xml version="1.0" encoding="ISO-8859-1"?> <screensaver name="abstractile" _label="Abstractile"> <command arg="-root"/> ...
The compatible desktop entry, installed to
/usr/share/applications/screensavers/abstractile.desktop, looks like this.
[Desktop Entry] Type=Application Name=Abstractile Exec=/usr/lib/xscreensaver/abstractile -root TryExec=/usr/lib/xscreensaver/abstractile Categories=Screensaver;
In this example, you can see that the
Name key is derived from the screensaver label,
TryExec both use the screensaver binary path, and the
Exec key also includes the command arguments.