~ubuntu-branches/ubuntu/precise/xorg-server/precise

« back to all changes in this revision

Viewing changes to hw/xwin/man/XWin.man

  • Committer: Bazaar Package Importer
  • Author(s): Christopher James Halse Rogers
  • Date: 2011-01-31 19:45:19 UTC
  • mfrom: (1.1.38 upstream) (0.1.19 experimental)
  • Revision ID: james.westby@ubuntu.com-20110131194519-fx30d1zsg83invba
Tags: 2:1.9.99.901+git20110131.be3be758-0ubuntu1
* Merge from (unreleased) debian-experimental.  Remaining Ubuntu changes:
  - rules:
    + Disable SELinux, libaudit-dev is not in main yet. (LP: #406226)
    + Enable xcsecurity. (LP: #247537)
    + Add --with-extra-module-dir to support GL alternatives.
  - control: 
    + Xvfb depends on xauth, x11-xkb-utils. (LP: #500102)
    + Add breaks for incompatible drivers. (LP: #614993)
    + Drop libaudit-dev from build-deps.
  - local/xvfb-run*: Add correct docs about error codes. (LP #328205)
  - debian/patches:
    + 100_rethrow_signals.patch:
      When aborting, re-raise signals for apport
    + 109_fix-swcursor-crash.patch:
      Avoid dereferencing null pointer while reloading cursors during
      resume. (LP: #371405)
    + 111_armel-drv-fallbacks.patch:
      Add support for armel driver fallbacks.
    + 121_only_switch_vt_when_active.diff:
      Add a check to prevent the X server from changing the VT when killing
      GDM from the console.
    + 122_xext_fix_card32_overflow_in_xauth.patch:
      Fix server crash when “xauth generate” is called with large timeout.
    + 157_check_null_modes.patch, 162_null_crtc_in_rotation.patch,
      166_nullptr_xinerama_keyrepeat.patch, 167_nullptr_xisbread.patch
      169_mipointer_nullptr_checks.patch,
      172_cwgetbackingpicture_nullptr_check.patch:
      Fix various segfaults in xserver by checking pointers for NULL
      values before dereferencing them.
    + 165_man_xorg_conf_no_device_ident.patch
      Correct man page
    + 168_glibc_trace_to_stderr.patch:
      Report abort traces to stderr instead of terminal
    + 184_virtual_devices_autodetect.patch:
      Use vesa for qemu device, which is not supported by cirrus
    + 188_default_primary_to_first_busid.patch:
      Pick the first device and carry on (LP: #459512)
    + 190_cache-xkbcomp_output_for_fast_start_up.patch:
    + 191-Xorg-add-an-extra-module-path.patch:
      Add support for the alternatives module path.
    + 198_nohwaccess.patch:
      Adds a -nohwaccess argument to make X not access the hardware
      ports directly.
    + 200_randr-null.patch:
      Clarify a pointer initialization.
    + 206_intel_8xx_default_to_fbdev.patch:
      Makes 8xx class intel GPUs default to fbdev for stability. (LP: #633593)
* Refresh 121_only_switch_vt_when_active.diff for new upstream.
* Drop 187_edid_quirk_hp_nc8430.patch; upstream.
* Drop 189_xserver_1.5.0_bg_none_root.patch; functionality now upstream.
* Refresh 190_cache-xkbcomp_output_for_fast_start_up.patch for new upstream.
* Drop 197_xvfb-randr.patch:
  - miRandR, which this used, has been removed from the server. 
* Drop 204_fix-neg-sync-transition.patch; upstream.
* Drop 207_dga_master_device.patch; upstream.
* Drop 208_switch_on_release.diff; upstream.
* debian/patches/209_add_legacy_bgnone_option.patch:
  - Add "-nr" as a synonym for "-background none" to ease the transition from
    the old 189_xserver_1.5.0_bg_none_root.patch patch.  Can be dropped once
    all the ?DM have been updated to use the new option.
* debian/control:
  - Add Breaks: to xserver-xorg-video-8 and current fglrx.  These proprietary
    drivers don't yet have appropriate dependency information, so manually
    handle them here to prevent broken upgrades.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.TH XWIN 1 __vendorversion__
 
2
.SH NAME
 
3
XWin \- X Server for the Cygwin environment on Microsoft Windows
 
4
 
 
5
 
 
6
.SH SYNOPSIS
 
7
.B XWin
 
8
[ options ] ...
 
9
 
 
10
 
 
11
.SH DESCRIPTION
 
12
\fIXWin\fP is an X Server for the X Window System on the Cygwin environment
 
13
running on Microsoft Windows.
 
14
 
 
15
 
 
16
.SH MODES
 
17
\fIXWin\fP can operate in 3 different modes:
 
18
.br
 
19
* \fISingle Window\fP: This is the default mode.  Each X screen
 
20
appears as a single \fIWindows\fP window and all X windows are contained
 
21
within this window.
 
22
(In X terminology, the \fIWindows\fP window contains the root window for
 
23
the screen)
 
24
.br
 
25
* \fIMulti-Window\fP: In this mode \fIXWin\fP uses its own integrated
 
26
window manager in order to handle the top-level X windows, in such a
 
27
way that they appear as normal \fIWindows\fP windows.
 
28
.br
 
29
* \fIRootless\fP: In this mode the X server works in a window
 
30
containing the whole screen but this root window (traditionally covered with an X hatch
 
31
pattern) is hidden from view, so only top-level X windows are seen.
 
32
 
 
33
.SH OPTIONS
 
34
In addition to the normal server options described in the \fIXserver(1)\fP
 
35
manual page, \fIXWin\fP accepts the following command line switches,
 
36
\fIall\fP of which are optional:
 
37
 
 
38
.SH OPTIONS CONTROLLING WINDOWING MODE
 
39
Only one of these options may be specified.
 
40
.TP 8
 
41
.B (default)
 
42
Windowed or rooted mode.
 
43
Each X screen appears as a single \fIWindows\fP window and all X windows are
 
44
contained within those windows.
 
45
.TP 8
 
46
.B \-multiwindow
 
47
Each top-level X window appears in its own \fIWindows\fP window.
 
48
Also start the integrated \fIWindows\fP-based window manager.
 
49
.TP 8
 
50
.B \-rootless
 
51
Run the server in rootless mode.
 
52
The X server works on a window covering the whole screen but the root window
 
53
is hidden from view.
 
54
.TP 8
 
55
.B \-mwextwm
 
56
Experimental.
 
57
The mode combines \fB\-rootless\fP mode drawing with native \fIWindows\fP
 
58
window frames managed by the experimental external window manager \fIxwinwm\fP.
 
59
.PP
 
60
\fBNOTE:\fP \fI-multiwindow\fP mode uses its own internal window manager.
 
61
All other modes require an external window manager in order to move, resize, and perform other
 
62
operations on the individual X windows.
 
63
 
 
64
.SH OPTIONS FOR SPECIFYING X SCREENS
 
65
An X display may be composed of multiple screens.
 
66
The default behaviour is to create a single screen 0 that is roughly the
 
67
size of useful area of the primary monitor (allowing for any window
 
68
decorations and the task-bar).
 
69
 
 
70
Screen specific parameters, such as \fB\-fullscreen\fP, can be applied as a
 
71
default to all screens by placing those screen specific parameters
 
72
before any \fB\-screen\fP parameter.  Screen specific parameters placed after
 
73
the first \fB\-screen\fP parameter will apply only to the immediately
 
74
preceeding \fB\-screen\fP parameter.
 
75
.TP 8
 
76
.B \-[no]multimonitors or \-[no]multiplemonitors
 
77
Create a screen 0 that covers all monitors [the primary monitor] on a system with
 
78
multiple monitors.
 
79
This option is currently enabled by default in \fB\-multiwindow\fP mode.
 
80
.TP 8
 
81
.B "\-screen \fIscreen_number\fP [\fIW\fP \fIH\fP [\fIX\fP \fIY\fP] | [[\fIW\fPx\fIH\fP[+\fIX\fP+\fIY\fP]][@\fIM\fP]] ] "
 
82
Create screen number
 
83
.I screen_number
 
84
and optionally specify it's
 
85
.I height,
 
86
.I width
 
87
and
 
88
.I initial position.
 
89
Additionally a
 
90
.I
 
91
monitor number
 
92
(which count from 1) can be specified to place the screen on,
 
93
at which point, all coordinates become relative to that monitor.
 
94
Screen numbers must be contiguous starting from zero and cannot be duplicated.
 
95
 
 
96
Examples:
 
97
 
 
98
.I "  -screen 0 @1 ; on 1st monitor using its full resolution (the default)"
 
99
 
 
100
.I "  -screen 0 800x600+100+100@2 ; on 2nd monitor offset 100,100 size 800x600"
 
101
 
 
102
.I "  -screen 0 1024x768@3        ; on 3rd monitor size 1024x768"
 
103
 
 
104
.SH OPTIONS CONTROLLING THE APPEARANCE OF THE X SCREEN WINDOWS
 
105
These parameters only apply to windowed mode screens i.e. not
 
106
in \fB-multiwindow\fP or \fB-rootless\fP mode.
 
107
.TP 8
 
108
.B "\-fullscreen"
 
109
The X server window takes the full screen, covering completely the
 
110
\fIWindows\fP desktop.
 
111
.TP 8
 
112
.B \-nodecoration
 
113
Do not give the Cygwin/X window a \fIWindows\fP window border, title bar,
 
114
etc.
 
115
This parameter is ignored when the \fB\-fullscreen\fP parameter is specified.
 
116
.TP 8
 
117
.B \-scrollbars
 
118
Alternative name for \fB\-resize=scrollbars\fP.
 
119
 
 
120
.SH OPTIONS CONTROLLING RESIZE BEHAVIOUR
 
121
.TP 8
 
122
.B \-resize[=none|scrollbars|randr]
 
123
Select the resize mode of an X screen.
 
124
 
 
125
.RS
 
126
.IP \fB\-resize=none\fP 8
 
127
(default). The screen is not resizable.
 
128
 
 
129
In windowed mode, if the window has decorations, a fixed frame is used.
 
130
 
 
131
.IP \fB\-resize=scrollbars\fP 8
 
132
The screen window is resizeable, but the screen is not resizable.
 
133
 
 
134
In windowed mode, if the window has decorations, a resizing frame is used.
 
135
Scrollbars are drawn when needed to allow the entire X screen
 
136
to viewed by adjusting them.
 
137
 
 
138
This also permits screens bigger than the \fIWindows\fP virtual desktop to be used.
 
139
 
 
140
This parameter is ignored in \fB-multiwindow\fP or \fB-rootless\fP mode.
 
141
Alternative name is \fB\-scrollbars\fP.
 
142
 
 
143
.IP \fB\-resize=randr\fP 8
 
144
The screen is resizable and the screen window is resizeable.
 
145
 
 
146
In windowed mode, if the window has decorations, a resizing frame is used.
 
147
 
 
148
Resizing the  \fIWindows\fP window will use the RANDR extension to change
 
149
the size of the X screen.  Likewise, changing the size of
 
150
the X screen using the RANDR extension will cause the size
 
151
of the \fIWindows\fP window containing the X screen to be changed.
 
152
 
 
153
In \fB-multiwindow\fP or \fB-rootless\fP mode, if the X screen is
 
154
of the same dimensions as a Windows monitor or the virtual desktop,
 
155
the X server will respond to the WM_DISPLAYCHANGED sent when those
 
156
dimensions change by resizing the X screen.  Changing the size
 
157
of the X screen using the RANDR extension is not permitted.
 
158
 
 
159
The maximum dimensions of the screen are the dimensions of the \fIWindows\fP virtual desktop.
 
160
 
 
161
.IP \fB\--resize\fP 8
 
162
on its own is equivalent to \fB\--resize=randr\fP
 
163
.RE
 
164
 
 
165
.SH OPTIONS CONTROLLING WINDOWS INTEGRATION
 
166
.TP 8
 
167
.B \-[no]clipboard
 
168
Enables [disables] the integration between the Cygwin/X clipboard and
 
169
\fIWindows\fP clipboard.  The default is enabled.
 
170
.TP 8
 
171
.B "\-emulate3buttons [\fItimeout\fP]"
 
172
Emulate a three button mouse; pressing both buttons within
 
173
.I timeout
 
174
milliseconds causes an emulated middle button press.  The default
 
175
.I timeout
 
176
is 50 milliseconds.  Note that most mice with scroll wheel have middle
 
177
button functionality, usually you will need this option only if you have
 
178
a two button mouse without scroll wheel.
 
179
.TP 8
 
180
.B \-[no]keyhook
 
181
Enable [disable] a low-level keyboard hook for catching
 
182
special keypresses like Menu and Alt+Tab and passing them to the X
 
183
Server instead of letting \fIWindows\fP handle them.
 
184
.TP 8
 
185
.B \-lesspointer
 
186
Normally the \fIWindows\fP mouse cursor is hidden when the mouse is
 
187
over an active Cygwin/X window.  This option causes the mouse cursor
 
188
also to be hidden when it is over an inactive Cygwin/X window.  This
 
189
prevents the \fIWindows\fP mouse cursor from being drawn on top of the X
 
190
cursor.
 
191
This parameter has no effect unless \fB-swcursor\fP is also specified.
 
192
.TP 8
 
193
.B \-swcursor
 
194
Disable the usage of the \fIWindows\fP cursor and use the X11 software cursor instead.
 
195
.TP 8
 
196
.B \-[no]trayicon
 
197
Do not create a tray icon.  Default is to create one
 
198
icon per screen.  You can globally disable tray icons with
 
199
\fB\-notrayicon\fP, then enable it for specific screens with
 
200
\fB\-trayicon\fP for those screens.
 
201
.TP 8
 
202
.B \-nounicodeclipboard
 
203
Do not use Unicode clipboard even if on a NT-based platform.
 
204
.TP 8
 
205
.B \-[no]unixkill
 
206
Enable or disable the \fICtrl-Alt-Backspace\fP key combination as a
 
207
signal to exit the X Server.  The \fICtrl-Alt-Backspace\fP key combination
 
208
is disabled by default.
 
209
.TP 8
 
210
.B \-[no]winkill
 
211
Enable or disable the \fIAlt-F4\fP key combination as a signal to exit the
 
212
X Server.
 
213
The \fIAlt-F4\fP key combination is enabled by default.
 
214
 
 
215
.SH DRAWING ENGINE OPTIONS
 
216
.TP 8
 
217
.B "\-clipupdates \fInum_boxes\fP"
 
218
Specify an optional threshold, above which the regions in a shadow
 
219
update operation will be collected into a GDI clipping region.  The
 
220
clipping region is then used to do a single bit block transfer that is
 
221
constrained to the updated area by the clipping region.  There is some
 
222
overhead involved in creating, installing, destroying, and removing
 
223
the clipping region, thus there may not be much benefit for a small
 
224
number of boxes (less than 10).  It is even possible that this
 
225
functionality does not provide a benefit at any number of boxes; we
 
226
can only determine the usefulness of this feature through testing.
 
227
This option probably has limited effect on current \fIWindows\fP versions
 
228
as they already perform GDI batching.
 
229
This parameter works in conjunction with engines 1, 2, and 4 (Shadow
 
230
GDI, Shadow DirectDraw, and Shadow DirectDraw Non-Locking,
 
231
respectively).
 
232
.TP 8
 
233
.B "\-engine \fIengine_type_id\fP"
 
234
This option, which is intended for Cygwin/X developers,
 
235
overrides the server's automatically selected drawing engine type.  This
 
236
parameter will be ignored if the specified drawing engine type is not
 
237
supported on the current system.
 
238
 
 
239
Default behavior is to select the drawing engine with optimum performance that
 
240
supports the specified depth and window configuration.
 
241
 
 
242
The engine type ids are:
 
243
.RS
 
244
.IP 1 4
 
245
Shadow GDI
 
246
.IP 2 4
 
247
Shadow DirectDraw
 
248
.IP 4 4
 
249
Shadow DirectDraw Non-Locking
 
250
.IP 8 4
 
251
Primary DirectDraw (unsupported, obsolete)
 
252
.IP 16 4
 
253
Native GDI (unsupported, experimental and barely functional)
 
254
.RE
 
255
 
 
256
.SH FULLSCREEN OPTIONS
 
257
.TP 8
 
258
.B "\-depth \fIdepth\fP"
 
259
Specify the color depth, in bits per pixel, to use when running in
 
260
fullscreen with a DirectDraw engine.  This parameter is ignored if
 
261
\fB\-fullscreen\fP is not specified.
 
262
.TP 8
 
263
.B "\-refresh \fIrate_in_Hz\fP"
 
264
Specify an optional refresh rate to use when running in
 
265
fullscreen with a DirectDraw engine.  This parameter is ignored if
 
266
\fB\-fullscreen\fP is not specified.
 
267
 
 
268
.SH MISCELLANEOUS OPTIONS
 
269
See also the normal server options described in the \fIXserver(1)\fP
 
270
manual page
 
271
 
 
272
.TP 8
 
273
.B \-help
 
274
Write a help text listing supported command line options and their description to the console.
 
275
.TP 8
 
276
.B \-ignoreinput
 
277
Ignore keyboard and mouse input.  This is usually only used for testing
 
278
and debugging purposes.
 
279
.TP 8
 
280
.B "\-logfile \fIfilename\fP"
 
281
Change the server log file from the default of \fI
 
282
__logdir__/XWin.n.log\fP,
 
283
where \fIn\fP is the display number of the XWin server, to \fIfilename\fP.
 
284
.TP 8
 
285
.B "\-logverbose \fIlevel\fP"
 
286
Control the degree of verbosity of the log messages with the integer
 
287
parameter \fIlevel\fP.  For \fIlevel\fP=0 only fatal errors are
 
288
reported, for \fIlevel\fP=1 simple information about
 
289
configuration is also given, for \fIlevel\fP=2 (default)
 
290
additional runtime information is recorded
 
291
and for \fIlevel\fP=3 detailed log
 
292
information (including trace and debug output) is produced.  Bigger
 
293
values will yield a still more detailed debug output.
 
294
.TP 8
 
295
.B \-silent-dup-error
 
296
If another instance of \fIXWin\fP with the same display number is found running,
 
297
exit silently and don't display any error message.
 
298
.TP 8
 
299
.B "\-xkblayout \fIlayout\fP"
 
300
.TP 8
 
301
.B "\-xkbmodel \fImodel\fP"
 
302
.TP 8
 
303
.B "\-xkboptions \fIoption\fP"
 
304
.TP 8
 
305
.B "\-xkbrules \fIrule\fP"
 
306
.TP 8
 
307
.B "\-xkbvariant \fIvariant\fp"
 
308
These options configure the xkeyboard extension to load
 
309
a particular keyboard map as the X server starts.  The behavior is similar
 
310
to the \fIsetxkbmap\fP program.  The layout data is located at \fI
 
311
__datadir__/X11/xkb/\fP.  Additional information is found in the
 
312
README files therein and in the man page of \fIsetxkbmap\fP.  For example
 
313
in order to load a German layout for a pc105 keyboard one uses
 
314
the options:
 
315
.br
 
316
.I " \-xkblayout de \-xkbmodel pc105"
 
317
 
 
318
Alternatively one may use the \fIsetxkbmap\fP program after \fIXWin\fP is
 
319
running.
 
320
 
 
321
The default is to select a configuration matching your current layout as
 
322
reported by \fIWindows\fP, if known, or the default X server configuration
 
323
if no matching keyboard configuration was found.
 
324
 
 
325
.SH UNDOCUMENTED OPTIONS
 
326
These options are undocumented.  Do not use them.
 
327
 
 
328
.TP 8
 
329
.B \-emulatepseudo
 
330
Create a depth 8 PseudoColor visual when running in depths 15, 16, 24,
 
331
or 32, collectively known as TrueColor depths.
 
332
Color map manipulation is not supported, so the PseudoColor visual will
 
333
not have the correct colors.
 
334
This option is intended to allow applications which only work with a depth 8
 
335
visual to operate in TrueColor modes.
 
336
.TP 8
 
337
.B \-internalwm
 
338
Run the internal window manager.
 
339
 
 
340
.SH LOG FILE
 
341
As it runs \fIXWin\fP writes messages indicating the most relevant events
 
342
to  the console
 
343
from which it was called and to a log file that by default is located at \fI
 
344
__logdir__/XWin.0.log\fP.  This file is mainly for debugging purposes.
 
345
 
 
346
 
 
347
.SH PREFERENCES FILE
 
348
On startup \fIXWin\fP looks for the file \fI$HOME/.XWinrc\fP or, if
 
349
the previous file does not exist, \fI
 
350
__sysconfdir__/X11/system.XWinrc\fP.  \fI.XWinrc\fP allows setting
 
351
preferences for the following:
 
352
.br
 
353
* To include items into the menu associated with the \fIXWin\fP icon
 
354
which is in the \fIWindows\fP system tray.  This functions in all
 
355
modes that have a tray icon.
 
356
.br
 
357
* To include items in the system menu which is associated with the \fIWindows\fP
 
358
window that \fIXWin -multiwindow\fP produces for each top-level X
 
359
window, in both the generic case and for particular programs.
 
360
.br
 
361
* To change the icon that is associated to the \fIWindows\fP window that
 
362
\fIXWin -multiwindow\fP produces for each top-level X-window.
 
363
.br
 
364
* To change the style that is associated to the \fIWindows\fP window that
 
365
\fXWin I-multiwindow\fP produces for each top-level X window.
 
366
.PP
 
367
The format of the \fI.XWinrc\fP file is given in the man page XWinrc(5).
 
368
 
 
369
.SH EXAMPLES
 
370
Need some examples
 
371
 
 
372
 
 
373
.SH "SEE ALSO"
 
374
X(__miscmansuffix__), Xserver(1), xdm(1), xinit(1), XWinrc(__filemansuffix__), setxkbmap(1)
 
375
 
 
376
 
 
377
.SH BUGS
 
378
.I XWin
 
379
and this man page still have many limitations.
 
380
 
 
381
The \fIXWin\fP software is continuously developing; it is therefore possible that
 
382
this man page is not up to date.  It is always prudent to
 
383
look also at the output of \fIXWin -help\fP in order to
 
384
check the options that are operative.
 
385
 
 
386
 
 
387
.SH AUTHORS
 
388
This list is by no means complete, but direct contributors to the
 
389
Cygwin/X project include (in alphabetical order by last name): Stuart
 
390
Adamson, Michael Bax, Jehan Bing, Lev Bishop, Dr. Peter Busch, Biju G
 
391
C, Robert Collins, Nick Crabtree, Early Ehlinger, Christopher Faylor,
 
392
John Fortin, Brian Genisio, Fabrizio Gennari, Alexander Gottwald, Ralf
 
393
Habacker, Colin Harrison, Matthieu Herrb, Alan Hourihane, Pierre A
 
394
Humblet, Harold L Hunt II, Dakshinamurthy Karra, Joe Krahn,
 
395
Paul Loewenstein, Kensuke Matsuzaki,
 
396
Takuma Murakami, Earle F. Philhower III, Benjamin Riefenstahl, Yaakov Selkowitz,
 
397
Suhaib Siddiqi, Jack Tanner, Jon Turney and Nicholas Wourms.