0a9bbcab8b781f2d911bf371478f24bd1a2c9d26
[xscreensaver] / driver / xscreensaver-demo.man
1 .de EX          \"Begin example
2 .ne 5
3 .if n .sp 1
4 .if t .sp .5
5 .nf
6 .in +.5i
7 ..
8 .de EE
9 .fi
10 .in -.5i
11 .if n .sp 1
12 .if t .sp .5
13 ..
14 .TH XScreenSaver 1 "12-May-2004 (4.16)" "X Version 11"
15 .SH NAME
16 xscreensaver-demo - interactively control the background xscreensaver daemon
17 .SH SYNOPSIS
18 .B xscreensaver\-demo
19 [\-display \fIhost:display.screen\fP]
20 [\-prefs]
21 [--crapplet]
22 [--debug]
23 .SH DESCRIPTION
24 The \fIxscreensaver\-demo\fP program is a graphical front-end for 
25 setting the parameters used by the background
26 .BR xscreensaver (1)
27 daemon.
28 It is essentially two things: a tool for editing the \fI~/.xscreensaver\fP
29 file; and a tool for demoing the various graphics hacks that 
30 the \fIxscreensaver\fP daemon will launch.
31
32 The main window consists of a menu bar and two tabbed pages.  The first page
33 is for editing the list of demos, and the second is for editing various other
34 parameters of the screensaver.
35 .SH MENU COMMANDS
36 All of these commands are on either the \fBFile\fP or \fBHelp\fP menus:
37 .TP 4
38 .B Blank Screen Now
39 Activates the background \fIxscreensaver\fP daemon, which will then run
40 a demo at random.  This is the same as running
41 .BR xscreensaver-command (1)
42 with the \fI\-activate\fP option.
43 .TP 4
44 .B Lock Screen Now
45 Just like \fBBlank Screen Now\fP, except the screen will be locked as 
46 well (even if it is not configured to lock all the time.)  This is the
47 same as running
48 .BR xscreensaver-command (1)
49 with the \fI\-lock\fP option.
50 .TP 4
51 .B Kill Daemon
52 If the xscreensaver daemon is running on this screen, kill it.
53 This is the same as running
54 .BR xscreensaver-command (1)
55 with the \fI\-exit\fP option.
56 .TP 4
57 .B Restart Daemon
58 If the xscreensaver daemon is running on this screen, kill it.
59 Then launch it again.  This is the same as doing
60 ``\fIxscreensaver-command -exit\fP'' followed by ``\fIxscreensaver\fP''.
61
62 Note that it is \fInot\fP the same as doing
63 ``\fIxscreensaver-command -restart\fP''.
64 .TP 4
65 .B Exit
66 Exits the \fIxscreensaver-demo\fP program (this program) without
67 affecting the background \fIxscreensaver\fP daemon, if any.
68 .TP 4
69 .B About...
70 Displays the version number of this program, \fIxscreensaver-demo\fP.
71 .TP 4
72 .B Documentation...
73 Opens up a web browser looking at the XScreenSaver web page, where you
74 can find online copies of the
75 .BR xscreensaver (1),
76 .BR xscreensaver\-demo (1),
77 and
78 .BR xscreensaver\-command (1)
79 manuals.
80 .SH DISPLAY MODES TAB
81 This page contains a list of the names of the various display modes, a
82 preview area, and some fields that let you configure screen saver behavior.
83 .TP 4
84 .B Mode
85 This option menu controls the behavior of the screen saver.  The options are:
86 .RS 8
87 .TP 8
88 .B Random Screen Saver
89 When blanking the screen, select a random display mode from among those
90 that are enabled and applicable.  This is the default.
91 .TP 8
92 .B Only One Screen Saver
93 When blanking the screen, only ever use one particular display mode (the
94 one selected in the list.)
95 .TP 8
96 .B Blank Screen Only
97 When blanking the screen, just go black: don't run any graphics hacks.
98 .TP 8
99 .B Disable Screen Saver
100 Don't ever blank the screen, and don't ever allow the monitor to power down.
101
102 .RE
103 .TP 4
104 .B Demo List
105 Double-clicking in the list on the left will let you try out the indicated
106 demo.  The screen will go black, and the program will run in full-screen
107 mode, just as it would if the \fIxscreensaver\fP daemon had launched it.
108 Clicking the mouse again will stop the demo and un-blank the screen, making
109 the dialog box visible again.
110
111 Single-clicking in the list will run it in the small preview pane on the
112 right.  (But beware: many of the display modes behave somewhat differently
113 when running in full-screen mode, so the scaled-down view might not give
114 an accurate impression.)
115
116 When \fBMode\fP is set to \fBRandom Screen Saver\fP, each name in the list
117 has a checkbox next to it: this controls whether this display mode is
118 enabled.  If it is unchecked, then that mode will not be chosen.  (Though
119 you can still run it explicitly by double-clicking on its name.)
120 .TP 4
121 .B Arrow Buttons
122 Beneath the list are a pair of up and down arrows. Clicking on the down 
123 arrow will select the next item in the list, and then run it in full-screen
124 mode, just as if you had double-clicked on it.  The up arrow goes the other
125 way.  This is just a shortcut for trying out all of the display modes in turn.
126 .TP 4
127 .B Blank After
128 After the user has been idle this long, the \fIxscreensaver\fP daemon
129 will blank the screen.
130 .TP 4
131 .B Cycle After
132 jAfter the screensaver has been running for this long, the currently
133 running graphics demo will be killed, and a new one started.  
134 If this is 0, then the graphics demo will never be changed:
135 only one demo will run until the screensaver is deactivated by user 
136 activity.
137 .TP 4
138 .B Lock Screen
139 When this is checked, the screen will be locked when it activates.
140 .TP 4
141 .B Lock Screen After
142 This controls the length of the ``grace period'' between when the
143 screensaver activates, and when the screen becomes locked.  For
144 example, if this is 5 minutes, and \fIBlank After\fP is 10 minutes,
145 then after 10 minutes, the screen would blank.  If there was user
146 activity at 12 minutes, no password would be required to un-blank the
147 screen.  But, if there was user activity at 15 minutes or later (that
148 is, \fILock Screen After\fP minutes after activation) then a password
149 would be required.  The default is 0, meaning that if locking is
150 enabled, then a password will be required as soon as the screen blanks.
151 .TP 4
152 .B Preview
153 This button, below the small preview window, runs the demo in full-screen
154 mode so that you can try it out.  This is the same thing that happens when
155 you double-click an element in the list.  Click the mouse to dismiss the
156 full-screen preview.
157 .TP 4
158 .B Settings
159 This button will pop up a dialog where you can configure settings specific
160 to the display mode selected in the list.
161 .SH ADVANCED TAB
162 This tab lets you change various settings used by the xscreensaver daemon
163 itself, rather than its sub-programs.
164 .TP 4
165 .B Grab Desktop Images
166 Some of the graphics hacks manipulate images.  If this option is selected,
167 then they are allowed to manipulate the desktop image, that is, a display
168 mode might draw a picture of your desktop melting, or being distorted in
169 some way.  The security-paranoid might want to disable this option, because
170 if it is set, it means that the windows on your desktop will occasionally
171 be visible while your screen is locked.  Others will not be able 
172 to \fIdo\fP anything, but they may be able to \fIsee\fP whatever you
173 left on your screen.
174 .TP 4
175 .B Grab Video Frames
176 If your system has a video capture card, selecting this option will allow
177 the image-manipulating modes to capture a frame of video to operate on.
178 .TP 4
179 .B Choose Random Image
180 If this option is set, then the image-manipulating modes will select a
181 random image file from disk, from the directory you specify in the text
182 entry field.  That directory will be recursively searched for files,
183 and it is assumed that all the files under that directory are images.
184
185 If more than one of these options are selected, then one will be chosen at
186 random.  If none of them are selected, then an image of video colorbars will
187 be used instead.  
188
189 (All three of these options work by invoking the
190 .BR xscreensaver\-getimage (1)
191 program, which is what actually does the work.)
192 .TP 4
193 .B Verbose Diagnostics
194 Whether to print lots of debugging information.
195 .TP 4
196 .B Display Subprocess Errors
197 If this is set, then if one of the graphics demos prints something to
198 stdout or stderr, it will show up on the screen immediately (instead of
199 being lost in a hidden terminal or file that you can't see.)
200
201 If you change this option, it will only take effect the next time the
202 xscreensaver daemon is restarted.  (All other settings take effect
203 immediately.)
204 .TP 4
205 .B Display Splash Screen at Startup
206 Normally when xscreensaver starts up, it briefly displays a splash dialog
207 showing the version number, a \fIHelp\fP button, etc.  If this option is
208 turned off, the splash screen will not be shown at all.
209 .TP 4
210 .B Power Management Enabled
211 Whether the monitor should be powered down after a period of inactivity.
212
213 If this option is grayed out, it means your X server does not support
214 the XDPMS extension, and so control over the monitor's power state is
215 not available.
216
217 If you're using a laptop, don't be surprised if this has no effect:
218 many laptops have monitor power-saving behavior built in at a very low
219 level that is invisible to Unix and X.  On such systems, you can 
220 typically only adjust the power-saving delays by changing settings 
221 in the BIOS in some hardware-specific way.
222 .TP 4
223 .B Standby After
224 If \fIPower Management Enabled\fP is selected, the monitor will go black
225 after this much idle time.  (Graphics demos will stop running, also.)
226 .TP 4
227 .B Suspend After
228 If \fIPower Management Enabled\fP is selected, the monitor will go
229 into power-saving mode after this much idle time.  This duration should
230 be greater than or equal to \fIStandby\fP.
231 .TP 4
232 .B Off After
233 If \fIPower Management Enabled\fP is selected, the monitor will fully
234 power down after this much idle time.  This duration should be greater
235 than or equal to \fISuspend\fP.
236 .TP 4
237 .B Install Colormap
238 On 8-bit screens, whether to install a private colormap while the
239 screensaver is active, so that the graphics hacks can get as many
240 colors as possible.  This does nothing if you are running in 16-bit
241 or better.
242 .TP 4
243 .B Fade To Black When Blanking
244 If selected, then when the screensaver activates, the current contents
245 of the screen will fade to black instead of simply winking out.  (Note:
246 this doesn't work with all X servers.)  A fade will also be done when
247 switching graphics hacks (when the \fICycle After\fP expires.)
248 .TP 4
249 .B Unfade From Black When Unblanking
250 The complement to \fIFade Colormap\fP: if selected, then when the screensaver
251 deactivates, the original contents of the screen will fade in from black
252 instead of appearing immediately.  This is only done if \fIFade Colormap\fP
253 is also selected.
254 .TP 4
255 .B Fade Duration
256 When fading or unfading are selected, this controls how long the fade will
257 take.
258 .PP
259 There are more settings than these available, but these are the most 
260 commonly used ones; see the manual for
261 .BR xscreensaver (1)
262 for other parameters that can be set by editing the \fI~/.xscreensaver\fP
263 file, or the X resource database.
264 .SH SETTINGS DIALOG
265 When you click on the \fISettings\fP button on the \fIDisplay Modes\fP
266 tab, a configuration dialog will pop up that lets you customize settings
267 of the selected display mode.  Each display mode has its own custom
268 configuration controls on the left side.
269
270 On the right side is a paragraph or two describing the display mode.
271 Below that is a \fBDocumentation\fP button that will display the display
272 mode's manual page, if it has one, in a new window (since each of the
273 display modes is actually a separate program, they each may have their
274 own manual.)
275
276 The \fBAdvanced\fP button reconfigures the dialog box so that you can
277 edit the display mode's command line directly, instead of using the 
278 graphical controls.  It also lets you configure the X visual type that
279 this mode will require.  If you specify one (other than \fIAny\fP) then
280 the program will only be run on that kind of visual.  For example, you
281 can specify that a particular program should only be run if color is
282 available, and another should only be run in monochrome.  See the
283 discussion of the \fIprograms\fP parameter in the \fIConfiguration\fP
284 section of the
285 .BR xscreensaver (1)
286 manual.  (OpenGL programs should always have their visual set to "GL".)
287 .SH COMMAND-LINE OPTIONS
288 .I xscreensaver\-demo
289 accepts the following command line options.
290 .TP 8
291 .B \-display \fIhost:display.screen\fP
292 The X display to use.  The \fIxscreensaver\-demo\fP program will open its
293 window on that display, and also control the \fIxscreensaver\fP daemon that
294 is managing that same display.
295 .TP 8
296 .B \-prefs
297 Start up with the \fBAdvanced\fP tab selected by default
298 instead of the \fBDisplay Modes\fP tab.
299 .TP 8
300 .B \-debug
301 Causes lots of diagnostics to be printed on stderr.
302 .P
303 It is important that the \fIxscreensaver\fP and \fIxscreensaver\-demo\fP
304 processes be running on the same machine, or at least, on two machines
305 that share a file system.  When \fIxscreensaver\-demo\fP writes a new version
306 of the \fI~/.xscreensaver\fP file, it's important that the \fIxscreensaver\fP
307 see that same file.  If the two processes are seeing 
308 different \fI~/.xscreensaver\fP files, things will malfunction.
309 .SH ENVIRONMENT
310 .PP
311 .TP 8
312 .B DISPLAY
313 to get the default host and display number.
314 .TP 8
315 .B PATH
316 to find the sub-programs to run.  However, note that the sub-programs 
317 are actually launched by the \fIxscreensaver\fP daemon, not 
318 by \fIxscreensaver-demo\fP itself.  So, what matters is what \fB$PATH\fP
319 the \fIxscreensaver\fP program sees.
320 .TP 8
321 .B HOME
322 for the directory in which to read and write the \fI.xscreensaver\fP file.
323 .TP 8
324 .B XENVIRONMENT
325 to get the name of a resource file that overrides the global resources
326 stored in the RESOURCE_MANAGER property.
327 .SH UPGRADES
328 The latest version can always be found at 
329 http://www.jwz.org/xscreensaver/
330 .SH SEE ALSO
331 .BR X (1),
332 .BR xscreensaver (1),
333 .BR xscreensaver\-command (1),
334 .BR xscreensaver\-getimage (1)
335 .SH COPYRIGHT
336 Copyright \(co 1992, 1993, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
337 by Jamie Zawinski.  Permission to use, copy, modify, distribute, and sell
338 this software and its documentation for any purpose is hereby granted without
339 fee, provided that the above copyright notice appear in all copies and that
340 both that copyright notice and this permission notice appear in supporting
341 documentation.  No representations are made about the suitability of this
342 software for any purpose.  It is provided "as is" without express or implied
343 warranty.
344 .SH AUTHOR
345 Jamie Zawinski <jwz@jwz.org>, 13-aug-92.
346
347 Please let me know if you find any bugs or make any improvements.