1 ! app-defaults file for XScreenSaver by Jamie Zawinski.
2 ! See "man xscreensaver" for more info. The latest version is always
3 ! available at http://people.netscape.com/jwz/xscreensaver/
19 *textForeground: Yellow
20 *textBackground: Black
22 *font: *-medium-r-*-140-*-m-*
24 ! Turning on "installColormap" interacts erratically with twm and tvtwm,
25 ! but seems to work fine with mwm and olwm. Try it and see. If your
26 ! screen turns some color other than black, the window manager is buggy,
27 ! and you need to set this resource to False (or get a WM that works.)
29 *installColormap: True
32 ! Any program which can draw on the root window will work as a screensaver.
33 ! The following resource enumerates them.
35 ! Programs are separated by newlines (specified in resource files with \n).
36 ! Lines may be continued with a lone \ at the end of the line.
38 ! Each line is an `sh' command.
40 ! But, if the first word on the line is the name of a visual followed by a
41 ! colon, then that visual will be used for the program, if it is available.
42 ! If no such visual is available, then the program will be skipped. In
43 ! this way, you can specify that you want certain programs to run only
44 ! on color screens, and others only on mono screens, by making use of the
45 ! magic visual names "color" and "mono". Likewise, if some hacks prefer
46 ! colormaps, but others prefer 24-bit windows, that also can be arranged
47 ! (in this case, by using "PseudoColor:" versus "TrueColor:".)
49 ! All programs must be launched in such a way that they draw on the root
50 ! window; they should not be spawned in the background with "&". If shell
51 ! metacharacters are used, they must be understandable to `sh', not `csh'
52 ! (the $SHELL variable is not consulted, for unfortunate but good reasons.)
54 *programs: qix -root \n\
55 qix -root -solid -delay 0 -segments 100 \n\
56 qix -root -linear -count 10 -size 100 -segments 200 \n\
57 attraction -root -mode balls \n\
58 attraction -root -mode lines -points 3 -segments 200 \n\
59 attraction -root -mode splines -segments 300 \n\
60 attraction -root -mode lines -radius 300 \
65 rorschach -root -offset 7 \n\
80 kaleidescope -root \n\
87 grav -root -trail -decay \n\
104 starfish -root -blob \n\
108 mono: rocks -root \n\
109 color: rocks -root -fg darksalmon \n\
111 mono: qix -root -linear -count 5 -size 200 -spread 30 \
112 -segments 75 -solid -xor \n\
114 color: attraction -root -mode polygons \n\
115 color: attraction -root -mode filled-splines -segments 0 \n\
116 color: attraction -root -glow -points 10 \n\
117 color: bubbles -root \n\
119 PseudoColor: qix -root -count 4 -solid -transparent \n\
120 PseudoColor: qix -root -count 5 -solid -transparent -linear \
121 -segments 250 -size 100 \n\
123 @GL_KLUDGE_2@ gears -root \n\
124 @GL_KLUDGE_2@ superquadrics -root \n\
125 @GL_KLUDGE_2@ morph3d -root \n\
126 @GL_KLUDGE_2@ escher -root \n\
127 @GL_KLUDGE_2@ pipes -root \n\
128 @GL_KLUDGE_2@ sproingies -root \n\
129 @GL_KLUDGE_2@ rubik -root \n
132 ! A few of the hacks require OpenGL, and will only be built if you have it.
133 ! Note that those hacks (gears, superquadratics, escher, pipes, and
134 ! sproingies) will work best on a visual *half* as deep as the depth of the
135 ! screen, since that way they can do double-buffering -- on an SGI, you
136 ! should specify the 12-bit TrueColor visual (probably 0x29) instead of
137 ! letting XScreenSaver pick the visual itself (specifying "TrueColor" would
138 ! select the 24-bit TrueColor visual, and double-buffering wouldn't be used,
139 ! resulting in flicker.)
141 ! Some other programs that you might want to track down (these work as
142 ! XScreenSaver helpers, but are not distributed with it):
144 ! xdaliclock -root -builtin2 \n\
147 ! xbouncebits ... \n\
148 ! ico -r -faces -sleep 1 -obj ico \n\
151 ! color: xfishtank -c black -d -r 2 \n\
153 ! xtacy is ok, but it only works on the default visual. We can satisfy
154 ! that constraint like so:
156 ! default: xtacy -root -delay 100 -funky -number 3 \n\
157 ! default: xtacy -root -delay 100 -gravity \n\
158 ! default: xtacy -root -delay 100 -mixer \n\
159 ! default: xtacy -root -delay 100 -taffy -pal 4 \n\
161 ! To display a slideshow of images, you can do something like this:
163 ! default: xv -root -rmode 5 image-1.gif -quit
164 ! default: xv -root -rmode 5 image-2.gif -quit
165 ! default: xv -root -rmode 5 image-3.gif -quit
168 ! however, for this to work, you must also have started the screensaver so
169 ! that it uses the default colormap (the "-no-install" command-line option, or
170 ! the "installColormap: False" resource) because when XV is running in "-root"
171 ! mode, it always assumes that the default colormap is being used, rather than
172 ! examining the window it is drawing on to see what colormap it has. (It
173 ! also assumes the default visual, but we've taken care of that above.)
175 ! Some SGI GL programs work with XScreenSaver; most don't.
179 ! /usr/demos/bin/bongo -wbongo
181 ! ElectroPaint sort-of works; XScreenSaver will launch it, and it will run
182 ! properly, but when it's time to turn off the screensaver, you need to hit
183 ! the Escape key, rather than just moving the mouse. Apparently GL programs
184 ! are able to intercept the keyboard even when X has the keyboard grabbed!
188 ! None of the other SGI GL demos I've tried worked, because none of them seem
189 ! to have command-line options that will make them take up the whole screen;
190 ! so all you get is a miniscule 100x100 image, which is worthless. This is a
191 ! shame, since many of those demos would make fine screensavers.
193 ! If anyone who understands how "haven" works would like to send me the code
194 ! necessary to do what it does, I would be much obliged.
198 !=============================================================================
200 ! You probably don't want to change anything after this point.
202 !=============================================================================
205 ! Resources for the Motif dialog boxes:
207 *fontList: *-helvetica-medium-r-*-*-*-120-*-*-*-iso8859-1
208 *demoDialog*label1.fontList: *-helvetica-medium-r-*-*-*-140-*-*-*-iso8859-1
209 *passwdDialog*fontList: *-helvetica-medium-r-*-*-*-140-*-*-*-iso8859-1
210 *XmList.fontList: *-courier-medium-r-*-*-*-120-*-*-*-iso8859-1
211 *XmTextField.fontList: *-courier-medium-r-*-*-*-120-*-*-*-iso8859-1
212 *passwdDialog.passwdText.fontList: *-courier-medium-r-*-*-*-120-*-*-*-iso8859-1
214 *XmDialogShell*foreground: black
215 *XmDialogShell*background: gray90
216 *XmDialogShell*XmTextField.foreground: black
217 *XmDialogShell*XmTextField.background: white
218 *XmDialogShell*demoList.foreground: black
219 *XmDialogShell*demoList.background: white
220 *XmDialogShell*rogerLabel.foreground: red3
221 *XmDialogShell*rogerLabel.background: white
223 *XmDialogShell.title: XScreenSaver
224 *allowShellResize: True
227 ! This doesn't work. Motif ignores it if there is a scroll-list!
228 *demoDialog.maxWidth: 600
230 *label1.labelString: XScreenSaver %s
231 *label1.label: XScreenSaver %s
232 *label2.labelString: Copyright © 1991-1997 by Jamie Zawinski <jwz@netscape.com>
233 *label2.label: Copyright © 1991-1997 by Jamie Zawinski <jwz@netscape.com>
234 *demoList.visibleItemCount: 10
235 *demoList.automaticSelection: True
236 *next.labelString: Run Next
237 *prev.labelString: Run Previous
238 *edit.labelString: Edit Parameters
239 *done.labelString: Exit Demo Mode
240 *restart.labelString: Reinitialize
242 *resourcesLabel.labelString: XScreenSaver Parameters
244 *timeoutLabel.labelString: Saver Timeout
245 *cycleLabel.labelString: Cycle Timeout
246 *fadeSecondsLabel.labelString: Fade Duration
247 *fadeTicksLabel.labelString: Fade Ticks
248 *lockLabel.labelString: Lock Timeout
249 *passwdLabel.labelString: Password Timeout
250 *resourcesForm*XmTextField.columns: 8
252 *verboseToggle.labelString: Verbose
253 *cmapToggle.labelString: Install Colormap
254 *fadeToggle.labelString: Fade Colormap
255 *unfadeToggle.labelString: Unfade Colormap
256 *lockToggle.labelString: Require Password
257 *resourcesDone.labelString: Done
258 *resourcesCancel.labelString: Cancel
260 *passwdDialog.title: Password
261 *passwdLabel1.labelString: XScreenSaver %s
262 *passwdLabel2.labelString: This display is locked.
263 *passwdLabel3.labelString: Please type %s's password to unlock it.
264 *passwdDone.labelString: Done
265 *passwdCancel.labelString: Cancel
267 *passwdLabel1.alignment: ALIGNMENT_BEGINNING
268 *passwdLabel2.alignment: ALIGNMENT_BEGINNING
269 *passwdLabel3.alignment: ALIGNMENT_BEGINNING
270 *rogerLabel.width: 150
273 ! Resources for the dialog boxes using the abominable Athena widgets:
275 *demo_dialog*font: *-helvetica-bold-r-*-*-*-120-*-*-*-iso8859-1
276 *resources_dialog*font: *-helvetica-bold-r-*-*-*-120-*-*-*-iso8859-1
277 *passwd_dialog*font: *-helvetica-bold-r-*-*-*-120-*-*-*-iso8859-1
278 *demo_dialog*label1.font: *-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
279 *resources_dialog*label1.font: *-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
280 *demo_dialog*List.font: *-courier-medium-r-*-*-*-120-*-*-*-iso8859-1
282 ! This is a hack to make the typed password invisible.
283 ! Surely someone can do better than this...
284 *passwd_dialog*passwd_form.value*font: *nil*
286 *demo_dialog*foreground: black
287 *demo_dialog*background: gray90
288 *demo_dialog*List.background: white
289 *demo_dialog*Scrollbar.background: gray85
290 *demo_dialog*Command.background: gray85
292 *resources_dialog*foreground: black
293 *resources_dialog*background: gray90
294 *resources_dialog*Command.background: gray85
295 *resources_dialog*Toggle.background: gray85
296 *resources_dialog*Text*background: white
298 *resources_dialog*Dialog.value.translations: #override\n\
299 <Key>Return: beginning-of-line()\n
301 *passwd_dialog*foreground: black
302 *passwd_dialog*background: gray90
303 *passwd_dialog*Text*background: white
305 *demo_dialog*viewport.width: 400
306 *demo_dialog*viewport.height: 200
309 *Label.borderWidth: 0
310 *resources_dialog*Dialog.borderWidth: 0
312 *demo_dialog*next.label: Run Next
313 *demo_dialog*prev.label: Run Previous
314 *demo_dialog*edit.label: Edit Parameters
315 *demo_dialog*done.label: Exit Demo Mode
316 *demo_dialog*restart.label: Reinitialize
318 *resources_dialog*timeout.label: Saver Timeout:
319 *resources_dialog*cycle.label: Cycle Timeout:
320 *resources_dialog*fade.label: Fade Duration:
321 *resources_dialog*ticks.label: Fade Ticks:
322 *resources_dialog*lockTime.label: Lock Timeout:
323 *resources_dialog*passwdTime.label: Password Timeout:
325 *resources_dialog*label1.label: XScreenSaver Parameters
326 *resources_dialog*buttonbox.verbose.label: Verbose
327 *resources_dialog*buttonbox.cmap.label: Install Colormap
328 *resources_dialog*buttonbox.fade.label: Fade Colormap
329 *resources_dialog*buttonbox.unfade.label: Unfade Colormap
330 *resources_dialog*buttonbox.lock.label: Require Password
331 *resources_dialog*done.label: Done
332 *resources_dialog*cancel.label: Cancel
334 *passwd_dialog*label1.label: XScreenSaver %s
335 *passwd_dialog*label2.label: This display is locked.
336 *passwd_dialog*label3.label: Please type %s's password to unlock it.
337 *passwd_dialog*ok.label: Done
338 *passwd_dialog*cancel.label: Cancel
339 *passwd_dialog*passwd_form*label.label: Enter password:
340 *passwd_dialog*Dialog.label: Enter password:
341 *passwd_dialog*passwd_form*Text.width: 200
342 *passwd_dialog*roger.width: 150
343 *passwd_dialog*roger.height: 150
344 *passwd_dialog*roger.foreground: red3
345 *passwd_dialog*roger.background: white
346 *passwd_dialog*roger.borderWidth: 1
349 ! You probably won't need to change these. They are only used if no server
350 ! extension is in use.
354 *windowCreationTimeout: 30
356 *bourneShell: /bin/sh