Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Heyo,

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.

Thanks

share|improve this question
add comment

2 Answers

up vote 2 down vote accepted

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.

share|improve this answer
    
The web page widgets are not available to me in the screensaver setup mode -- any ideas why? –  K Robinson Apr 2 '12 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 '12 at 21:55
add comment

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?)

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.