Is there a way to run the application as a screensaver on Linux?

I want to run a full-screen application as a screen saver. Is this possible on Linux? It seems that XScreenSaver cannot do this and GnomeScreenSaver has it on its wish list.

+3
source share
1 answer

A test (untested) that could work would be to run your program under Xnest .

something like this pseudo-call might work:

#get root window id
RWINID=$(xwininfo -root |sed -n -e 's/.*Window.*id: \(0x[a-f0-9]\+\).*/\1/p')
#start Xnest on the root window
Xnest -parent $RWINID :5
DISPLAY=":5" myapp
+2
source

Source: https://habr.com/ru/post/1712552/


All Articles