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\
107 mono: rocks -root \n\
108 color: rocks -root -fg darksalmon \n\
110 mono: qix -root -linear -count 5 -size 200 -spread 30 \
111 -segments 75 -solid -xor \n\
113 color: attraction -root -mode polygons \n\
114 color: attraction -root -mode filled-splines -segments 0 \n\
115 color: attraction -root -glow -points 10 \n\
116 color: bubbles -root \n\
118 PseudoColor: qix -root -count 4 -solid -transparent \n\
119 PseudoColor: qix -root -count 5 -solid -transparent -linear \
120 -segments 250 -size 100 \n\
123 superquadrics -root \n\
129 ! A few of the hacks require OpenGL, and will only be built if you have it.
130 ! Note that those hacks (gears, superquadratics, escher, pipes, and
131 ! sproingies) will work best on a visual *half* as deep as the depth of the
132 ! screen, since that way they can do double-buffering -- on an SGI, you
133 ! should specify the 12-bit TrueColor visual (probably 0x29) instead of
134 ! letting XScreenSaver pick the visual itself (specifying "TrueColor" would
135 ! select the 24-bit TrueColor visual, and double-buffering wouldn't be used,
136 ! resulting in flicker.)
138 ! Some other programs that you might want to track down (these work as
139 ! XScreenSaver helpers, but are not distributed with it):
141 ! xdaliclock -root -builtin2 \n\
144 ! xbouncebits ... \n\
145 ! ico -r -faces -sleep 1 -obj ico \n\
148 ! color: xfishtank -c black -d -r 2 \n\
150 ! xtacy is ok, but it only works on the default visual. We can satisfy
151 ! that constraint like so:
153 ! default: xtacy -root -delay 100 -funky -number 3 \n\
154 ! default: xtacy -root -delay 100 -gravity \n\
155 ! default: xtacy -root -delay 100 -mixer \n\
156 ! default: xtacy -root -delay 100 -taffy -pal 4 \n\
158 ! To display a slideshow of images, you can do something like this:
160 ! default: xv -root -rmode 5 image-1.gif -quit
161 ! default: xv -root -rmode 5 image-2.gif -quit
162 ! default: xv -root -rmode 5 image-3.gif -quit
165 ! however, for this to work, you must also have started the screensaver so
166 ! that it uses the default colormap (the "-no-install" command-line option, or
167 ! the "installColormap: False" resource) because when XV is running in "-root"
168 ! mode, it always assumes that the default colormap is being used, rather than
169 ! examining the window it is drawing on to see what colormap it has. (It
170 ! also assumes the default visual, but we've taken care of that above.)
172 ! Some SGI GL programs work with XScreenSaver; most don't.
176 ! /usr/demos/bin/bongo -wbongo
178 ! ElectroPaint sort-of works; XScreenSaver will launch it, and it will run
179 ! properly, but when it's time to turn off the screensaver, you need to hit
180 ! the Escape key, rather than just moving the mouse. Apparently GL programs
181 ! are able to intercept the keyboard even when X has the keyboard grabbed!
185 ! None of the other SGI GL demos I've tried worked, because none of them seem
186 ! to have command-line options that will make them take up the whole screen;
187 ! so all you get is a miniscule 100x100 image, which is worthless. This is a
188 ! shame, since many of those demos would make fine screensavers.
190 ! If anyone who understands how "haven" works would like to send me the code
191 ! necessary to do what it does, I would be much obliged.
195 !=============================================================================
197 ! You probably don't want to change anything after this point.
199 !=============================================================================
202 ! Resources for the Motif dialog boxes:
204 *fontList: *-helvetica-medium-r-*-*-*-120-*-*-*-iso8859-1
205 *demoDialog*label1.fontList: *-helvetica-medium-r-*-*-*-140-*-*-*-iso8859-1
206 *passwdDialog*fontList: *-helvetica-medium-r-*-*-*-140-*-*-*-iso8859-1
207 *XmList.fontList: *-courier-medium-r-*-*-*-120-*-*-*-iso8859-1
208 *XmTextField.fontList: *-courier-medium-r-*-*-*-120-*-*-*-iso8859-1
209 *passwdDialog.passwdText.fontList: *-courier-medium-r-*-*-*-120-*-*-*-iso8859-1
211 *XmDialogShell*foreground: black
212 *XmDialogShell*background: gray90
213 *XmDialogShell*XmTextField.foreground: black
214 *XmDialogShell*XmTextField.background: white
215 *XmDialogShell*demoList.foreground: black
216 *XmDialogShell*demoList.background: white
217 *XmDialogShell*rogerLabel.foreground: red3
218 *XmDialogShell*rogerLabel.background: white
220 *XmDialogShell.title: XScreenSaver
221 *allowShellResize: True
224 ! This doesn't work. Motif ignores it if there is a scroll-list!
225 *demoDialog.maxWidth: 600
227 *label1.labelString: XScreenSaver %s
228 *label1.label: XScreenSaver %s
229 *label2.labelString: Copyright © 1991-1997 by Jamie Zawinski <jwz@netscape.com>
230 *label2.label: Copyright © 1991-1997 by Jamie Zawinski <jwz@netscape.com>
231 *demoList.visibleItemCount: 10
232 *demoList.automaticSelection: True
233 *next.labelString: Run Next
234 *prev.labelString: Run Previous
235 *edit.labelString: Edit Parameters
236 *done.labelString: Exit Demo Mode
237 *restart.labelString: Reinitialize
239 *resourcesLabel.labelString: XScreenSaver Parameters
241 *timeoutLabel.labelString: Saver Timeout
242 *cycleLabel.labelString: Cycle Timeout
243 *fadeSecondsLabel.labelString: Fade Duration
244 *fadeTicksLabel.labelString: Fade Ticks
245 *lockLabel.labelString: Lock Timeout
246 *passwdLabel.labelString: Password Timeout
247 *resourcesForm*XmTextField.columns: 8
249 *verboseToggle.labelString: Verbose
250 *cmapToggle.labelString: Install Colormap
251 *fadeToggle.labelString: Fade Colormap
252 *unfadeToggle.labelString: Unfade Colormap
253 *lockToggle.labelString: Require Password
254 *resourcesDone.labelString: Done
255 *resourcesCancel.labelString: Cancel
257 *passwdDialog.title: Password
258 *passwdLabel1.labelString: XScreenSaver %s
259 *passwdLabel2.labelString: This display is locked.
260 *passwdLabel3.labelString: Please type %s's password to unlock it.
261 *passwdDone.labelString: Done
262 *passwdCancel.labelString: Cancel
264 *passwdLabel1.alignment: ALIGNMENT_BEGINNING
265 *passwdLabel2.alignment: ALIGNMENT_BEGINNING
266 *passwdLabel3.alignment: ALIGNMENT_BEGINNING
267 *rogerLabel.width: 150
270 ! Resources for the dialog boxes using the abominable Athena widgets:
272 *demo_dialog*font: *-helvetica-bold-r-*-*-*-120-*-*-*-iso8859-1
273 *resources_dialog*font: *-helvetica-bold-r-*-*-*-120-*-*-*-iso8859-1
274 *passwd_dialog*font: *-helvetica-bold-r-*-*-*-120-*-*-*-iso8859-1
275 *demo_dialog*label1.font: *-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
276 *resources_dialog*label1.font: *-helvetica-bold-r-*-*-*-140-*-*-*-iso8859-1
277 *demo_dialog*List.font: *-courier-medium-r-*-*-*-120-*-*-*-iso8859-1
279 ! This is a hack to make the typed password invisible.
280 ! Surely someone can do better than this...
281 *passwd_dialog*passwd_form.value*font: *nil*
283 *demo_dialog*foreground: black
284 *demo_dialog*background: gray90
285 *demo_dialog*List.background: white
286 *demo_dialog*Scrollbar.background: gray85
287 *demo_dialog*Command.background: gray85
289 *resources_dialog*foreground: black
290 *resources_dialog*background: gray90
291 *resources_dialog*Command.background: gray85
292 *resources_dialog*Toggle.background: gray85
293 *resources_dialog*Text*background: white
295 *resources_dialog*Dialog.value.translations: #override\n\
296 <Key>Return: beginning-of-line()\n
298 *passwd_dialog*foreground: black
299 *passwd_dialog*background: gray90
300 *passwd_dialog*Text*background: white
302 *demo_dialog*viewport.width: 400
303 *demo_dialog*viewport.height: 200
306 *Label.borderWidth: 0
307 *resources_dialog*Dialog.borderWidth: 0
309 *demo_dialog*next.label: Run Next
310 *demo_dialog*prev.label: Run Previous
311 *demo_dialog*edit.label: Edit Parameters
312 *demo_dialog*done.label: Exit Demo Mode
313 *demo_dialog*restart.label: Reinitialize
315 *resources_dialog*timeout.label: Saver Timeout:
316 *resources_dialog*cycle.label: Cycle Timeout:
317 *resources_dialog*fade.label: Fade Duration:
318 *resources_dialog*ticks.label: Fade Ticks:
319 *resources_dialog*lockTime.label: Lock Timeout:
320 *resources_dialog*passwdTime.label: Password Timeout:
322 *resources_dialog*label1.label: XScreenSaver Parameters
323 *resources_dialog*buttonbox.verbose.label: Verbose
324 *resources_dialog*buttonbox.cmap.label: Install Colormap
325 *resources_dialog*buttonbox.fade.label: Fade Colormap
326 *resources_dialog*buttonbox.unfade.label: Unfade Colormap
327 *resources_dialog*buttonbox.lock.label: Require Password
328 *resources_dialog*done.label: Done
329 *resources_dialog*cancel.label: Cancel
331 *passwd_dialog*label1.label: XScreenSaver %s
332 *passwd_dialog*label2.label: This display is locked.
333 *passwd_dialog*label3.label: Please type %s's password to unlock it.
334 *passwd_dialog*ok.label: Done
335 *passwd_dialog*cancel.label: Cancel
336 *passwd_dialog*passwd_form*label.label: Enter password:
337 *passwd_dialog*Dialog.label: Enter password:
338 *passwd_dialog*passwd_form*Text.width: 200
339 *passwd_dialog*roger.width: 150
340 *passwd_dialog*roger.height: 150
341 *passwd_dialog*roger.foreground: red3
342 *passwd_dialog*roger.background: white
343 *passwd_dialog*roger.borderWidth: 1
346 ! You probably won't need to change these. They are only used if no server
347 ! extension is in use.
351 *windowCreationTimeout: 30
353 *bourneShell: /bin/sh