FS#45601 - [xscreensaver] make xscreensaver run automatically at startup

Attached to Project: Arch Linux
Opened by Laurent Pointecouteau (hellpe) - Thursday, 09 July 2015, 15:27 GMT
Last edited by Eric Belanger (Snowman) - Tuesday, 14 July 2015, 23:27 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Since the intended behaviour for xscreensaver is to launch automatically in the background at startup, I was wondering what is the best way to do that.

The wiki recommends several methods: https://wiki.archlinux.org/index.php/XScreenSaver#Starting_XScreenSaver

But they don't seem the best to me: the first asks to create a ~/.xinitrc file, which I don't have in my setup (using GNOME 3.16). Another one recommends to use gnome-screensaver, which is deprecated (https://mail.gnome.org/archives/desktop-devel-list/2014-October/msg00088.html), and which the xscreensaver manual strongly advices against (http://www.jwz.org/xscreensaver/man1.html#8).

I've looked into the Startup Applications option in gnome-tweak-tool, but it only allows me to pick up apps which come with a launcher. I've finally found out that you have to create a launcher file in the ~/.config/autostart folder to make xscreesaver run at startup, as intended.

I've attached my xscreensaver.desktop file, which may not be correctly written. I can confirm that putting this in the ~/.config/autostart makes xscreensaver works automatically on my GNOME setup (that may work for KDE desktops too). Would you please consider adding such a file to the xscreensaver package?
This task depends upon

Closed by  Eric Belanger (Snowman)
Tuesday, 14 July 2015, 23:27 GMT
Reason for closing:  Won't implement
Comment by Jan de Groot (JGC) - Thursday, 09 July 2015, 21:33 GMT
Gnome provides its own screen locking through gdm, so no, we won't add this to the xscreensaver package, as it will cause conflicts otherwise.

Loading...