Does anyone have a link or document on how to write a screensaver for Linux?
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)