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.
20 ! Don't hand this file to "xrdb" -- that isn't how app-defaults files work.
21 ! Though app-defaults files have (mostly) the same syntax as your ~/.Xdefaults
22 ! file, they are used differently, and if you run this file through xrdb,
23 ! you will probably mess things up.
25 #error Do not run app-defaults files through xrdb!
26 #error That does not do what you might expect.
27 #error Put this file in /usr/lib/X11/app-defaults/XScreenSaver instead.
29 ! /* (xrdb prevention kludge: whole file)
34 *passwdTimeout: 0:00:30
39 *grabDesktopImages: True
40 *grabVideoFrames: False
41 *chooseRandomImages: False
54 *splashDuration: 0:00:05
57 *ignoreUninstalledPrograms: False
59 *overlayTextForeground: #FFFF00
60 *overlayTextBackground: #000000
62 *font: *-medium-r-*-140-*-m-*
64 ! The default is to use these extensions if available (as noted.)
65 *sgiSaverExtension: True
66 *mitSaverExtension: False
70 ! This is what the "Demo" button on the splash screen runs (/bin/sh syntax.)
71 *demoCommand: xscreensaver-demo
73 ! This is what the "Prefs" button on the splash screen runs (/bin/sh syntax.)
74 *prefsCommand: xscreensaver-demo -prefs
76 ! This is the URL that the "Help" button on the splash screen loads.
77 *helpURL: http://www.jwz.org/xscreensaver/man.html
79 ! This is how the "Help" button loads URLs (/bin/sh syntax.)
80 ! The "helpURL" will be substituted for up to two occurrences of "%s".
81 @GNOMEHELP_N@*loadURL: mozilla '%s' || netscape '%s'
82 @GNOMEHELP_Y@*loadURL: gnome-url-show '%s' || gnome-moz-remote --newwin '%s'
84 ! This is what the "Manual" button in xscreensaver-demo runs (/bin/sh syntax.)
85 @GNOMEHELP_N@*manualCommand: xterm -sb -fg black -bg gray75 -T '%s manual' \
86 @GNOMEHELP_N@ -e /bin/sh -c 'man "%s" ; read foo'
88 @GNOMEHELP_Y@*manualCommand: yelp 'man:%s' || gnome-help-browser 'man:%s'
91 ! The format used for printing the date and time in the password dialog box
92 ! (see the strftime(3) manual page for details.)
93 *dateFormat: %d-%b-%y (%a); %I:%M %p
94 ! To show the time only:
95 ! *dateFormat: %I:%M %p
100 ! Turning on "installColormap" on 8-bit systems interacts erratically with
101 ! twm and tvtwm, but seems to work fine with mwm and olwm. Try it and see.
102 ! If your screen turns some color other than black, the window manager is
103 ! buggy, and you need to set this resource to False (or get a WM that works.)
105 *installColormap: True
108 ! Any program which can draw on the root window will work as a screensaver.
109 ! The following resource enumerates them.
111 ! Programs are separated by newlines (specified in resource files with \n).
112 ! Lines may be continued with a lone \ at the end of the line.
114 ! Each line is an `sh' command.
116 ! If the first (non-blank) character on the line is "-", then that means
117 ! that this command is disabled: it's still in the list, but it won't ever
118 ! be used. (This is just to make it easy to disable and then re-enable
121 ! If the first word on the line is the name of a visual followed by a
122 ! colon, then that visual will be used for the program, if it is available.
123 ! If no such visual is available, then the program will be skipped. In
124 ! this way, you can specify that you want certain programs to run only
125 ! on color screens, and others only on mono screens, by making use of the
126 ! magic visual names "color" and "mono". Likewise, if some hacks prefer
127 ! colormaps, but others prefer 24-bit windows, that also can be arranged
128 ! (in this case, by using "PseudoColor:" versus "TrueColor:".)
130 ! Some of the screenhacks are written using OpenGL. OpenGL programs are
131 ! a bit different than normal X programs, in that they prefer visuals that
132 ! are *half* as deep as the screen. You can tell xscreensaver to select a
133 ! good visual for a GL program by using the magic visual name "GL".
135 ! All programs must be launched in such a way that they draw on the root
136 ! window; they should not be spawned in the background with "&". If shell
137 ! metacharacters are used, they must be understandable to `sh', not `csh'
138 ! (the $SHELL variable is not consulted, for unfortunate but good reasons.)
140 ! Be sure to check out Demo Mode: run the `xscreensaver-demo' program to
141 ! edit the current list of programs interactively, try out the various modes,
142 ! and change other parameters. See the man page for details.
145 "Qix (solid)" qix -root -solid -segments 100 \n\
146 "Qix (transparent)" qix -root -count 4 -solid -transparent \n\
147 "Qix (linear)" qix -root -count 5 -solid -transparent \
148 -linear -segments 250 -size 100 \n\
149 - mono: "Qix (xor)" qix -root -linear -count 5 -size 200 \
150 -spread 30 -segments 75 -solid -xor \n\
152 "Attraction (balls)" attraction -root -mode balls \n\
153 "Attraction (lines)" attraction -root -mode lines -points 3 \
155 - "Attraction (poly)" attraction -root -mode polygons \n\
156 "Attraction (splines)" attraction -root -mode splines -segments \
158 "Attraction (orbital)" attraction -root -mode lines -radius 300 \
159 -orbit -vmult 0.5 \n\
165 rorschach -root -offset 7 \n\
169 slidescreen -root \n\
170 decayscreen -root \n\
172 blitspin -root -grab \n\
176 "Ripples (oily)" ripples -root -oily -light 2 \n\
177 "Ripples (stir)" ripples -root -oily -light 2 -stir \n\
178 "Ripples (desktop)" ripples -root -water -light 6 \n\
180 - hyperball -root \n\
194 "Grav (trails)" grav -root -trail -decay \n\
209 goop -root -max-velocity 0.5 -elasticity \
212 "Starfish (blob)" starfish -root -blob \n\
215 coral -root -delay 0 \n\
217 triangle -root -delay 1 \n\
224 kaleidescope -root \n\
226 xlyap -root -randomize \n\
230 interference -root \n\
231 truchet -root -randomize \n\
237 "RD-Bomb (mobile)" rd-bomb -root -speed 1 -size 0.1 \n\
246 "Wander (spots)" wander -root -advance 0 -size 10 -circles \
247 -length 10000 -reset 100000 \n\
251 petri -root -size 2 -count 20 \n\
252 "Petri 2" petri -root -minlifespeed 0.02 \
253 -maxlifespeed 0.03 -minlifespan 1 \
254 -maxlifespan 1 -instantdeathchan 0 \
255 -minorchan 0 -anychan 0.3 \n\
261 xspirograph -root \n\
263 - "NerveRot (dense)" nerverot -root -count 1000 \n\
264 - "NerveRot (thick)" nerverot -root -count 100 -line-width 4 \
265 -max-nerve-radius 0.8 -nervousness 0.5 -db \n\
267 - "Zoom (Fatbits)" zoom -root \n\
268 "Zoom (Lenses)" zoom -root -lenses \n\
270 - "RotZoomer (mobile)" rotzoomer -root -move \n\
271 - "RotZoomer (sweep)" rotzoomer -root -sweep \n\
272 whirlwindwarp -root \n\
273 "WhirlyGig" whirlygig -root \n\
274 "SpeedMine" speedmine -root \n\
275 "SpeedWorm" speedmine -root -worm \n\
276 vermiculate -root \n\
280 "Euler2d (dense)" euler2d -root -count 4000 -eulertail 400 \
283 polyominoes -root \n\
284 - thornbird -root \n\
294 color: bubbles -root \n\
295 - default-n: webcollage -root \n\
296 - default-n: "WebCollage (whacked)" \
297 webcollage -root -filter \
298 'vidwhacker -stdin -stdout' \n\
299 - default-n: vidwhacker -root \n\
301 @GL_KLUDGE@ GL: gears -root \n\
302 @GL_KLUDGE@ GL: "Gears (planetary)" gears -root -planetary \n\
303 @GL_KLUDGE@ GL: superquadrics -root \n\
304 @GL_KLUDGE@ GL: morph3d -root \n\
305 @GL_KLUDGE@ GL: cage -root \n\
306 @GL_KLUDGE@ GL: moebius -root \n\
307 @GL_KLUDGE@ GL: stairs -root \n\
308 @GL_KLUDGE@ GL: pipes -root \n\
309 @GL_KLUDGE@ GL: sproingies -root \n\
310 @GL_KLUDGE@ GL: rubik -root \n\
311 @GL_KLUDGE@ GL: atlantis -root \n\
312 @GL_KLUDGE@ GL: lament -root \n\
313 @GL_KLUDGE@ GL: bubble3d -root \n\
314 @GL_KLUDGE@ GL: glplanet -root \n\
315 @GL_KLUDGE@ GL: flurry -root -preset random \n\
316 @GL_KLUDGE@ GL: pulsar -root \n\
317 - GL: "Pulsar (textures)" \
318 pulsar -root -texture -mipmap \
319 -texture_quality -light -fog \n\
320 @GLE_KLUDGE@GL: extrusion -root \n\
321 @GL_KLUDGE@ GL: sierpinski3d -root \n\
322 @GL_KLUDGE@ GL: menger -root \n\
323 @GL_KLUDGE@ GL: "GFlux" gflux -root \n\
324 @GL_KLUDGE@ GL: "GFlux (grab)" gflux -root -mode grab \n\
325 @GL_KLUDGE@ GL: stonerview -root \n\
326 @GL_KLUDGE@ GL: starwars -root \n\
327 @GL_KLUDGE@ GL: gltext -root \n\
328 @GL_KLUDGE@ GL: "GLText (clock)" gltext -text "%A%n%d %b %Y%n%r" -root \n\
329 @GL_KLUDGE@ GL: "Molecule" molecule -root \n\
330 @GL_KLUDGE@ GL: "Molecule (lumpy)" molecule -root -no-bonds -no-labels \n\
331 @GL_KLUDGE@ GL: dangerball -root \n\
332 @GL_KLUDGE@ GL: circuit -root \n\
333 @GL_KLUDGE@ GL: engine -root \n\
334 @GL_KLUDGE@ GL: flipscreen3d -root \n\
335 @GL_KLUDGE@ GL: glsnake -root \n\
336 @GL_KLUDGE@ GL: boxed -root \n\
337 @GL_KLUDGE@ GL: glforestfire -root \n\
338 - GL: glforestfire -root -rain \n\
339 @GL_KLUDGE@ GL: sballs -root \n\
340 @GL_KLUDGE@ GL: cubenetic -root \n\
341 @GL_KLUDGE@ GL: spheremonics -root \n\
342 @GL_KLUDGE@ GL: lavalite -root \n\
343 @GL_KLUDGE@ GL: queens -root \n\
344 @GL_KLUDGE@ GL: endgame -root \n\
345 - GL: glblur -root \n\
346 @GL_KLUDGE@ GL: atunnel -root \n\
347 @GL_KLUDGE@ GL: flyingtoasters -root \n\
348 @GL_KLUDGE@ GL: bouncingcow -root \n\
349 @GL_KLUDGE@ GL: jigglypuff -root -random \n\
350 @GL_KLUDGE@ GL: klein -root -random \n\
351 @GL_KLUDGE@ GL: "HyperTorus (striped)" hypertorus -root \n\
352 @GL_KLUDGE@ GL: "HyperTorus (solid)" hypertorus -root -solid -transp \n\
353 @GL_KLUDGE@ GL: glmatrix -root \n\
354 @GL_KLUDGE@ GL: cubestorm -root \n\
355 @GL_KLUDGE@ GL: glknots -root \n\
356 @GL_KLUDGE@ GL: blocktube -root \n\
357 @GL_KLUDGE@ GL: flipflop -root \n\
358 @GL_KLUDGE@ GL: antspotlight -root \n\
359 @GL_KLUDGE@ GL: polytopes -root \n\
360 - GL: glslideshow -root \n\
362 - xdaliclock -root -builtin3 -cycle \n\
363 - default-n: xearth -nofork -nostars -ncolors 50 \
364 -night 3 -wait 0 -timewarp 400.0 -pos \
366 - xplanetbg -xscreensaver -moonside \
367 -markerfile earth -wait 1 -timewarp 400 \n\
368 - xmountains -b -M -Z 0 -r 1 \n\
369 - "XMountains (top)" xmountains -b -M -Z 0 -r 1 -m \n\
370 - xaos -root -autopilot -nogui -delay 10000 \
372 -incoloring -1 -outcoloring -1 \n\
373 - xfishtank -d -s \n\
378 - GL: sphereEversion --root \n\
379 - GL: fireflies -root \n
382 ! To display a randomized slideshow of images, you can do something like this:
384 ! default-n: "Slideshow" xv -root -rmode 5 -random -viewonly \
385 ! -wloop -wait 30 $HOME/bitmaps/*.jpg \n\
387 ! Recipes for using other slideshow programs can be found in the
388 ! XScreenSaver FAQ: http://www.jwz.org/xscreensaver/faq.html
390 ! Note that we've used "default-n" as the visual name, rather than just
391 ! "default": this means "default visual, no install", that is, it's like
392 ! specifying the command-line arguments "-visual default -no-install".
393 ! This is necessary because, when XV or XLI arerunning in "-root" mode, they
394 ! always assume that the default visual and colormap are being used, rather
395 ! than examining the window it is drawing on to see what visual and colormap
396 ! it has. If we didn't force the default visual to be used, we would get an
397 ! X error. If we didn't force the default colormap to be installed, the
398 ! colors would be all wrong. "default-i" may also be used as a visual name
399 ! (meaning, "-visual default -install") but you probably won't ever need
403 ! Some of the GL demos that SGI ships work with XScreenSaver; most don't.
404 ! XScreenSaver includes a program (not built or installed by default)
405 ! called "xscreensaver-sgigl". To use the SGI demos with XScreenSaver,
406 ! build that program, and use it to launch the SGI demos. For example,
407 ! on Irix 6.2, you can do this:
409 ! xscreensaver-sgigl /usr/demos/bin/ep -S
410 ! xscreensaver-sgigl /usr/demos/bin/bongo
412 ! On Irix 6.3, things have moved, so you need to do it like this:
414 ! xscreensaver-sgigl /usr/sbin/ep -S
416 ! (But note that, on non-SGIs, the bundled "stonerview" hack is a decent
417 ! clone of "ep". Yay!)
419 ! You can also use the "ant" demo, but first you need to wrap a shell script
420 ! around it that cds to its home directory, so that it can find its files;
421 ! and also pass it the -S argument, to prevent it from forking. What a mess!
422 ! Basically, the SGI demo writers went out of their way to make my life hell.
426 !=============================================================================
428 ! You probably don't want to change anything after this point.
430 !=============================================================================
433 XScreenSaver.pointerPollTime: 0:00:05
434 XScreenSaver.initialDelay: 0:00:00
435 XScreenSaver.windowCreationTimeout: 0:00:30
436 XScreenSaver.bourneShell: /bin/sh
439 ! Resources for the password and splash-screen dialog boxes of
440 ! the "xscreensaver" daemon.
442 *Dialog.headingFont: *-times-bold-r-*-*-*-180-*-*-*-iso8859-1
443 *Dialog.bodyFont: *-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
444 *Dialog.labelFont: *-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
445 *Dialog.buttonFont: *-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
446 *Dialog.dateFont: *-courier-medium-r-*-*-*-80-*-*-*-iso8859-1
447 *Dialog.foreground: #000000
448 *Dialog.background: #D6D6D6
449 *Dialog.Button.foreground: #000000
450 *Dialog.Button.background: #EAEAEA
451 !*Dialog.Button.background: #D6D6D6
452 !*Dialog.Button.pointBackground: #EAEAEA
453 !*Dialog.Button.clickBackground: #C3C3C3
454 *Dialog.text.foreground: #000000
455 *Dialog.text.background: #FFFFFF
456 *passwd.thermometer.foreground: #FF0000
457 *passwd.thermometer.background: #FFFFFF
458 *Dialog.topShadowColor: #FFFFFF
459 *Dialog.bottomShadowColor: #666666
460 *Dialog.logo.width: 210
461 *Dialog.logo.height: 210
462 *Dialog.internalBorderWidth: 30
463 *Dialog.borderWidth: 1
464 *Dialog.shadowThickness: 2
466 *passwd.heading.label: XScreenSaver %s
467 *passwd.body.label: This display is locked.
468 *passwd.user.label: User:
469 *passwd.passwd.label: Password:
470 *passwd.passwdFont: *-courier-medium-r-*-*-*-140-*-*-*-iso8859-1
471 *passwd.thermometer.width: 8
473 *splash.heading.label: XScreenSaver %s
474 *splash.body.label: Copyright © 1991-2002 by
475 *splash.body2.label: Jamie Zawinski <jwz@jwz.org>
476 *splash.demo.label: Settings
477 *splash.help.label: Help
480 ! Resources for the Motif dialog boxes of the "xscreensaver-demo" program.
482 *fontList: *-helvetica-medium-r-*-*-*-120-*-*-*-iso8859-1
483 *demoDialog*label1.fontList: *-helvetica-medium-r-*-*-*-140-*-*-*-iso8859-1
484 *cmdText.fontList: *-courier-medium-r-*-*-*-120-*-*-*-iso8859-1
485 *label0.fontList: *-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
486 XScreenSaver*doc.fontList: *-helvetica-medium-r-*-*-*-100-*-*-*-iso8859-1
487 ! above must be fully qualified to get around *sgiMode.
491 *XmTextField.foreground: #000000
492 *XmTextField.background: #FFFFFF
493 *list.foreground: #000000
494 *list.background: #FFFFFF
496 *ApplicationShell.title: XScreenSaver
497 *warning.title: XScreenSaver
498 *warning_popup.title: XScreenSaver
499 *allowShellResize: True
502 *menubar*file.labelString: File
503 *menubar*file.mnemonic: F
504 *file.blank.labelString: Blank Screen Now
505 *file.blank.mnemonic: B
506 *file.lock.labelString: Lock Screen Now
507 *file.lock.mnemonic: L
508 *file.kill.labelString: Kill Daemon
509 *file.kill.mnemonic: K
510 *file.restart.labelString: Restart Daemon
511 *file.restart.mnemonic: R
512 *file.exit.labelString: Exit
513 *file.exit.mnemonic: E
515 *menubar*edit.labelString: Edit
516 *menubar*edit.mnemonic: E
517 *edit.cut.labelString: Cut
518 *edit.cut.mnemonic: u
519 *edit.copy.labelString: Copy
520 *edit.copy.mnemonic: C
521 *edit.paste.labelString: Paste
522 *edit.paste.mnemonic: P
524 *menubar*help.labelString: Help
525 *menubar*help.mnemonic: H
526 *help.about.labelString: About...
527 *help.about.mnemonic: A
528 *help.docMenu.labelString: Documentation...
529 *help.docMenu.mnemonic: D
531 *demoTab.marginWidth: 10
532 *optionsTab.marginWidth: 10
534 *XmScrolledWindow.topOffset: 10
535 *XmScrolledWindow.leftOffset: 10
536 *demoTab.topOffset: 4
537 *form1.bottomOffset: 10
538 *form3.leftOffset: 10
539 *form3.rightOffset: 10
541 *frame.bottomOffset: 10
542 *enabled.topOffset: 10
543 *visLabel.topOffset: 10
545 *form4.bottomOffset: 4
547 *XmComboBox.marginWidth: 0
548 *XmComboBox.marginHeight: 0
550 *demo.marginWidth: 30
551 *demo.marginHeight: 4
556 *down.marginHeight: 4
559 *frame.traversalOn: False
561 *list.automaticSelection: True
562 *list.visibleItemCount: 20
566 *demoTab.labelString: Graphics Demos
567 *optionsTab.labelString: Screensaver Options
568 *down.labelString: \\/
570 *frameLabel.labelString:
571 *cmdLabel.labelString: Command Line:
572 *cmdLabel.alignment: ALIGNMENT_BEGINNING
573 *enabled.labelString: Enabled
574 *visLabel.labelString: Visual:
575 *visLabel.alignment: ALIGNMENT_END
576 *visLabel.leftOffset: 20
577 *demo.labelString: Demo
578 *man.labelString: Documentation...
579 *done.labelString: Quit
581 *preferencesLabel.labelString: XScreenSaver Parameters
583 *timeoutLabel.labelString: Saver Timeout
584 *cycleLabel.labelString: Cycle Timeout
585 *fadeSecondsLabel.labelString: Fade Duration
586 *fadeTicksLabel.labelString: Fade Ticks
587 *lockLabel.labelString: Lock Timeout
588 *passwdLabel.labelString: Password Timeout
589 *preferencesForm*XmTextField.columns: 8
591 *verboseToggle.labelString: Verbose
592 *cmapToggle.labelString: Install Colormap
593 *fadeToggle.labelString: Fade Colormap
594 *unfadeToggle.labelString: Unfade Colormap
595 *lockToggle.labelString: Require Password
602 *Cancel.marginWidth: 30
603 *Cancel.marginHeight: 4
604 *Cancel.rightOffset: 10
605 *Cancel.bottomOffset: 10
608 !=============================================================================
610 ! Pretty names for the hacks that have unusual capitalization.
612 !=============================================================================
614 *hacks.imsmap.name: IMSmap
615 *hacks.slidescreen.name: SlideScreen
616 *hacks.decayscreen.name: DecayScreen
617 *hacks.blitspin.name: BlitSpin
618 *hacks.lmorph.name: LMorph
620 *hacks.fadeplot.name: FadePlot
621 *hacks.bsod.name: BSOD
622 *hacks.rd-bomb.name: RD-Bomb
624 *hacks.shadebobs.name: ShadeBobs
625 *hacks.ccurve.name: C Curve
626 *hacks.xteevee.name: XTeeVee
627 *hacks.xspirograph.name: XSpiroGraph
628 *hacks.nerverot.name: NerveRot
629 *hacks.webcollage.name: WebCollage
630 *hacks.vidwhacker.name: VidWhacker
631 *hacks.morph3d.name: Morph3D
632 *hacks.bubble3d.name: Bubble3D
633 *hacks.sierpinski3d.name: Sierpinski3D
634 *hacks.gflux.name: GFlux
635 *hacks.xrayswarm.name: XRaySwarm
636 *hacks.whirlwindwarp.name: WhirlwindWarp
637 *hacks.rotzoomer.name: RotZoomer
638 *hacks.stonerview.name: StonerView
639 *hacks.starwars.name: StarWars
640 *hacks.dangerball.name: DangerBall
641 *hacks.whirlygig.name: WhirlyGig
642 *hacks.speedmine.name: SpeedMine
643 *hacks.glforestfire.name: GLForestFire
644 *hacks.sballs.name: SBalls
645 *hacks.xdaliclock.name: XDaliClock
646 *hacks.xplanetbg.name: XPlanet
647 *hacks.xaos.name: XaoS
648 *hacks.xfishtank.name: XFishTank
649 *hacks.electricsheep.name: ElectricSheep
650 *hacks.sphereEversion.name: SphereEversion
651 *hacks.fluidballs.name: FluidBalls
652 *hacks.flyingtoasters.name: FlyingToasters
653 *hacks.bouncingcow.name: BouncingCow
654 *hacks.jigglypuff.name: JigglyPuff
655 *hacks.hypertorus.name: HyperTorus
656 *hacks.cubestorm.name: CubeStorm
657 *hacks.blocktube.name: BlockTube
658 *hacks.flipflop.name: FlipFlop
659 *hacks.antspotlight.name: AntSpotlight
661 ! obsolete, but still used by xscreensaver-demo-Xm.
662 *hacks.documentation.isInstalled: True
664 ! (xrdb prevention kludge: whole file) */