Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

We'd like to change our screensavers to show the current status of our service at a glance. We already have a page that shows uptime, build status, and more as large red and green squares, and that page refreshes automatically.

We're all running Gnome. How can we make that page our screensaver?

share|improve this question
up vote 5 down vote accepted

try cutycap, a webkit based 'www-snapshoter':

CutyCapt is a small cross-platform command-line utility to capture WebKit's rendering of a web page into a variety of vector and bitmap formats, including SVG, PDF, PS, PNG, JPEG, TIFF, GIF, and BMP. See IECapt for a similar tool based on Internet Explorer.

then setup your screensaver application to pick up the snapshotted website pictures.

share|improve this answer
Hmmm... This is good, but I'd like a smoother solutionn. This requires a cron job, and a screensaver that's okay with rotating through a single image and doesn't cache. Hmm. – a paid nerd Sep 25 '09 at 21:12

hmm ... maybe try the merger of what you both said ...

cron as "nobody" (or equivalent) every minute to run cutycapt into imagedir/date +nagios-%y-%m-%d_%T.jpg with auto-cleanup =

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

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

share|improve this answer

You must log in to answer this question.

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