19
votes

Does anyone have a link or document on how to write a screensaver for Linux?

3

3 Answers

9
votes

Here's some info on xscreensaver that you may find of use: xscreensaver also there's an FAQ here.

There's a simple tutorial here too: simplesquares (from the first link)

8
votes

This might be of interest to you:

http://www.jwz.org/xscreensaver/faq.html#writing-savers

it's from the xscreensavers homepage, it's sort of the de facto screensaver

0
votes

Google "xscreensaver", and you can learn from its code, rather than starting from scratch.