3

Is there an easy way to use a web page as a screen saver under Linux? preferably without allowing any interaction with whats presented.

I'd like idle admin desktops to show our network monitoring page.

2 Answers 2

1

The KDE Plasma Desktop allows "Widgets on the screensaver". You could use this to display the "Web browser widget" on the screensaver.

It's also possible to code your own widget in JavaScript or Python, making the interactions more restricted.

2
  • The web page widgets are not available to me in the screensaver setup mode -- any ideas why?
    – K Robinson
    Apr 2, 2012 at 18:13
  • The set of widgets is limited, to avoid a security hole. A webbrowser is quite hard to confine :) (or maybe they were just a bit conservative)
    – vdboor
    Apr 2, 2012 at 21:55
-1

use cutycapt from http://cutycapt.sourceforge.net/ ...

"CutyCapt is a small cross-platform command-line utility to capture WebKit's rendering of a web page"

cron as "nobody" (or equivalent) every minute to run cutycapt into

imagedir/`date +nagios-%y-%m-%d_%T.jpg` 

and auto-cleanup at the same time as you create the image file

. * * * * * dir="/usr/share/admin/ScreenSaverDir" && a=`date +$dir/nagios-%y-%m-%d_%T.png` && CutyCapt --url=http://nagios.MyDomain.com/ --out=$a && b=`ls -1tr $dir | tail -1` && rm `ls -1  $dir | egrep -v $b`

aim your screensaver at that directory with a 1 min next-file-cycle

so the most recent image is going to be the only thing in that directory but it will have a unique-to-the-second filename, guaranteeing that it will not be cached by the screensaver

... want faster cycling than minute-old-images : do the cron line above in a shell script with a 5 second sleep and convince your screensavers to cycle every 3 or 5 seconds (maybe with a killall -HUP executed by the script on whatever screensaver is running?)

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .