xserver

xserver with xephyr scale patch
git clone https://git.neptards.moe/u3shit/xserver.git
Log | Files | Refs | README | LICENSE

XWin.man (15794B)


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