Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#67259 - [xscreensaver] Add systemd service
Attached to Project:
Arch Linux
Opened by Moabit (Moabit) - Monday, 13 July 2020, 04:19 GMT
Last edited by Andreas Radke (AndyRTR) - Monday, 13 July 2020, 09:03 GMT
Opened by Moabit (Moabit) - Monday, 13 July 2020, 04:19 GMT
Last edited by Andreas Radke (AndyRTR) - Monday, 13 July 2020, 09:03 GMT
|
DetailsDescription:
xscreensaver has crashed several times in the last week or so. It would be useful if there were a systemd service bundled so that it could automatically restart. It would also be useful for ease in installation, etc. Additional info: * package version(s) xscreensaver 5.44-1 Steps to reproduce: Install xscreensaver. Observe lack of bundled systemd service. |
This task depends upon
Unfortunately, if xscreensaver crashes while actively displaying, your system is still going to be unprotected until the screensaver timeout elapses again. Ideally it would immediately activate again, but I'm not sure how to detect if it's displaying or not.
```
[Unit]
Description=xscreensaver daemon
[Service]
Type=simple
ExecStart=/usr/bin/xscreensaver -nosplash
Restart=always
RestartSec=100ms
[Install]
WantedBy=default.target
```
```
[Unit]
Description=xscreensaver daemon
StartLimitIntervalSec=0
[Service]
Type=simple
ExecStart=/usr/bin/xscreensaver -nosplash
Restart=always
RestartSec=2
[Install]
WantedBy=default.target
```