Xfce Forum

Sub domains
 

You are not logged in.

#1 2023-10-04 08:01:20

Jakob77
Member
Registered: 2022-11-03
Posts: 58

A stand alone screensaver.? [Solved]

I would very much like a screensaver that I can just copy into a user bin folder so the user can run it full screen from there.
No install, nothing that runs in the background. Just a file that is doing nothing until it is executed.

Is that possible.? :-)

Last edited by Jakob77 (2023-10-10 21:32:10)

Offline

#2 2023-10-10 10:04:56

Jakob77
Member
Registered: 2022-11-03
Posts: 58

Re: A stand alone screensaver.? [Solved]

If I copy

/usr/libexec/xscreensaver/noof

To ~/bin

And if I afterwards execute 'noof -help' in Terminal it actually works with only that one file standing alone.
I am very happy about that huge progress. :-)


If it is okay to do it that way maybe the only thing left is to make it run full screen by command.

How do you do that.?

noof -root

doesn't work.

It looks like the "-root" option makes the screensaver run in the background where it can't be seen and is doing no good.


Thank you in advance for advice about how to make the screensaver start in full screen in a way so it can be seen. :-)

Offline

#3 2023-10-10 10:33:26

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

Re: A stand alone screensaver.? [Solved]

How about starting it in a window and the full-screening that window?

/usr/lib/xscreensaver/noof -window & sleep 1; wmctrl -r :ACTIVE: -b add,fullscreen

Press "Esc" to cancel the screensaver.


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

#4 2023-10-10 19:04:21

Jakob77
Member
Registered: 2022-11-03
Posts: 58

Re: A stand alone screensaver.? [Solved]

I have it in ~/bin and it is in PATH so I can just go like this:

noof -window & sleep 1; wmctrl -r :ACTIVE: -b add,fullscreen

Terminal output:
[3] 15098
[2]   Færdig                 noof -window


And thank you very much, it actually works. :-)

But I don't really understand the magic code and if I add another option it falls apart.
For instance this one to save the processor and avoid stress:

-delay 50000

Edit:
I think I figured it out.
I just put the new option code last in syntax and then it all works fine.
Thank you very much again.! :-)

Last edited by Jakob77 (2023-10-10 21:29:32)

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, 7 queries executed - Memory usage: 524.42 KiB (Peak: 530.01 KiB) ]