Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

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

Thinking about what would be useful to display in a screensaver, I realized that it would be nice to know how long the screensaver has been running. gnome-screensaver-command --time takes care of that. Now, how can I create a simple screensaver based on this value (plus perhaps some ps output), updating it at regular intervals?

share|improve this question
up vote 1 down vote accepted

If you're technically inclined, you can actually write one without too much trouble!

Here's the popsquares source. Look how tiny it is!

GNOME Screensaver actually does support xscreensaver, so you can do this a few different ways :)

Here's a guide for writing an xscreensaver, and some examples, as well as how they're invoked by the screensaver it's self.

Here's a bit more from the GNOME website.

I'd personally love this app! Perhaps someone could write it!

share|improve this answer
+1 Alright, let's get crackin'! – l0b0 Jun 24 '11 at 15:04

You could also use the Phosphor xscreensaver and just give it that for the input...

share|improve this answer
I know that I could search a bit to set it up, but could you please detail the steps to do so? – Braiam Aug 8 '13 at 3:33

Your Answer


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.