XScreenSaver

From Wikipedia, the free encyclopedia

XScreenSaver
Developer: Jamie Zawinski
Latest release: 5.01 / September 18, 2006
OS: Unix-like
Use: Screensaver
Website: http://www.jwz.org/xscreensaver/
XScreenSaver-demo and the XMatrix hack
Enlarge
XScreenSaver-demo and the XMatrix hack

XScreenSaver is a screensaver program for Unix-like operating systems running the X Window System and Macintosh computers running Mac OS X. It is maintained by Jamie Zawinski. The free software and open source Unix-like systems use it almost universally, although distributions which ship GNOME and KDE are beginning to replace it with gnome-screensaver and kscreensaver, respectively.

[edit] Hacks

One reason for XScreenSaver's popularity is the ease of adding extra modules, known as "hacks", which are separate programs that draw on the screen when the screensaver is activated. Some popular hacks include:

Some of the display hack modules in XScreensaver are very similar to demo effects created by the demoscene:

  • Boing - based on the 1984 program regarded as the first Amiga demo ever, showing a bouncing red and white ball.
  • Bumps - an implementation of full-screen 2D bumpmapping
  • MetaBalls - another common demo effect
  • Moire2 - moving interference circles similar to those common in older Amiga demos
  • ShadeBobs - another effect common in older Amiga demos
  • XFlame - the filter-based fire effect, also known as flame effect

Technically, a module is a program that draws on the virtual root window. Whenever the screensaver is activated, XScreenSaver creates a virtual root window, places it above all other windows, and launch a module. In order for hacks to draw in the preview window of recent versions of XScreenSaver, the identificator of the subwindow where to draw is passed to the hacks via the a command line option. If a hack is started directly, it opens a normal window. Some hacks can be useful too — Apple2 and Phosphor include a terminal emulator.

[edit] External links

In other languages