Where is xfce4-screensaver started

Kai-Martin Knaak knaak at iqo.uni-hannover.de
Tue Mar 8 19:15:02 CET 2022


On  8. March 2022 Jarno Suni <sunijarno at gmail.com> wrote:

> If xfce4-screensaver is installed, it will be started even if it is
> not set in "Application Autostart" tab of  "Session and Startup"
> dialog. That breaks user's ability to configure which screensaver to
> use. So where it is started? Which project is responsible for starting
> it?

IMHO, xfwm starts xflock4, which is a fairly simple shell script that
looks for a few popular screensavers. The first one found gets started.

There are a few options to start user configured screensavers:

1) Define a global shell variable $LOCK_CMD to contain the desired
screensaver command.

2) Edit the script /usr/bin/xflock4

3) Put an alternative script in /usr/local/bin/xflock4
If the $PATH variable is defined decently, this script will take
precedence over the one in /usr/bin/ .

Hope, that helps, 

---<)kaimartin(>---

-- 
Kai-Martin Knaak                           knaak at iqo.uni-hannover.de
Universität Hannover, Inst. für Quantenoptik   tel: +49-511-762-2895
Welfengarten 1, 30167 Hannover                 fax: +49-511-762-2211
PGP-Key: https://keys.openpgp.org/search?q=knaak@iqo.uni-hannover.de
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://mail.xfce.org/pipermail/xfce/attachments/20220308/530bede9/attachment.sig>


More information about the Xfce mailing list