b9460dd99250fdee2a3f002d82e22150911e00c5
[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 "10-Nov-2000 (3.26)" "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] [\-prefs] [\-xrm \fIresources\fP]
20 .SH DESCRIPTION
21 The \fIxscreensaver\-demo\fP program is a graphical front-end for 
22 setting the parameters used by the background
23 .BR xscreensaver (1)
24 daemon.
25 It is essentially two things: a tool for editing the \fI~/.xscreensaver\fP
26 file; and a tool for demoing the various graphics hacks that 
27 the \fIxscreensaver\fP daemon will launch.
28
29 The main window consists of a menu bar and two tabbed pages.  The first page
30 is for editing the list of demos, and the second is for editing various other
31 parameters of the screensaver.
32 .SH MENU COMMANDS
33 All of these commands are on either the \fBFile\fP or \fBHelp\fP menus:
34 .TP 4
35 .B Blank Screen Now
36 Activates the background \fIxscreensaver\fP daemon, which will then run
37 a demo at random.  This is the same as running
38 .BR xscreensaver-command (1)
39 with the \fI\-activate\fP option.
40 .TP 4
41 .B Lock Screen Now
42 Just like \fBBlank Screen Now\fP, except the screen will be locked as 
43 well (even if it is not configured to lock all the time.)  This is the
44 same as running
45 .BR xscreensaver-command (1)
46 with the \fI\-lock\fP option.
47 .TP 4
48 .B Kill Daemon
49 If the xscreensaver daemon is running on this screen, kill it.
50 This is the same as running
51 .BR xscreensaver-command (1)
52 with the \fI\-exit\fP option.
53 .TP 4
54 .B Restart Daemon
55 If the xscreensaver daemon is running on this screen, kill it.
56 Then launch it again.  This is the same as doing
57 ``\fIxscreensaver-command -exit\fP'' followed by ``\fIxscreensaver\fP''.
58
59 Note that it is \fInot\fP the same as doing
60 ``\fIxscreensaver-command -restart\fP''.
61 .TP 4
62 .B Exit
63 Exits the \fIxscreensaver-demo\fP program (this program) without
64 affecting the background \fIxscreensaver\fP daemon, if any.
65 .TP 4
66 .B About...
67 Displays the version number of this program, \fIxscreensaver-demo\fP.
68 .TP 4
69 .B Documentation...
70 Opens up a web browser looking at the XScreenSaver web page, where you
71 can find online copies of the
72 .BR xscreensaver (1),
73 .BR xscreensaver\-demo (1),
74 and
75 .BR xscreensaver\-command (1)
76 manuals.
77 .SH GRAPHICS DEMOS TAB
78 On the left is a list of the names of the various display modes, and
79 on the right are some fields that let you edit their behavior.
80 .TP 4
81 .B Demo List
82 Double-clicking in the list on the left will let you try out the indicated
83 demo.  The screen will go black, and the program will run in full-screen
84 mode, just as it would if the \fIxscreensaver\fP daemon had launched it.
85 Clicking the mouse again will stop the demo and un-blank the screen, making
86 the dialog box visible again.
87
88 Single-clicking in the list will populate the fields on the right side of
89 the window.
90
91 Each name in the list has a checkbox next to it: this is a duplicate of
92 the \fIEnabled\fP checkbox, and indicates (and controls) whether
93 xscreensaver will  use this display mode at all.  If the box is not
94 checked, then this demo will not be run automatically (though you can
95 run it explicitly by double-clicking on its name.)
96 .TP 4
97 .B Arrow Buttons
98 Beneath the list are a pair of up and down arrows. Clicking on the down 
99 arrow will select the next item in the list, and then run it in full-screen
100 mode, just as if you had double-clicked on it.  The up arrow goes the other
101 way.  This is just a shortcut for trying out all of the display modes in turn.
102 .TP 4
103 .B Program Description
104 At the top will be a brief description of the program.  Below that is a
105 text field where you can edit the arguments to the program as xscreensaver
106 will invoke it.  (Note that most of these programs have their own man pages
107 that describe the command-line options they take.)
108 .TP 4
109 .B Enabled
110 The \fIEnabled\fP checkbox controls whether xscreensaver will use this
111 display mode at all.  This way, all the modes can remain available, but
112 you can choose which ones will be automatically run.
113 .TP 4
114 .B Visual
115 The \fIVisual\fP field is where you can select the X visual type that this
116 demo will require.  If you specify one (other than \fIAny\fP) then the
117 program will only be run on that kind of visual.  For example, you can
118 specify that a particular program should only be run if color is available,
119 and another should only be run in monochrome.  See the discussion of the
120 \fIprograms\fP parameter in the \fIConfiguration\fP section of the
121 .BR xscreensaver (1)
122 manual.
123
124 This is a combo-box, so you can either select an item from the popup menu,
125 or type in a specific visual's hexadecimal ID.
126 .TP 4
127 .B Demo
128 This button runs the demo in full-screen mode so that you can try it out.
129 Click the mouse to dismiss it.
130 .TP 4
131 .B Documentation
132 Since each of the display modes is actually a separate program, they each
133 may have their own manual.  This opens a window viewing the man page of
134 this program, if it has one.
135 .SH SCREENSAVER OPTIONS TAB
136 This tab lets you change various settings used by the xscreensaver daemon
137 itself, rather than its sub-programs.
138 .TP 4
139 .B Saver Timeout
140 After the user has been idle this long, the \fIxscreensaver\fP daemon
141 will blank the screen.
142 .TP 4
143 .B Cycle Timeout
144 After the screensaver has been running for this long, the currently
145 running graphics demo will be killed, and a new one started.  
146 If this is 0, then the graphics demo will never be changed:
147 only one demo will run until the screensaver is deactivated by user 
148 activity.
149 .TP 4
150 .B Verbose\ 
151 Whether to print lots of debugging information.
152 .TP 4
153 .B Install Colormap
154 Whether to install a private colormap while the screensaver is active, so
155 that the graphics hacks can get as many colors as possible.  (This only
156 applies when the screen's default visual is being used, since non-default
157 visuals get their own colormaps automatically.)  This can also be overridden
158 on a per-demo basis.
159 .TP 4
160 .B Fade Colormap
161 If selected, then when the screensaver activates, the current contents
162 of the screen will fade to black instead of simply winking out.  This only
163 works on displays with writable colormaps, that is, if the screen's default
164 visual is a PseudoColor visual.  A fade will also be done when
165 switching graphics hacks (when the \fICycle Timeout\fP expires.)
166 .TP 4
167 .B Unfade Colormap
168 The complement to \fIFade Colormap\fP: if selected, then when the screensaver
169 deactivates, the original contents of the screen will fade in from black
170 instead of appearing immediately.  This only works on displays with writable
171 colormaps, and when \fIFade Colormap\fP is also selected.
172 .TP 4
173 .B Fade Duration
174 When fading or unfading are selected, this controls how long the fade will
175 take.
176 .TP 4
177 .B Fade Ticks
178 This controls how many times a second the colormap will be changed to 
179 effect a fade.  Higher numbers yield smoother fades, but may make the
180 fades take longer than the specified number of seconds, if your server
181 isn't fast enough to keep up.
182 .TP 4
183 .B Require Password
184 Whether the screen saver should lock the screen when it activates.
185 .TP 4
186 .B Lock Timeout
187 If \fIRequire Password\fP is selected, this controls the length of 
188 the ``grace period'' between when the screensaver activates, and when the
189 screen becomes locked.  For example, if this is 0:05:00, 
190 and \fISaver Timeout\fP is 0:10:00, then after 10 minutes, the screen 
191 would blank.  If there was user  activity at 12 minutes, no password
192 would be required to un-blank the screen.  But, if there was user activity
193 at 15 minutes or later (that is, \fILock Timeout\fP minutes after 
194 activation) then a password would be required.  The default is 0, meaning
195 that if locking is enabled, then a password will be required as soon as the 
196 screen blanks.
197 .TP 4
198 .B Password Timeout
199 When the screensaver is prompting for a password, the prompt dialog box will
200 stay on the screen for this long before giving up, and reverting to 
201 screen-saving mode.
202 .PP
203 There are more settings than these available, but these are the most 
204 commonly used ones; see the manual for
205 .BR xscreensaver (1)
206 for other parameters that can be set by editing the \fI~/.xscreensaver\fP
207 file, or the X resource database.
208 .SH COMMAND-LINE OPTIONS
209 .I xscreensaver\-demo
210 accepts the following command line options.
211 .TP 8
212 .B \-display \fIhost:display.screen\fP
213 The X display to use.  The \fIxscreensaver\-demo\fP program will open its
214 window on that display, and also control the \fIxscreensaver\fP daemon that
215 is managing that same display.
216 .TP 8
217 .B \-prefs
218 Start up with the \fBScreensaver Options\fP tab selected by default
219 instead of the \fBGraphics Demos\fP tab.
220 .P
221 It is important that the \fIxscreensaver\fP and \fIxscreensaver\-demo\fP
222 processes be running on the same machine, or at least, on two machines
223 that share a file system.  When \fIxscreensaver\-demo\fP writes a new version
224 of the \fI~/.xscreensaver\fP file, it's important that the \fIxscreensaver\fP
225 see that same file.  If the two processes are seeing 
226 different \fI~/.xscreensaver\fP files, things will malfunction.
227 .SH ENVIRONMENT
228 .PP
229 .TP 8
230 .B DISPLAY
231 to get the default host and display number.
232 .TP 8
233 .B PATH
234 to find the sub-programs to run.  However, note that the sub-programs 
235 are actually launched by the \fIxscreensaver\fP daemon, not 
236 by \fIxscreensaver-demo\fP itself.  So, what matters is what \fB$PATH\fP
237 the \fIxscreensaver\fP program sees.
238 .TP 8
239 .B HOME
240 for the directory in which to read and write the \fI.xscreensaver\fP file.
241 .TP 8
242 .B XENVIRONMENT
243 to get the name of a resource file that overrides the global resources
244 stored in the RESOURCE_MANAGER property.
245 .SH UPGRADES
246 The latest version can always be found at 
247 http://www.jwz.org/xscreensaver/
248 .SH SEE ALSO
249 .BR X (1),
250 .BR xscreensaver (1),
251 .BR xscreensaver\-command (1)
252 .SH COPYRIGHT
253 Copyright \(co 1992, 1993, 1997, 1998, 1999
254 by Jamie Zawinski.  Permission to use, copy, modify, distribute, and sell
255 this software and its documentation for any purpose is hereby granted without
256 fee, provided that the above copyright notice appear in all copies and that
257 both that copyright notice and this permission notice appear in supporting
258 documentation.  No representations are made about the suitability of this
259 software for any purpose.  It is provided "as is" without express or implied
260 warranty.
261 .SH AUTHOR
262 Jamie Zawinski <jwz@jwz.org>, 13-aug-92.
263
264 Please let me know if you find any bugs or make any improvements.