Xfce Forum

Sub domains
 

You are not logged in.

#1 2023-01-09 03:29:28

bpglinux
Member
Registered: 2023-01-09
Posts: 1

Which screensaver theme just ran?

Running xfce4-screensaver with -many- themes, set to random.

How do I determine which theme just ran? So I can do things like adjust settings, disable themes I don't like, etc.

xfce4-screensaver seems to have the same management UI, or very similar, to good ol' xscreensaver, which I used to run on older machines. xscreensaver management UI would open to the most recent theme to run if you opened it after unlocking the screen. xfce4-screensaver management UI does not seem to do this.

Offline

#2 2023-01-09 12:23:16

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,485

Re: Which screensaver theme just ran?

Hello and welcome.

I wasn't able to find any way for the app to display the running screensaver as an overlay on the screen. However, you could run the screensaver in debug mode, pipe the output to a file, and search for a specific string to identify the screensaver:

xfce4-screensaver-command --exit
xfce4-screensaver --debug > /tmp/gs-debug-log.txt 2>&1

And then after a screensaver has run:

cat /tmp/gs-debug-log.txt | grep "Setting command for job" | awk '{print $3 $8}'

...to identify which one it was.


Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki  |  Community | Contribute ---

Offline

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

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.013 seconds, 8 queries executed - Memory usage: 518.65 KiB (Peak: 519.49 KiB) ]