* Single Window: This is the default mode. Each X screen appears as a single Windows window and all X windows are contained within this window. (In X terminology, the Windows window contains the root window for the screen)
* Multi-Window: In this mode XWin uses its own integrated window manager in order to handle the top-level X windows, in such a way that they appear as normal Windows windows.
* Rootless: In this mode the X server works in a window containing the whole screen but this root window (traditionally covered with an X hatch pattern) is hidden from view, so only top-level X windows are seen.
8 (default) Windowed or rooted mode. Each X screen appears as a single Windows window and all X windows are contained within those windows.
8 -multiwindow Each top-level X window appears in its own Windows window. Also start the integrated Windows-based window manager.
8 -rootless Run the server in rootless mode. The X server works on a window covering the whole screen but the root window is hidden from view.
NOTE: -multiwindow mode uses its own internal window manager. All other modes require an external window manager in order to move, resize, and perform other operations on the individual X windows.
8 -[no]multimonitors or -[no]multiplemonitors Create a screen 0 that covers all monitors [the primary monitor] on a system with multiple monitors. Fake XINERAMA data is created describing the individual monitors, (This is similar to the 'merged framebuffer' or 'pseudo-xinerama' mode provided by some drivers for the xorg X server). This option is currently enabled by default in -multiwindow mode.
8 "-screen screen_number [W H [X Y] | [[WxH[+X+Y]][@M]] ] " Create screen number screen_number and optionally specify its height, width and initial position. Additionally a monitor number (which count from 1) can be specified to place the screen on, at which point, all coordinates become relative to that monitor. Screen numbers must be contiguous starting from zero and cannot be duplicated. Examples: " -screen 0 @1 ; on 1st monitor using its full resolution (the default)" " -screen 0 800x600+100+100@2 ; on 2nd monitor offset 100,100 size 800x600" " -screen 0 1024x768@3 ; on 3rd monitor size 1024x768"
8 "-fullscreen" The X server window takes the full screen, covering completely the Windows desktop. Currently -fullscreen may only be applied to one X screen.
8 "-icon" icon-specifier Override the window icon for the screen window from the default. The icon-specifier is as defined in XWinrc(@filemansuffix@).
8 -nodecoration Do not give the Cygwin/X window a Windows window border, title bar, etc. This parameter is ignored when the -fullscreen parameter is specified.
8 -scrollbars Alternative name for -resize=scrollbars.
8 -resize[=none|scrollbars|randr] Select the resize mode of an X screen. The default is none if -fullscreen is used, randr otherwise.
8 -[no]hostintitle Add the host name to the window title for X applications which are running on remote hosts, when that information is available and it's useful to do so. The default is enabled.
8 -[no]compositewm Use Composite extension redirection to maintain a bitmap image of each top-level X window, so window contents which are occluded show correctly in task bar and task switcher previews. The default is enabled.
8 -[no]compositealpha X windows with per-pixel alpha are composited into the Windows desktop (i.e. a Windows window can be seen through any transparency in an X window placed over it). This option has no effect on Windows 8 and 8.1. This option has no effect if -compositewm is disabled. The default is disabled.
8 -[no]clipboard Enables [disables] the integration between the X11 clipboard and Windows clipboard. The default is enabled.
8 "-emulate3buttons [timeout]" Emulate a three button mouse; pressing both buttons within timeout milliseconds causes an emulated middle button press. The default timeout is 50 milliseconds. Note that most mice with scroll wheel have middle button functionality, usually you will need this option only if you have a two button mouse without scroll wheel. Default is to enable this option if Windows reports a two button mouse, disabled otherwise.
8 -[no]keyhook Enable [disable] a low-level keyboard hook for catching special keypresses like Menu and Alt+Tab and passing them to the X Server instead of letting Windows handle them.
8 -lesspointer Normally the Windows mouse cursor is hidden when the mouse is over an active Cygwin/X window. This option causes the mouse cursor also to be hidden when it is over an inactive Cygwin/X window. This prevents the Windows mouse cursor from being drawn on top of the X cursor. This parameter has no effect unless -swcursor is also specified.
8 -[no]primary Clipboard integration may [will not] use the PRIMARY selection. The default is enabled.
8 -swcursor Disable the usage of the Windows cursor and use the X11 software cursor instead. This option is ignored if -compositewm is also enabled.
8 -[no]trayicon Do not create a tray icon. Default is to create one icon per screen. You can globally disable tray icons with -notrayicon, then enable it for specific screens with -trayicon for those screens.
8 -[no]unixkill Enable or disable the Ctrl-Alt-Backspace key combination as a signal to exit the X Server. The Ctrl-Alt-Backspace key combination is disabled by default.
8 -[no]wgl Enable [disable] the GLX extension to use the native Windows WGL interface for hardware accelerated OpenGL (AIGLX). The default is enabled.
8 -[no]winkill Enable or disable the Alt-F4 key combination as a signal to exit the X Server. The Alt-F4 key combination is enabled by default.
8 "-clipupdates num_boxes" Specify an optional threshold, above which the regions in a shadow update operation will be collected into a GDI clipping region. The clipping region is then used to do a single bit block transfer that is constrained to the updated area by the clipping region. There is some overhead involved in creating, installing, destroying, and removing the clipping region, thus there may not be much benefit for a small number of boxes (less than 10). It is even possible that this functionality does not provide a benefit at any number of boxes; we can only determine the usefulness of this feature through testing. This option probably has limited effect on current Windows versions as they already perform GDI batching.
8 "-engine engine_type_id" This option, which is intended for Cygwin/X developers, overrides the server's automatically selected drawing engine type. This parameter will be ignored if the specified drawing engine type is not supported on the current system. Default behavior is to select the drawing engine with optimum performance that supports the specified depth and window configuration. The engine type ids are:
8 "-depth depth" Specify the color depth, in bits per pixel, to use when running in fullscreen with a DirectDraw engine. This parameter is ignored if -fullscreen is not specified.
8 "-refresh rate_in_Hz" Specify an optional refresh rate to use when running in fullscreen with a DirectDraw engine. This parameter is ignored if -fullscreen is not specified.
8 -help Write a help text listing supported command line options and their description to the console.
8 -ignoreinput Ignore keyboard and mouse input. This is usually only used for testing and debugging purposes.
8 "-logfile filename" Change the server log file from the default of @logdir@/XWin.n.log, where n is the display number of the XWin server, to filename.
8 "-logverbose level" Control the degree of verbosity of the log messages with the integer parameter level. For level=0 only fatal errors are reported, for level=1 simple information about configuration is also given, for level=2 (default) additional runtime information is recorded and for level=3 detailed log information (including trace and debug output) is produced. Bigger values will yield a still more detailed debug output.
8 "-xkblayout layout"
8 "-xkbmodel model"
8 "-xkboptions option"
8 "-xkbrules rule"
8 "-xkbvariant variant" These options configure the xkeyboard extension to load a particular keyboard map as the X server starts. The behavior is similar to the setxkbmap(1) program. See the xkeyboard-config(@miscmansuffix@) manual page for a list of keyboard configurations. The keyboard layout data is located at @datadir@/X11/xkb/. Additional information can be found in the README files there and in the setxkbmap(1) manual page. For example, in order to load a German layout for a pc105 keyboard, use the options:
" -xkblayout de -xkbmodel pc105" Alternatively, you can use the setxkbmap(1) program after XWin is running. The default is to select a keyboard configuration matching your current layout as reported by Windows, if known, or the default X server configuration if no matching keyboard configuration was found.
8 -emulatepseudo Create a depth 8 PseudoColor visual when running in depths 15, 16, 24, or 32, collectively known as TrueColor depths. Color map manipulation is not supported, so the PseudoColor visual will not have the correct colors. This option is intended to allow applications which only work with a depth 8 visual to operate in TrueColor modes.
* To include items into the menu associated with the XWin icon which is in the Windows system tray. This functions in all modes that have a tray icon.
* To include items in the system menu which is associated with the Windows window that XWin -multiwindow produces for each top-level X window, in both the generic case and for particular programs.
* To change the icon that is associated to the Windows window that XWin -multiwindow produces for each top-level X-window.
* To change the style that is associated to the Windows window that XWin -multiwindow produces for each top-level X window.
The format of the .XWinrc file is given in the XWinrc(5) manual page.