/usr/share/doc/xscreensaver/README.Debian is in xscreensaver 5.30-1+deb8u2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | XScreenSaver autostart
======================
There is an example desktop file for XDG-compliant session managers
in /usr/share/xscreensaver called xscreensaver-daemon.desktop
If you want XScreenSaver to autostart in your sessions just copy it
to ~/.config/autostart , or if you want it for all users copy it
to /etc/xdg/autostart . If you don't need to modify it, consider
soft-linking it instead of copying, so that future improvements will
take effect automatically.
The use of a NotShowIn option can be useful if you install the desktop
file globally but have several desktop environments installed.
For instance, if you have nuked gnome-screensaver and replaced it
by xscreensaver, using a desktop file globally will be handy, but in
that case you should use NoShowIn=KDE; just to avoid starting it in
KDE sessions.
If you use xscreensaver in other xdg-compliant environments
but gnome-screensaver and kscreensaver for Gnome and KDE, using
NoShowIn=KDE;GNOME; might suit your purpose.
Note that the example desktop file does not start the daemon directly
but via a wrapper script. This wrapper is intended to set the
newLoginCommand resource correctly depending on the currently
running display manager.
|