Xfce Forum

Sub domains
 

You are not logged in.

#1 2021-03-09 12:16:14

jarnos
Member
From: Finland
Registered: 2009-03-22
Posts: 50
Website

What starts xfce4-screensaver?

Starting xfce4-screensaver is not set in happen in "Session and Startup" dialog's "Application Autostart" tab, but it is running after boot. What starts it? Will it be started automatically also some other time after boot, if it is not running? Is there a way to stop it from being automatically run except for uninstalling it, if I e.g. want to use another screensaver utility?

I have Xfce 4.14 and xfce4-screensaver 0.1.10

Last edited by jarnos (2021-03-09 12:18:49)

Offline

#2 2021-03-09 22:56:20

Misko_2083
Member
Registered: 2015-10-13
Posts: 211
Website

Re: What starts xfce4-screensaver?

Look in /etc/xdg/autostart/

ls /etc/xdg/autostart/

Do you want to exit the Circus?
https://www.youtube.com/watch?v=ZJwQicZHp_c

Offline

#3 2021-03-10 10:34:34

jarnos
Member
From: Finland
Registered: 2009-03-22
Posts: 50
Website

Re: What starts xfce4-screensaver?

Setting in "Session and Startup" change files in ~/.config/autostart/ directory in Xubuntu 20.04 at least. There are desktop files for screensavers (except for gnome-screensaver). Those files have the following content

[Desktop Entry]
Hidden=true

or 'false', instead of 'true', if the item is checked at  "Session and Startup". Other screensavers follow that setting, and run their daemon automatically only, if the item is checked, but xfce4-screensaver does not.

In /etc/xdg/autostart/ directory there are respective desktop files, but they contain much more lines.

So the question remains. Where and when is xfce4-screensaver started and how do you control whether to run it or not?

Offline

#4 2021-03-10 11:09:49

jarnos
Member
From: Finland
Registered: 2009-03-22
Posts: 50
Website

Re: What starts xfce4-screensaver?

I forgot I had already filed an issue report about this at https://gitlab.xfce.org/apps/xfce4-scre … /issues/55

Offline

#5 2021-03-10 17:10:05

Misko_2083
Member
Registered: 2015-10-13
Posts: 211
Website

Re: What starts xfce4-screensaver?

jarnos wrote:

Setting in "Session and Startup" change files in ~/.config/autostart/ directory in Xubuntu 20.04 at least. There are desktop files for screensavers (except for gnome-screensaver). Those files have the following content

[Desktop Entry]
Hidden=true

or 'false', instead of 'true', if the item is checked at  "Session and Startup". Other screensavers follow that setting, and run their daemon automatically only, if the item is checked, but xfce4-screensaver does not.

In /etc/xdg/autostart/ directory there are respective desktop files, but they contain much more lines.

In that case xfce4-screensaver does not follow freedesktop specifications.
https://specifications.freedesktop.org/ … 01s02.html

Now I see in the link you posted.
Xfce screensaver is started by xfce4-session via IPC.
How unusual. Maybe it's a security feature. big_smile
Then you would have no other choice but to uninstall it.

Ideally, if they want to force it from xfce session,
there would be a dialog that asks from a list which one you want to use.
Something like screensaver chooser:
"we detected a new screensaver some_saver_here would you like to set it as default?"


Do you want to exit the Circus?
https://www.youtube.com/watch?v=ZJwQicZHp_c

Offline

#6 2021-03-12 17:48:20

jarnos
Member
From: Finland
Registered: 2009-03-22
Posts: 50
Website

Re: What starts xfce4-screensaver?

I even have 'xscreensaver' in /startup/screensaver/type property of xfce4-session channel in xfconf. I do not know, what sets it, but it does not seem to have any relevance, as xfce4-screensaver will be started anyway, and will be started again even if I run

xfce4-screensaver-command --exit

.

Last edited by jarnos (2021-03-12 17:54:19)

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.011 seconds, 8 queries executed - Memory usage: 536.58 KiB (Peak: 537.42 KiB) ]