4 a screen saver and locker for the X window system
7 http://www.jwz.org/xscreensaver/
15 The `configure' shell script will attempt to figure out which options are
16 appropriate for your system, and will create config.h and the various
17 Makefiles for you. Run `configure --help' to see how to override these
18 choices, or to specify things like the default installation directory.
19 The file `INSTALL' gives a general overview of use of these sorts of
20 configure scripts (those generated by the GNU autoconf system.)
21 The most important hint is probably this:
23 ./configure --with-motif=/opt/Motif --with-xpm=/usr/local
25 To build on VMS, see README.VMS.
27 If you are upgrading, you might want to delete your ~/.xscreensaver file.
28 If you don't, you might not see the new graphics modes. If you are upgrading
29 from version 2.* to version 3.*, definitely do delete your .xscreensaver file.
31 If you think you've found a bug, please let me know! No bug report is too
32 small. But first, please read the enclosed `README.debugging' file to find
33 out what kind of information would be most helpful to include in your bug
38 You can try out xscreensaver like so:
41 xscreensaver-command -demo
43 After a few seconds, the screen should go black, and a dialog box should
44 appear in the upper right corner. This is "Demo Mode".
46 Note: unlike `xlock', xscreensaver has a client-server model: the
47 `xscreensaver' process is a daemon that runs in the background; it is
48 controlled by the foreground `xscreensaver-command' program.
50 xscreensaver has an extensive manual -- please read it!
54 The xscreensaver daemon waits until the keyboard and mouse have been idle
55 for a period, and then runs a graphics demo chosen at random. The demo is
56 terminated as soon as there is any mouse or keyboard activity (or, in
57 locking mode, when the proper password is typed.)
59 It is trivially easy to add new display modes to xscreensaver: any program
60 which can be invoked in such a way that it draws on the root window of the
61 screen can be used as a screensaver. You just change a resource setting --
62 there's no need to recompile or reinstall anything.
66 Along with the xscreensaver daemon itself, this package also includes
67 numerous graphics hacks for use as screensavers. There is nothing magic
68 about these: they are just programs that draw on the root window.
70 More than 80 such programs are included. For details, see the xscreensaver
71 web page, or the enclosed manual pages. There are also some helpful hints
72 on customization in the xscreensaver app-defaults file (normally installed
73 in /usr/lib/X11/app-defaults/XScreenSaver.)
75 The latest version of xscreensaver is always available on the web at
76 http://www.jwz.org/xscreensaver/.
80 Changes since 3.02: * Made locking work when passwd aging is enabled.
81 * Added support for PAM (Pluggable Authentication
82 Modules.) It is still turned off by default, though,
83 since it doesn't seem to work on Solaris 2.6, and has
84 been behaving erratically on Red Hat 5.1.
85 * Made each possible authentication method be tried in
86 turn until one succeeds; this means that Kerberos is
87 being used, we will first check Kerberos, and if that
88 fails, will then consult the local password file.
90 * Save and restore the bits under the passwd dialog,
91 to avoid leaving a black rectangle behind when
92 unlocking is cancelled.
93 Changes since 3.01: * Not everyone has sys/select.h, sigh...
94 Changes since 3.00: * Some fixes to `reflect'.
96 * Made it log unsuccessful attempts to unlock the screen
98 * Fixed a bug where `xscreensaver-demo' could be seeing
99 a different programs list than `xscreensaver' did.
100 Changes since 2.34: * The xscreensaver daemon no longer links against Motif
101 or Athena: demo-mode and the preferences panel are no
102 longer built in to the daemon, but are now handled by
103 an external program, `xscreensaver-demo'.
104 (I decided that this, along with the recent addition
105 of the `.xscreensaver' config file, justified bumping
106 the version number to 3.00, since this is a fairly
107 major architectural change.)
108 * Lines in the `*programs' resource may now begin with
109 the character "-", meaning "don't run this hack."
110 In this way, it's possible to disable a hack without
111 throwing away the information about it (making it
112 easier to change your mind later.) Eventually the
113 preferences/demo mode GUI should represent this as a
114 checkbox or something.
115 * Fixed a short race condition where it was possible for
116 xscreensaver to die with a BadWindow error if it was
117 blanking the screen just as another window was being
119 * Made it possible to disable specific modes in `bsod'.
120 Changes since 2.33: * Fixed a bug that was making `pipes' generate way too
121 many valves. Made the viewpoint in `pipes' be selected
122 randomly instead of always being -10 degrees.
123 * Fixed a bug in the XSHM code, in the case where the
124 server supports the XSHM extension but is not the same
125 machine as the client.
126 * Made `rd-bomb' default to taking up the whole screen.
127 * Made it not try to do fading/unfading if no PseudoColor
129 * Initial attempt at supporting VT-locking (doesn't work
131 * Eliminated the `captureStdout' resource; now
132 `captureStderr' controls both streams.
133 * Added `-capture-stderr' and `-no-capture-stderr'
134 command-line arguments.
135 * Added `glplanet' hack.
136 * When a hack is selected with `xscreensaver-command
137 -select', that hack will be used until further notice
138 (until the saver turns off, or another activation
140 Changes since 2.32: * Made `xscreensaver-command' print error messages:
141 the xscreensaver daemon now responds to ClientMessage
142 events by writing a response message on a window
143 property, instead of just writing to its stderr.
144 * Made the ~/.xscreensaver file be automatically reloaded
145 when the file date changes.
146 * The password dialog and splash screen no longer depend
147 on Motif or Athena. This should clear up a number of
148 focus problems, and is the first step on the path
149 toward moving all of the Motif/Athena/whatever code
150 out of the xscreensaver daemon, and into external
152 * Don't complain about LessTif 0.86 any more, since the
153 new password dialog makes that problem go away.
154 * Configure tweaks for Irix 6.5, SunOS 5.something.
155 * New `-reflect' option to `distort'.
156 Changes since 2.31: * Added reading and writing of a ~/.xscreensaver file,
157 so that the Preferences panel can save its settings.
158 * New version of `rubik'.
159 * Added `-select N' argument to `xscreensaver-command'.
160 * Oops, left out some of the `bubbles3d' files...
161 Changes since 2.30: * The cursor was invisible in the password dialog. Fixed.
162 * Made configure warn against MesaGL 2.6.
163 * Fixed X error at startup when using non-default visual.
164 * New version of `crystal', `ant', and `atlantis' from
166 * New hack, `bubble3d'.
167 * Added some new modes to `bsod'.
168 Changes since 2.29: * Changed the order in which -lSM and -lICE are linked
169 to be after Motif instead of before (Lesstif on Irix
171 Changes since 2.28: * Work around a bash bug in configure.
172 * Tweaked HPUX paths again. FTSOHPUX.
173 * Made configure recommend against LessTif 0.86, due
174 to a bug in that version that causes a security hole
175 in the screen locking code. LessTif 0.87 will fix it.
176 * Made all of the `--with' options to `configure' accept
177 a directory option as well (so that --with-motif=/FOO
178 will add -I/FOO/include -L/FOO/lib). I believe this is
179 the Configure Party Line of how do to such things.
180 * Fixed a bug where the mouse was left un-grabbed
181 after the first time the graphics hack was changed
182 (simplified all of the mouse-grabbing logic.)
183 * Maybe possibly perhaps made `vidwhacker' really not
184 leave stray xv windows around. This time for sure.
185 * Added a new erase mode (random dots fizzling out.)
186 * Added `-prefs' argument to `xscreensaver-command',
187 that brings up the Preferences dialog directly (it
188 seems that nobody ever noticed the `Preferences' button
189 on the Demo Mode dialog, maybe this will help.)
190 * Added a splash screen. Turn it off with *splash:false.
191 Changes since 2.27: * Better macsbug text in `bsod'.
192 * New version of `distort' with many new modes.
193 * Plugged a leak in `coral'.
194 * Tweaked configure for HPUX.
195 * Removed some compiler warnings.
196 * More consistent usage of stderr versus stdout.
197 * More diagnostics should an X error occur.
198 * Fixed a possible crash in SGI-specific unfading code.
199 Changes since 2.26: * Improved version of `distort'.
200 * Made `lament' compile against OpenGL 1.0 (though it
201 still requires 1.1 to work properly.)
202 * Updated my email address and home page.
203 Changes since 2.24: * Improved motion in `rd-bomb'.
204 * Added XSHM (shared memory extension) support to the
205 `distort', `interference', `moire', `rd-bomb', and
206 `swirl' hacks, which speeds them up a bit.
207 * Added `lament' hack.
208 Changes since 2.23: * Tweaked the order of the -L options again.
209 * Cleaned up configure's `--help' message.
210 * Added `kumppa' hack.
211 * Smarter maze-solving algorithm in `maze'.
212 * Took `xlyap' out of the default list of hacks, since
213 it's just incredibly buggy (and slow.) Maybe someday
214 someone will fix it...
215 * Added `distort' hack, but didn't add it to the default
216 list (yet) because it's still too slow.
217 * Made the Athena demo dialog look more like the Motif
218 version; it has a text-entry field now, too.
219 * Made the Athena password dialog echo asterisks, like
220 Motif does, instead of using a flyspeck font.
221 * Some random configure tweaks.
222 * Added a `timestamp' resource that makes the `-verbose'
223 messages include the time at which they were printed.
224 Changes since 2.22: * The fix for SGI's ``scheme'' nonsense broke things, and
225 let the user's "*background" resource show through.
226 Fixed it in a different way.
227 Changes since 2.21: * Added support for the DPMS server extension (Display
228 Power Management System.)
229 * Made configure advertize the `--enable-subdir' option a
230 little more, since that seemed to cause some people
231 stress. Also, made that directory be built into the
232 xscreensaver executable, as a hardcoded prefix to
233 $PATH. (Might help, shouldn't hurt.)
234 * Made configure prefer the two-arg gettimeofday to the
235 one-arg version, since AIX doesn't have any prototypes.
236 * Made it work with Xaw3d (the 3D Athena library.)
237 * Made `make install' create directories as necessary.
238 * New version of lmorph from Sverre.
239 * Added `crystal' and `discreet' hacks from xlockmore.
240 * Added a new mode to `bsod'.
241 Changes since 2.20: * Made `xscreensaver-command -time' use different words.
242 (It now describes the two states as "screen blanked
243 since..." and "screen non-blanked since..." instead of
244 "active since..." and "inactive since..." which a lot
245 of people interpreted as meaning the opposite of what
247 * Improved some error messages, in the hopes of making
248 the distinction between the xscreensaver and
249 xscreensaver-command programs more obvious.
250 * Rewrote (and reorganized) parts of the xscreensaver and
251 xscreensaver-command manual pages.
252 * Renamed xscreensaver's `-lock' command-line option to
253 be `-lock-mode', to avoid confusion with the `-lock'
254 option to xscreensaver-command, which does a totally
256 * Removed xscreensaver's `-demo' command-line option for
257 a similar reason; use `xscreensaver-command -demo'
259 * Disabled SGI's ``scheme'' nonsense in a better way than
260 fully-qualifying the background colors in every single
262 * Fixed some other minor cosmetic problems when *sgiMode
264 * Fixed an X error in `bsod -root' (how ironic...)
265 Changes since 2.19: * Fixed a bug that caused the mouse to sometimes not be
266 grabbed properly (meaning the window manager menu could
267 pop up over the demo-mode display.)
268 * Fixed a bug that made the stderr output sometimes get
270 * Fixed a bug that made the demo-mode scrollbar move too
272 * Protected against a possible buffer overflow.
273 * Made `vidwhacker' not leave stray xv windows around.
274 * New version of `ant' so that Bagley doesn't calve.
275 * Make configure on AIX get XShm from the right library.
276 Changes since 2.18: * One file was missing from the tar file. Fixed.
277 Changes since 2.17: * Oops, atlantis wasn't being built by default. Fixed.
278 * Added `epicycle' hack.
279 * Added `interference' hack.
280 * Added `truchet' hack.
282 * Added some new modes to `vidwhacker'.
283 Changes since 2.16: * Added a -window-id argument to most hacks, so that they
284 can draw on arbitrary externally-provided windows.
285 * Synched with xlockmore 4.11a01.
287 * Added `atlantis' GL hack.
288 * Renamed `puzzle' hack to `jigsaw', since xlock already
289 had a different mode called `puzzle'.
290 * Made it self-configure properly when Motif 2.1.0 is
291 being used (requires -lXp now, sigh...)
292 Changes since 2.15: * Made `flag' able to do XPM images.
293 * New look for the xscreensaver logo (`xroger').
294 * Fixed compilation error on Suns with adjunct passwords.
295 * Got multi-architecture builds working again.
296 * Some configure tweaks for building on HPUX and Solaris.
297 * Fixed bug in decayscreen.
298 * Fixed typo in passwd.c.
299 * Made `cynosure' not die when colormap is full.
300 Changes since 2.14: * Added `cynosure' hack.
301 * Added `moire2' hack.
302 * Tweaked `erase.c' some more.
303 * Made unfading a bit smoother.
304 * Added `vidwhacker' hack (not installed by default.)
305 * Added `stairs' hack.
306 * Split `escher' into `cage' and `moebius', as per
308 * Changed subprocess handling to use sigaction() instead
309 of signal() if it's available (this is necessary for
310 SCO but should work fine on other systems too.)
311 * Various other tweaks.
312 Changes since 2.13: * Better fix for the Motif drag-and-die lossage.
313 * Put in some kludges to work around a LessTif bug.
314 * XScreenSaver is known to work with LessTif 0.82 now.
315 * Made fading work on high-end SGI video hardware.
316 * Fixed another SGI-specific bug in screen grabbing;
317 will the madness never cease?
318 * Fixed another crash in `xlyap'.
319 Changes since 2.12: * Made `decayscreen' do directions other than down.
321 * Fixed a crash in `xlyap'.
322 * Added CDE info to the man page, removed `cde.txt'.
323 * Configure tweaks for Zippy.
324 * Turned off the signal handling in `bubbles' because
325 it was sometimes failing to die.
326 * Added `hacks/xscreensaver-sgigl.c' to make it possible
327 to run SGI's ElectroPaint hack (/usr/demos/bin/ep)
328 with xscreensaver. Finally!
329 * Fixed a buffer overrun in the locking code that some
330 wily, malicious cracker must have slipped in.
331 * Disabled Motif drag-and-drool in the dialog box
332 buttons, since it's broken in some old versions of
334 Changes since 2.11: * Added `README.debugging'.
335 * Added `puzzle' hack.
336 * Added `xlyap' hack.
337 * Added `default-n' as a visual name, so that one can
338 have -install on by default, but turn it off for
339 certain poorly-behaved hacks (like xv.)
340 * Added support for grabbing frames of external video
341 (on SGI) to the screen-grabbing hacks (decayscreen,
342 slidescreen, slip, blitspin, and puzzle.)
343 * Improved look of tiles in `slidescreen'; fixed its
344 color allocation problem.
345 Changes since 2.10: * Tweaked `blitspin', added it to the default list.
346 * Added `lissie', `mountain', `triangle', `worm',
347 `rotor', and `ant' from xlockmore.
348 * Updated `sierpinski', `galaxy', and `lisa'.
349 * Thickened the lines in `braid' and `lmorph'.
350 * Updated VMS makefiles.
351 * Renamed `fract' to `vines'.
352 * Added `xjack' hack.
353 * Made a few more hacks use erase.c, and added a few
355 * Fixed compilation problem with Sun's version of OpenGL.
356 * Added ability to use sigaction() instead of signal()
357 to work around a SCO kernel bug.
358 Changes since 2.09: * Fixed colormap bugs in `rd-bomb'; sped up `coral'.
359 * Configure tweaks for *BSD.
360 Changes since 2.07: * New hacks `rd-bomb' and `coral'.
361 * New version of `maze' with some new algorithms.
362 * New colorized version of `rocks'.
363 * Fixed a bug in qix on 64-bit machines.
364 * Fixed a bug in the -time option.
365 * Fixed a bug in configure related to LessTif.
366 Changes since 2.06: * Minor header tweaks in windows.c and flag.c.
367 * Made multi-architecture ($VPATH) builds work properly.
368 * Merged new GL stuff from xlockmore (rubik, morph3d.)
369 * Fixed intermittent crashes in `imsmap' and `munch'.
370 * Added `fadeplot' hack from xlockmore.
371 Changes since 2.05: * Merged in VMS support from Patrick Moreau.
372 Changes since 2.04: * Fixed a MIT-SCREEN-SAVER-related crash, and tweaked
373 configure to detect the extra-random -Xss library.
374 Changes since 2.03: * HP configure tweaks. Detect and warn about LessTif.
375 * Fixed low-color behavior of `goop', `pyro', `starfish',
376 `greynetic', `flame', `halo', and `moire'.
377 Changes since 2.02: * Fixed flicker in `pipes'. Fixed 3d in `bouboule'.
378 * Added `munch' hack.
379 * Added basic dependencies to the Makefile.in files.
380 Changes since 2.01: * Fixes for compiling with the MIT saver extension.
381 * Made the yow/fortune program be a configure option.
382 * Various configure tweaks.
383 Changes since 2.00: * Added `goop' and `starfish' hacks.
384 * Added colomap cycling to `halo'.
385 * Made `attraction' use the new colormap allocator.
386 * Added better $PATH diagnostics.
387 * There was a bug in frand! Color selection should be
389 Changes since 1.34: * Converted to use `configure' instead of `imake'.
390 * ANSI C is now required.
391 * Added Kerberos locking support, from Nat Lanza.
392 * Made the stderr text use overlay planes, if possible.
393 * Reworked the xlockmore compatibility stuff again.
394 * Added `gears', `superquadrics', `escher', `pipes',
395 and `sproingies' hacks (depend on OpenGL.)
396 Changes since 1.33: * Fixed some bugs, made fading be a little smoother.
397 Changes since 1.32: * Made it work with multi-headed displays.
398 * Generalized sub-process management (Unix sucks!)
399 * Added interactive mouse frobbing to Julia.
400 * Added (untested) support for HPUX shadow passwords.
401 * Made normal non-shadow passwords be checked if the
402 shadow passwords aren't accessible for some reason.
403 Changes since 1.31: * Removed *colorPrograms and *monoPrograms resources:
404 made it possible to specify the desired visual on a
406 * Cleaned up / restructured the driver: no more globals.
407 * Made the Motif and Athena dialogs share more code.
408 * Probably fixed some Athena colormap-installation bugs.
409 * Fixed screen grabbing (cmap) on SGI 12-bit PseudoColor.
410 * Fixed divide-by-zero in bright random colormaps.
411 * Added an improved version of xlock's `flag' hack.
412 * Made unfading work better, and not flicker on SGIs.
413 * Added `sphere', `forest', `lisa' hacks from xlockmore.
414 * Added (untested) support for SunOS Adjunct passwords.
415 Changes since 1.30: * Improved colors and colormap cycling of many hacks.
416 * Cleaned up xlockmore compatibility layer.
417 * Made `blitspin' able to grab an image off the screen.
418 * Ported `swirl' and `bouboule' hacks from xlockmore.
419 * Made the driver more careful about not leaving bits on
420 the screen, or allowing other windows to raise
421 themselves: it now re-blanks the screen every so often.
422 * Added `-time' option to `xscreensaver-command'.
423 * Improved SGI screen-grabbing some more: now it can grab
424 TrueColor screens into PseudoColor windows and have the
425 colors still come out semi-reasonably.
426 Changes since 1.29: * Made `slidescreen' and `decayscreen' work better on
427 SGIs when windows of different visuals are present, by
428 using the XReadDisplay() extension to get a true 24-bit
429 image out of the frame buffer.
430 * Made `noseguy' be in color, if compiled with XPM.
431 * Ported `braid', `drift', `fract', `galaxy', `grav',
432 `ifs', `julia', `laser', `lightning', `penrose',
433 `sierpinski', `slip', `spiral', and `strange' hacks
435 * Merged `hopalong' hack with a more recent version.
437 Changes since 1.27: * Added `deco', `moire', and `kaleidescope' hacks.
438 * Merged in support for non-Motif locking and demo mode.
439 * Made `blitspin' and `bubbles' work in TrueColor.
440 * Fixed a stupid bug I introduced in `imsmap'.
441 * Added `poly' and `gravity' options to `qix'.
442 Changes since 1.26: * Added support for SGI SCREEN_SAVER extension.
443 * Made `fade' and `unfade' work on 8-bit SGIs.
444 * Made the dialog boxes more Motify.
445 * Added `bubbles' hack.
446 Changes since 1.25: * Added `lmorph' hack.
447 * Added viscosity and mouse-control to attraction.
448 * Fixed possible bad color choices in qix and attraction.
449 * Added ramp-mode to halo.
450 * Added a new RNG, which is faster and more portable
451 than using the RNG in libc.
452 * Made locking work on SCO.
453 * Various other minor tweaks that I don't remember.
454 Changes since 1.24: * Made it capture the stdout/stderr of its subprocesses
455 and present them on the screensaver window itself.
456 * Made demo mode work correctly with non-default visuals
457 and color maps, instead of always using the defaults.
458 * Added -visual argument to all included screenhacks.
459 * Support for the R6 MIT-SCREEN-SAVER server extension.
460 * Made the demo mode list scroll properly.
461 * Added `pedal' hack.
462 Changes since 1.23: * Fixed some private-colormap oddities in slidescreen,
463 decayscreen, and xroger. Fixed apparent conservation-
464 of-mass problem in pyro; made the shrapnel round.
465 Changes since 1.22: * Minor tweaks for IRIX5; fixed locking race condition.
466 Changes since 1.21: * Minor tweaks for X11R6.
467 * Fixes for non-default visuals.
468 Changes since 1.20: * Fixed bug in color blitspin; added default image.
469 * Added diagnostics to noseguy. Fixed off-by-one
470 error in flame. Added some missing casts.
471 Changes since 1.18: * Added `flame' hack.
472 * Fixed a minor Motif dialog text field bug.
473 * Fixed yet another XPointer-not-defined-in-R4 bug.
474 Changes since 1.17: * Added support for shadow password files.
475 * Fixed some Motif-related locking bugs.
476 * Added diagnostics when locking is disabled.
477 * Made blitspin able to use the XPM library.
478 * Added `decayscreen' hack.
479 Changes since 1.16: * Added `halo' hack.
480 Changes since 1.15: * Portability fixes.
481 Changes since 1.14: * Broke the driver up into more source files.
482 * Moved the hacks into their own directory.
483 * Made all `time' parameters accept the 00:00:00 syntax,
484 so that even the parameters which are normally read as
485 minutes can be specified in seconds.
486 * Added colormap cycling to `imsmap'.
487 * Made hyper work with K&R compilers.
488 Changes since 1.13: * Added `orbit' option to `attraction' hack.
489 * Added `lock-timeout' option.
490 * Cleaned up options of `maze' hack.
491 Changes since 1.8: * Added demo mode, and locking.
493 * Added `norotate' option to `rocks' hack.