4 ! a screen saver and locker for the X window system
10 ! See "man xscreensaver" for more info. The latest version is always
11 ! available at http://www.jwz.org/xscreensaver/
14 ! These resources, when placed in the system-wide app-defaults directory
15 ! (e.g., /usr/lib/X11/app-defaults/XScreenSaver) will provide the default
16 ! settings for new users. However, if you have a ".xscreensaver" file in
17 ! your home directory, the settings in that file take precedence.
38 *overlayTextForeground: #FFFF00
39 *overlayTextBackground: #000000
41 *font: *-medium-r-*-140-*-m-*
43 ! The default is to use these extensions if available (as noted.)
44 *sgiSaverExtension: True
45 *mitSaverExtension: False
49 ! This is what the "Demo" button on the splash screen runs (/bin/sh syntax.)
50 *demoCommand: xscreensaver-demo
52 ! This is what the "Prefs" button on the splash screen runs (/bin/sh syntax.)
53 *prefsCommand: xscreensaver-demo -prefs
55 ! This is the URL that the "Help" button on the splash screen loads.
56 *helpURL: http://www.jwz.org/xscreensaver/man.html
58 ! This is how the "Help" button loads URLs (/bin/sh syntax.)
59 ! The "helpURL" will be substituted for up to two occurrences of "%s".
60 *loadURL: netscape -remote 'openURL(%s)' || netscape '%s'
63 ! The format used for printing the date and time in the password dialog box
64 ! (see the strftime(3) manual page for details.)
65 *dateFormat: %d-%b-%y (%a); %I:%M %p
66 ! To show the time only:
67 ! *dateFormat: %I:%M %p
72 ! Turning on "installColormap" interacts erratically with twm and tvtwm,
73 ! but seems to work fine with mwm and olwm. Try it and see. If your
74 ! screen turns some color other than black, the window manager is buggy,
75 ! and you need to set this resource to False (or get a WM that works.)
77 *installColormap: True
80 ! Any program which can draw on the root window will work as a screensaver.
81 ! The following resource enumerates them.
83 ! Programs are separated by newlines (specified in resource files with \n).
84 ! Lines may be continued with a lone \ at the end of the line.
86 ! Each line is an `sh' command.
88 ! If the first (non-blank) character on the line is "-", then that means
89 ! that this command is disabled: it's still in the list, but it won't ever
90 ! be used. (This is just to make it easy to disable and then re-enable
93 ! If the first word on the line is the name of a visual followed by a
94 ! colon, then that visual will be used for the program, if it is available.
95 ! If no such visual is available, then the program will be skipped. In
96 ! this way, you can specify that you want certain programs to run only
97 ! on color screens, and others only on mono screens, by making use of the
98 ! magic visual names "color" and "mono". Likewise, if some hacks prefer
99 ! colormaps, but others prefer 24-bit windows, that also can be arranged
100 ! (in this case, by using "PseudoColor:" versus "TrueColor:".)
102 ! Some of the screenhacks are written using OpenGL. OpenGL programs are
103 ! a bit different than normal X programs, in that they prefer visuals that
104 ! are *half* as deep as the screen. You can tell xscreensaver to select a
105 ! good visual for a GL program by using the magic visual name "GL".
107 ! All programs must be launched in such a way that they draw on the root
108 ! window; they should not be spawned in the background with "&". If shell
109 ! metacharacters are used, they must be understandable to `sh', not `csh'
110 ! (the $SHELL variable is not consulted, for unfortunate but good reasons.)
112 ! Be sure to check out Demo Mode: run the `xscreensaver-demo' program to
113 ! edit the current list of programs interactively, try out the various modes,
114 ! and change other parameters. See the man page for details.
116 *programs: qix -root -solid -delay 0 -segments 100 \n\
117 qix -root -count 4 -solid -transparent \n\
118 qix -root -count 5 -solid -transparent -linear \
119 -segments 250 -size 100 \n\
120 attraction -root -mode balls \n\
121 attraction -root -mode lines -points 3 -segments 200 \n\
122 attraction -root -mode splines -segments 300 \n\
123 attraction -root -mode lines -radius 300 \
124 -orbit -vmult 0.5 \n\
128 rorschach -root -offset 7 \n\
133 slidescreen -root \n\
134 decayscreen -root \n\
136 blitspin -root -grab \n\
154 grav -root -trail -decay \n\
171 starfish -root -blob \n\
183 kaleidescope -root \n\
185 - xlyap -root -randomize \n\
189 interference -root \n\
190 truchet -root -randomize \n\
196 rd-bomb -root -speed 1 -size 0.1 \n\
205 wander -root -advance 0 -size 10 -circles True \
206 -length 10000 -reset 100000 \n\
210 petri -root -size 1 -count 20 \n\
211 petri -root -minlifespeed 0.02 -maxlifespeed 0.03 \
212 -minlifespan 1 -maxlifespan 1 -instantdeathchan 0 \
213 -minorchan 0 -anychan 0.3 \n\
218 default-n: webcollage -root \n\
219 - default-n: webcollage -root -filter 'vidwhacker -stdin -stdout' \n\
220 - default-n: vidwhacker -root \n\
222 mono: rocks -root \n\
223 color: rocks -root -fg darksalmon \n\
225 mono: qix -root -linear -count 5 -size 200 -spread 30 \
226 -segments 75 -solid -xor \n\
228 color: attraction -root -mode polygons \n\
229 color: attraction -root -mode filled-splines -segments 0 \n\
230 color: attraction -root -glow -points 10 \n\
231 color: bubbles -root \n\
233 @GL_KLUDGE@ GL: gears -root \n\
234 @GL_KLUDGE@ GL: superquadrics -root \n\
235 @GL_KLUDGE@ GL: morph3d -root \n\
236 @GL_KLUDGE@ GL: cage -root \n\
237 @GL_KLUDGE@ GL: moebius -root \n\
238 @GL_KLUDGE@ GL: stairs -root \n\
239 @GL_KLUDGE@ GL: pipes -root \n\
240 @GL_KLUDGE@ GL: sproingies -root \n\
241 @GL_KLUDGE@ GL: rubik -root \n\
242 @GL_KLUDGE@ GL: atlantis -root \n\
243 @GL_KLUDGE@ GL: lament -root \n\
244 @GL_KLUDGE@ GL: bubble3d -root \n\
245 @GL_KLUDGE@ GL: glplanet -root \n\
246 @GL_KLUDGE@ GL: pulsar -root \n\
247 - GL: pulsar -root -texture -mipmap -texture_quality \
249 @GLE_KLUDGE@ GL: extrusion -root \n
252 ! Some other programs that you might want to track down (these work as
253 ! XScreenSaver helpers, but are not distributed with it):
255 ! xdaliclock -root -builtin2 \n\
258 ! xbouncebits ... \n\
259 ! ico -r -faces -sleep 1 -obj ico \n\
261 ! xmountains -b -M \n\
262 ! color: xfishtank -c black -d -r 2 \n\
264 ! xtacy is ok, but it only works on the default visual. We can satisfy
265 ! that constraint like so:
267 ! default: xtacy -root -delay 100 -funky -number 3 \n\
268 ! default: xtacy -root -delay 100 -gravity \n\
269 ! default: xtacy -root -delay 100 -mixer \n\
270 ! default: xtacy -root -delay 100 -taffy -pal 4 \n\
272 ! To display a randomized slideshow of images, you can do something like this:
274 ! default-n: xv -root -rmode 5 -random -viewonly -wloop \
275 ! -wait 30 $HOME/bitmaps/*.jpg \n\
277 ! or, if you prefer "xli" to "xv", like this: (but note that xli's "-delay"
278 ! option doesn't work in conjunction with "-onroot", so you need to add a
279 ! line for each image individually... "xv" is better in this respect.)
281 ! default-n: xli -quiet -onroot -center -border black \
282 ! $HOME/bitmaps/pic1.jpg \n\
283 ! default-n: xli -quiet -onroot -center -border black \
284 ! $HOME/bitmaps/pic2.jpg \n\
285 ! default-n: xli -quiet -onroot -center -border black \
286 ! $HOME/bitmaps/pic3.jpg \n\
288 ! Note that we've used "default-n" as the visual name, rather than just
289 ! "default": this means "default visual, no install", that is, it's like
290 ! specifying the command-line arguments "-visual default -no-install".
291 ! This is necessary because, when XV or XLI arerunning in "-root" mode, they
292 ! always assume that the default visual and colormap are being used, rather
293 ! than examining the window it is drawing on to see what visual and colormap
294 ! it has. If we didn't force the default visual to be used, we would get an
295 ! X error. If we didn't force the default colormap to be installed, the
296 ! colors would be all wrong. "default-i" may also be used as a visual name
297 ! (meaning, "-visual default -install") but you probably won't ever need
300 ! XEarth is nice, too:
302 ! default-n: xearth -nostars -wait 0 -timewarp 400 -pos sunrel/38/-30
305 ! Some of the GL demos that SGI ships work with XScreenSaver; most don't.
306 ! XScreenSaver includes a program (not built or installed by default)
307 ! called "xscreensaver-sgigl". To use the SGI demos with XScreenSaver,
308 ! build that program, and use it to launch the SGI demos. For example,
309 ! on Irix 6.2, you can do this:
311 ! xscreensaver-sgigl /usr/demos/bin/ep -S
312 ! xscreensaver-sgigl /usr/demos/bin/bongo
314 ! On Irix 6.3, things have moved, so you need to do it like this:
316 ! xscreensaver-sgigl /usr/sbin/ep -S
318 ! You can also use the "ant" demo, but first you need to wrap a shell script
319 ! around it that cds to its home directory, so that it can find its files;
320 ! and also pass it the -S argument, to prevent it from forking.
323 ! Also, since these actually end up mapping their own windows instead of
324 ! drawing on the XScreenSaver-provided root, when they are being run from
325 ! demo-mode, you can't pop up the demo-mode dialog just by clicking the
326 ! mouse: you must first type ESC to make the SGI programs exit. This sucks.
327 ! Things should work properly when they are being run by xscreensaver in
328 ! non-demo-mode, however.
330 ! Basically, the SGI demo writers went out of their way to make my life hell.
334 !=============================================================================
336 ! You probably don't want to change anything after this point.
338 !=============================================================================
341 XScreenSaver.pointerPollTime: 5
342 XScreenSaver.initialDelay: 0
343 XScreenSaver.windowCreationTimeout: 30
344 XScreenSaver.bourneShell: /bin/sh
347 ! Resources for the password and splash-screen dialog boxes of
348 ! the "xscreensaver" daemon.
350 *Dialog.headingFont: *-times-bold-r-*-*-*-180-*-*-*-iso8859-1
351 *Dialog.bodyFont: *-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
352 *Dialog.labelFont: *-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
353 *Dialog.buttonFont: *-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
354 *Dialog.dateFont: *-courier-medium-r-*-*-*-80-*-*-*-iso8859-1
355 *Dialog.foreground: #000000
356 *Dialog.background: #BFBFBF
357 *Dialog.Button.foreground: #000000
358 *Dialog.Button.background: #D0D0D0
359 *Dialog.text.foreground: #000000
360 *Dialog.text.background: #FFFFFF
361 *Dialog.logo.foreground: #FF0000
362 *Dialog.logo.background: #FFFFFF
363 *Dialog.topShadowColor: #E7E7E7
364 *Dialog.bottomShadowColor: #737373
365 *Dialog.logo.width: 200
366 *Dialog.logo.height: 200
367 *Dialog.internalBorderWidth: 30
368 *Dialog.borderWidth: 1
369 *Dialog.shadowThickness: 4
371 *passwd.heading.label: XScreenSaver %s
372 *passwd.body.label: This display is locked.
373 *passwd.user.label: User:
374 *passwd.passwd.label: Password:
375 *passwd.passwdFont: *-courier-medium-r-*-*-*-140-*-*-*-iso8859-1
376 *passwd.thermometer.width: 8
378 *splash.heading.label: XScreenSaver %s
379 *splash.body.label: Copyright © 1991-1999 by
380 *splash.body2.label: Jamie Zawinski <jwz@jwz.org>
381 *splash.demo.label: Demo
382 *splash.prefs.label: Prefs
383 *splash.help.label: Help
386 ! Resources for the Motif dialog boxes of the "xscreensaver-demo" program.
388 *fontList: *-helvetica-medium-r-*-*-*-120-*-*-*-iso8859-1
389 *demoDialog*label1.fontList: *-helvetica-medium-r-*-*-*-140-*-*-*-iso8859-1
390 *XmTextField.fontList: *-courier-medium-r-*-*-*-120-*-*-*-iso8859-1
391 *label0.fontList: *-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
392 XScreenSaver*XmList.fontList: *-courier-medium-r-*-*-*-120-*-*-*-iso8859-1
393 ! Need to fully-qualify the preceeding in the case of of *sgiMode.
395 *XmDialogShell*foreground: #000000
396 *XmDialogShell*background: #E5E5E5
397 *XmDialogShell*XmTextField.foreground: #000000
398 *XmDialogShell*XmTextField.background: #FFFFFF
399 *XmDialogShell*demoList.foreground: #000000
400 *XmDialogShell*demoList.background: #FFFFFF
402 *XmDialogShell.title: XScreenSaver
403 *versionWarning_popup.title: XScreenSaver Warning
404 *demoForm_popup.title: XScreenSaver Demo
405 *preferencesForm_popup.title: XScreenSaver Preferences
406 *allowShellResize: True
409 ! This doesn't work. Motif ignores it if there is a scroll-list!
410 *demoDialog.maxWidth: 600
412 *label1.labelString: XScreenSaver %s
413 *label1.label: XScreenSaver %s
414 *label2.labelString: Copyright © 1991-1999 by Jamie Zawinski <jwz@jwz.org>
415 *label2.label: Copyright © 1991-1999 by Jamie Zawinski <jwz@jwz.org>
416 *demoList.visibleItemCount: 10
417 *demoList.automaticSelection: True
418 *next.labelString: Run Next
419 *prev.labelString: Run Previous
420 *edit.labelString: Preferences
421 *restart.labelString: Reinitialize
422 *done.labelString: Quit
424 *preferencesLabel.labelString: XScreenSaver Parameters
426 *timeoutLabel.labelString: Saver Timeout
427 *cycleLabel.labelString: Cycle Timeout
428 *fadeSecondsLabel.labelString: Fade Duration
429 *fadeTicksLabel.labelString: Fade Ticks
430 *lockLabel.labelString: Lock Timeout
431 *passwdLabel.labelString: Password Timeout
432 *preferencesForm*XmTextField.columns: 8
434 *verboseToggle.labelString: Verbose
435 *cmapToggle.labelString: Install Colormap
436 *fadeToggle.labelString: Fade Colormap
437 *unfadeToggle.labelString: Unfade Colormap
438 *lockToggle.labelString: Require Password
439 *preferencesDone.labelString: OK
440 *preferencesCancel.labelString: Cancel
443 ! Disable Motif drag-and-drop in dialog boxes. This is kind of pathetic, but
444 ! in some older versions of Motif, most any attempt to drag cause immediate
445 ! flaming death from above. This *should* rip the legs off that bug.
446 ! (But sadly, Lesstif 0.86 and earlier ignore these resources *and* have
447 ! buggy drag-and-drop.)
449 XScreenSaver*dragInitiatorProtocolStyle: DRAG_NONE
450 XScreenSaver*dragReceiverProtocolStyle: DRAG_NONE
454 ! Resources for the Athena dialog boxes of the "xscreensaver-demo" program.
456 *demo_dialog.title: XScreenSaver Demo
457 *preferences_dialog.title: XScreenSaver Preferences
458 *warning_dialog.title: XScreenSaver Warning
460 ! For some reason, it doesn't size correctly by itself.
461 *demo_dialog.geometry: =640x400
463 *demo_dialog*font: *-helvetica-bold-r-*-*-*-120-*-*-*-iso8859-1
464 *preferences_dialog*font: *-helvetica-bold-r-*-*-*-120-*-*-*-iso8859-1
465 *demo_dialog*label1.font: *-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
466 *preferences_dialog*label1.font:*-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
467 XScreenSaver*warning_dialog*label0.font: \
468 *-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
469 XScreenSaver*warning_dialog*Label.font: \
470 *-helvetica-bold-r-*-*-*-120-*-*-*-iso8859-1
471 XScreenSaver*warning_dialog*Command.font: \
472 *-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
473 XScreenSaver.demo_dialog*List.font: \
474 *-courier-medium-r-*-*-*-120-*-*-*-iso8859-1
475 XScreenSaver.demo_dialog*Text*font: \
476 *-courier-medium-r-*-*-*-120-*-*-*-iso8859-1
478 XScreenSaver.demo_dialog*foreground: #000000
479 XScreenSaver.demo_dialog*background: #E5E5E5
480 XScreenSaver.demo_dialog*List.background: #FFFFFF
481 XScreenSaver.demo_dialog*Scrollbar.background: #D9D9D9
482 XScreenSaver.demo_dialog*Command.background: #D9D9D9
483 XScreenSaver.demo_dialog*Text*background: #FFFFFF
485 XScreenSaver.preferences_dialog*foreground: #000000
486 XScreenSaver.preferences_dialog*background: #E5E5E5
487 XScreenSaver.preferences_dialog*Command.background: #D9D9D9
488 XScreenSaver.preferences_dialog*Toggle.background: #D9D9D9
489 XScreenSaver.preferences_dialog*Text*background: #FFFFFF
491 XScreenSaver.warning_dialog*foreground: #000000
492 XScreenSaver.warning_dialog*background: #E5E5E5
493 XScreenSaver.warning_dialog*Command.background: #D9D9D9
495 *preferences_dialog*Dialog.value.translations: #override\n\
496 <Key>Return: beginning-of-line()\n
498 *demo_dialog*viewport.height: 200
501 *Label.borderWidth: 0
502 *preferences_dialog*Dialog.borderWidth: 0
504 *demo_dialog*run.label: Run
505 *demo_dialog*next.label: Run Next
506 *demo_dialog*prev.label: Run Previous
507 *demo_dialog*edit.label: Preferences
508 *demo_dialog*restart.label: Reinitialize
509 *demo_dialog*done.label: Quit
510 XScreenSaver.demo_dialog*Command.internalWidth: 10
511 XScreenSaver.demo_dialog*Command.internalHeight: 4
513 *preferences_dialog*timeout.label: Saver Timeout:
514 *preferences_dialog*cycle.label: Cycle Timeout:
515 *preferences_dialog*fade.label: Fade Duration:
516 *preferences_dialog*ticks.label: Fade Ticks:
517 *preferences_dialog*lockTime.label: Lock Timeout:
518 *preferences_dialog*passwdTime.label: Password Timeout:
519 XScreenSaver.preferences_dialog*Command.internalWidth: 10
520 XScreenSaver.preferences_dialog*Command.internalHeight: 4
522 *preferences_dialog*label1.label: XScreenSaver Parameters
523 *preferences_dialog*buttonbox.verbose.label: Verbose
524 *preferences_dialog*buttonbox.cmap.label: Install Colormap
525 *preferences_dialog*buttonbox.fade.label: Fade Colormap
526 *preferences_dialog*buttonbox.unfade.label: Unfade Colormap
527 *preferences_dialog*buttonbox.lock.label: Require Password
528 *preferences_dialog*done.label: Ok
529 *preferences_dialog*cancel.label: Cancel
531 *warning_dialog*ok.label: Ok
533 *warning_dialog*horizDistance: 30
534 *warning_dialog*vertDistance: 0
536 *warning_dialog*Label.internalWidth: 1
537 *warning_dialog*Label.internalHeight: 0
539 *warning_dialog*label0.horizDistance: 80
540 *warning_dialog*label0.vertDistance: 20
542 *warning_dialog*Command.horizDistance: 160
543 *warning_dialog*Command.vertDistance: 20
544 *warning_dialog*Command.internalWidth: 20
545 *warning_dialog*Command.internalHeight: 5