mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-05 00:38:00 +02:00
Resync to 2004-04-10 XORG-RELEASE-1 branch (step 2: Adding missing files
and removing obsolete ones)
This commit is contained in:
parent
6cf32b7786
commit
40967f22d3
10 changed files with 8241 additions and 0 deletions
20
hw/xfree86/common/xorgHelper.c
Normal file
20
hw/xfree86/common/xorgHelper.c
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
/* $XdotOrg: xc/programs/Xserver/hw/xfree86/common/xorgHelper.c,v 1.1.6.1 2004/04/02 21:47:17 eich Exp $ */
|
||||
|
||||
#include "X.h"
|
||||
#include "os.h"
|
||||
#include "servermd.h"
|
||||
#include "pixmapstr.h"
|
||||
#include "windowstr.h"
|
||||
#include "propertyst.h"
|
||||
#include "gcstruct.h"
|
||||
#include "loaderProcs.h"
|
||||
#include "xf86.h"
|
||||
#include "xf86Priv.h"
|
||||
#include "xorgVersion.h"
|
||||
|
||||
|
||||
CARD32
|
||||
xorgGetVersion()
|
||||
{
|
||||
return XORG_VERSION_CURRENT;
|
||||
}
|
||||
51
hw/xfree86/common/xorgVersion.h
Normal file
51
hw/xfree86/common/xorgVersion.h
Normal file
|
|
@ -0,0 +1,51 @@
|
|||
/* $XdotOrg: xc/programs/Xserver/hw/xfree86/xorgVersion.h,v 1.1.6.1 2004/04/02 21:47:17 eich Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 2004, X.Org Foundation
|
||||
*
|
||||
* Permission is hereby granted, free of charge, to any person obtaining a
|
||||
* copy of this software and associated documentation files (the "Software"),
|
||||
* to deal in the Software without restriction, including without limitation
|
||||
* the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
* and/or sell copies of the Software, and to permit persons to whom the
|
||||
* Software is furnished to do so, subject to the following conditions:
|
||||
*
|
||||
* The above copyright notice and this permission notice shall be included in
|
||||
* all copies or substantial portions of the Software.
|
||||
*
|
||||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
* THE COPYRIGHT HOLDER(S) OR AUTHOR(S) BE LIABLE FOR ANY CLAIM, DAMAGES OR
|
||||
* OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
|
||||
* ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
|
||||
* OTHER DEALINGS IN THE SOFTWARE.
|
||||
*
|
||||
* Except as contained in this notice, the name of the copyright holder(s)
|
||||
* and author(s) shall not be used in advertising or otherwise to promote
|
||||
* the sale, use or other dealings in this Software without prior written
|
||||
* authorization from the copyright holder(s) and author(s).
|
||||
*/
|
||||
|
||||
#ifndef XORG_VERSION_H
|
||||
# define XORG_VERSION_H
|
||||
|
||||
# ifndef XORG_VERSION_CURRENT
|
||||
# error
|
||||
# endif
|
||||
|
||||
# define XORG_VERSION_NUMERIC(major,minor,patch,snap,dummy) \
|
||||
(((major) * 10000000) + ((minor) * 100000) + ((patch) * 1000) + snap)
|
||||
|
||||
# define XORG_GET_MAJOR_VERSION(vers) ((vers) / 10000000)
|
||||
# define XORG_GET_MINOR_VERSION(vers) (((vers) % 10000000) / 100000)
|
||||
# define XORG_GET_PATCH_VERSION(vers) (((vers) % 100000) / 1000)
|
||||
# define XORG_GET_SNAP_VERSION(vers) ((vers) % 1000)
|
||||
|
||||
# define XORG_VERSION_MAJOR XORG_GET_MAJOR_VERSION(XORG_VERSION_CURRENT)
|
||||
# define XORG_VERSION_MINOR XORG_GET_MINOR_VERSION(XORG_VERSION_CURRENT)
|
||||
# define XORG_VERSION_PATCH XORG_GET_PATCH_VERSION(XORG_VERSION_CURRENT)
|
||||
# define XORG_VERSION_SNAP XORG_GET_PATCH_VERSION(XORG_VERSION_CURRENT)
|
||||
|
||||
#endif
|
||||
/* $XdotOrg: xc/programs/Xserver/hw/xfree86/xorgVersion.h,v 1.1.6.1 2004/04/02 21:47:17 eich Exp $ */
|
||||
691
hw/xfree86/doc/man/Xorg.man.pre
Normal file
691
hw/xfree86/doc/man/Xorg.man.pre
Normal file
|
|
@ -0,0 +1,691 @@
|
|||
.\" $XdotOrg: xc/programs/Xserver/hw/xfree86/Xorg.man,v 1.1.6.1 2004/04/02 21:47:16 eich Exp $
|
||||
.TH __xservername__ __appmansuffix__ __vendorversion__
|
||||
.SH NAME
|
||||
__xservername__ - X11R6 X server
|
||||
.SH SYNOPSIS
|
||||
.B __xservername__
|
||||
.RI [\fB:\fP display ]
|
||||
.RI [ option
|
||||
.IR ... ]
|
||||
.SH DESCRIPTION
|
||||
.B __xservername__
|
||||
is a full featured X server that was originally designed for UNIX and
|
||||
UNIX-like operating systems running on Intel x86 hardware. It now runs
|
||||
on a wider range of hardware and OS platforms.
|
||||
.PP
|
||||
This work was derived from
|
||||
.I "XFree86\ 4.4rc2"
|
||||
by the X.Org Foundation.
|
||||
The XFree86 4.4rc2 release was originally derived from
|
||||
.I "X386\ 1.2"
|
||||
by Thomas Roell which was contributed to X11R5 by Snitily Graphics
|
||||
Consulting Service. The
|
||||
.B __xservername__
|
||||
server architecture includes
|
||||
among many other things a loadable module system derived from code
|
||||
donated by Metro Link, Inc. The current __xservername__ release is compatible
|
||||
with X11R6.6.
|
||||
.SH PLATFORMS
|
||||
.PP
|
||||
.B __xservername__
|
||||
operates under a wide range of operating systems and hardware platforms.
|
||||
The Intel x86 (IA32) architecture is the most widely supported hardware
|
||||
platform. Other hardware platforms include Compaq Alpha, Intel IA64,
|
||||
SPARC and PowerPC. The most widely supported operating systems are the
|
||||
free/OpenSource UNIX-like systems such as Linux, FreeBSD, NetBSD and
|
||||
OpenBSD. Commercial UNIX operating systems such as Solaris (x86) and
|
||||
UnixWare are also supported. Other supported operating systems include
|
||||
LynxOS, and GNU Hurd. Darwin and Mac OS X are supported with the
|
||||
XDarwin(1) X server. Win32/Cygwin is supported with the XWin X server.
|
||||
.PP
|
||||
.SH "NETWORK CONNECTIONS"
|
||||
.B __xservername__
|
||||
supports connections made using the following reliable
|
||||
byte-streams:
|
||||
.TP 4
|
||||
.I "Local"
|
||||
On most platforms, the "Local" connection type is a UNIX-domain socket.
|
||||
On some System V platforms, the "local" connection types also include
|
||||
STREAMS pipes, named pipes, and some other mechanisms.
|
||||
.TP 4
|
||||
.I TCP\/IP
|
||||
.B __xservername__
|
||||
listens on port
|
||||
.RI 6000+ n ,
|
||||
where
|
||||
.I n
|
||||
is the display number. This connection type can be disabled with the
|
||||
.B \-nolisten
|
||||
option (see the Xserver(1) man page for details).
|
||||
.SH "ENVIRONMENT VARIABLES"
|
||||
For operating systems that support local connections other than Unix
|
||||
Domain sockets (SVR3 and SVR4), there is a compiled-in list specifying
|
||||
the order in which local connections should be attempted. This list
|
||||
can be overridden by the
|
||||
.I XLOCAL
|
||||
environment variable described below. If the display name indicates a
|
||||
best-choice connection should be made (e.g.
|
||||
.BR :0.0 ),
|
||||
each connection mechanism is tried until a connection succeeds or no
|
||||
more mechanisms are available. Note: for these OSs, the Unix Domain
|
||||
socket connection is treated differently from the other local connection
|
||||
types. To use it the connection must be made to
|
||||
.BR unix:0.0 .
|
||||
.PP
|
||||
The
|
||||
.I XLOCAL
|
||||
environment variable should contain a list of one more
|
||||
more of the following:
|
||||
.PP
|
||||
.RS 8
|
||||
.nf
|
||||
NAMED
|
||||
PTS
|
||||
SCO
|
||||
ISC
|
||||
.fi
|
||||
.RE
|
||||
.PP
|
||||
which represent SVR4 Named Streams pipe, Old-style USL Streams pipe,
|
||||
SCO XSight Streams pipe, and ISC Streams pipe, respectively. You can
|
||||
select a single mechanism (e.g.
|
||||
.IR XLOCAL=NAMED ),
|
||||
or an ordered list (e.g. \fIXLOCAL="NAMED:PTS:SCO"\fP).
|
||||
his variable overrides the compiled-in defaults. For SVR4 it is
|
||||
recommended that
|
||||
.I NAMED
|
||||
be the first preference connection. The default setting is
|
||||
.IR PTS:NAMED:ISC:SCO .
|
||||
.PP
|
||||
To globally override the compiled-in defaults, you should define (and
|
||||
export if using
|
||||
.B sh
|
||||
or
|
||||
.BR ksh )
|
||||
.I XLOCAL
|
||||
globally. If you use startx(1) or xinit(1), the definition should be
|
||||
at the top of your
|
||||
.I .xinitrc
|
||||
file. If you use xdm(1), the definitions should be early on in the
|
||||
.I __projectroot__/lib/X11/xdm/Xsession
|
||||
script.
|
||||
.SH OPTIONS
|
||||
.B __xservername__
|
||||
supports several mechanisms for supplying/obtaining configuration and
|
||||
run-time parameters: command line options, environment variables, the
|
||||
__xconfigfile__(__filemansuffix__) configuration file, auto-detection, and
|
||||
fallback defaults. When the same information is supplied in more than
|
||||
one way, the highest precedence mechanism is used. The list of mechanisms
|
||||
is ordered from highest precedence to lowest. Note that not all parameters
|
||||
can be supplied via all methods. The available command line options
|
||||
and environment variables (and some defaults) are described here and in
|
||||
the Xserver(1) manual page. Most configuration file parameters, with
|
||||
their defaults, are described in the __xconfigfile__(__filemansuffix__) manual
|
||||
page. Driver and module specific configuration parameters are described
|
||||
in the relevant driver or module manual page.
|
||||
.PP
|
||||
In addition to the normal server options described in the Xserver(1)
|
||||
manual page,
|
||||
.B __xservername__
|
||||
accepts the following command line switches:
|
||||
.TP 8
|
||||
.BI vt XX
|
||||
.I XX
|
||||
specifies the Virtual Terminal device number which
|
||||
.B __xservername__
|
||||
will use. Without this option,
|
||||
.B __xservername__
|
||||
will pick the first available Virtual Terminal that it can locate. This
|
||||
option applies only to platforms such as Linux, BSD, SVR3 and SVR4, that
|
||||
have virtual terminal support.
|
||||
.TP
|
||||
.B \-allowMouseOpenFail
|
||||
Allow the server to start up even if the mouse device can't be opened
|
||||
or initialised. This is equivalent to the
|
||||
.B AllowMouseOpenFail
|
||||
__xconfigfile__(__filemansuffix__) file option.
|
||||
.TP 8
|
||||
.B \-allowNonLocalModInDev
|
||||
Allow changes to keyboard and mouse settings from non-local clients.
|
||||
By default, connections from non-local clients are not allowed to do
|
||||
this. This is equivalent to the
|
||||
.B AllowNonLocalModInDev
|
||||
__xconfigfile__(__filemansuffix__) file option.
|
||||
.TP 8
|
||||
.B \-allowNonLocalXvidtune
|
||||
Make the VidMode extension available to remote clients. This allows
|
||||
the xvidtune client to connect from another host. This is equivalent
|
||||
to the
|
||||
.B AllowNonLocalXvidtune
|
||||
__xconfigfile__(__filemansuffix__) file option. By default non-local
|
||||
connections are not allowed.
|
||||
.TP 8
|
||||
.BI \-bgamma " value"
|
||||
Set the blue gamma correction.
|
||||
.I value
|
||||
must be between 0.1 and 10.
|
||||
The default is 1.0. Not all drivers support this. See also the
|
||||
.BR \-gamma ,
|
||||
.BR \-rgamma ,
|
||||
and
|
||||
.B \-ggamma
|
||||
options.
|
||||
.TP 8
|
||||
.BI \-bpp " n"
|
||||
No longer supported. Use
|
||||
.B \-depth
|
||||
to set the color depth, and use
|
||||
.B \-fbbpp
|
||||
if you really need to force a non-default framebuffer (hardware) pixel
|
||||
format.
|
||||
.TP
|
||||
.B \-configure
|
||||
When this option is specified, the
|
||||
.B __xservername__
|
||||
server loads all video driver modules, probes for available hardware,
|
||||
and writes out an initial __xconfigfile__(__filemansuffix__) file based on
|
||||
what was detected. This option currently has some problems on some
|
||||
platforms, but in most cases it is a good way to bootstrap the
|
||||
configuration process. This option is only available when the server
|
||||
is run as root (i.e, with real-uid 0).
|
||||
.TP 8
|
||||
.BI "\-crt /dev/tty" XX
|
||||
SCO only. This is the same as the
|
||||
.B vt
|
||||
option, and is provided for compatibility with the native SCO X server.
|
||||
.TP 8
|
||||
.BI \-depth " n"
|
||||
Sets the default color depth. Legal values are 1, 4, 8, 15, 16, and
|
||||
24. Not all drivers support all values.
|
||||
.TP 8
|
||||
.B \-disableModInDev
|
||||
Disable dynamic modification of input device settings. This is equivalent
|
||||
to the
|
||||
.B DisableModInDev
|
||||
__xconfigfile__(__filemansuffix__) file option.
|
||||
.TP 8
|
||||
.B \-disableVidMode
|
||||
Disable the the parts of the VidMode extension (used by the xvidtune
|
||||
client) that can be used to change the video modes. This is equivalent
|
||||
to the
|
||||
.B DisableVidModeExtension
|
||||
__xconfigfile__(__filemansuffix__) file option.
|
||||
.TP 8
|
||||
.B \-fbbpp \fIn\fP
|
||||
Sets the number of framebuffer bits per pixel. You should only set this
|
||||
if you're sure it's necessary; normally the server can deduce the correct
|
||||
value from
|
||||
.B \-depth
|
||||
above. Useful if you want to run a depth 24 configuration with a 24
|
||||
bpp framebuffer rather than the (possibly default) 32 bpp framebuffer
|
||||
(or vice versa). Legal values are 1, 8, 16, 24, 32. Not all drivers
|
||||
support all values.
|
||||
.TP 8
|
||||
.B \-flipPixels
|
||||
Swap the default values for the black and white pixels.
|
||||
.TP 8
|
||||
.BI \-gamma " value"
|
||||
Set the gamma correction.
|
||||
.I value
|
||||
must be between 0.1 and 10. The default is 1.0. This value is applied
|
||||
equally to the R, G and B values. Those values can be set independently
|
||||
with the
|
||||
.BR \-rgamma ,
|
||||
.BR \-bgamma ,
|
||||
and
|
||||
.B \-ggamma
|
||||
options. Not all drivers support this.
|
||||
.TP 8
|
||||
.BI \-ggamma " value"
|
||||
Set the green gamma correction.
|
||||
.I value
|
||||
must be between 0.1 and 10. The default is 1.0. Not all drivers support
|
||||
this. See also the
|
||||
.BR \-gamma ,
|
||||
.BR \-rgamma ,
|
||||
and
|
||||
.B \-bgamma
|
||||
options.
|
||||
.TP 8
|
||||
.B \-ignoreABI
|
||||
The
|
||||
.B __xservername__
|
||||
server checks the ABI revision levels of each module that it loads. It
|
||||
will normally refuse to load modules with ABI revisions that are newer
|
||||
than the server's. This is because such modules might use interfaces
|
||||
that the server does not have. When this option is specified, mismatches
|
||||
like this are downgraded from fatal errors to warnings. This option
|
||||
should be used with care.
|
||||
.TP 8
|
||||
.B \-keeptty
|
||||
Prevent the server from detaching its initial controlling terminal.
|
||||
This option is only useful when debugging the server. Not all platforms
|
||||
support (or can use) this option.
|
||||
.TP 8
|
||||
.BI \-keyboard " keyboard-name"
|
||||
Use the __xconfigfile__(__filemansuffix__) file
|
||||
.B InputDevice
|
||||
section called
|
||||
.I keyboard-name
|
||||
as the core keyboard. This option is ignored when the
|
||||
.B Layout
|
||||
section specifies a core keyboard. In the absence of both a Layout
|
||||
section and this option, the first relevant
|
||||
.B InputDevice
|
||||
section is used for the core keyboard.
|
||||
.TP 8
|
||||
.BI \-layout " layout-name"
|
||||
Use the __xconfigfile__(__filemansuffix__) file
|
||||
.B Layout
|
||||
section called
|
||||
.IR layout-name .
|
||||
By default the first
|
||||
.B Layout
|
||||
section is used.
|
||||
.TP 8
|
||||
.BI \-logfile " filename"
|
||||
Use the file called
|
||||
.I filename
|
||||
as the
|
||||
.B __xservername__
|
||||
server log file. The default log file is
|
||||
.BI __logdir__/__xservername__. n .log
|
||||
on most platforms, where
|
||||
.I n
|
||||
is the display number of the
|
||||
.B __xservername__
|
||||
server. The default may be in a different directory on some platforms.
|
||||
This option is only available when the server is run as root (i.e, with
|
||||
real-uid 0).
|
||||
.TP 8
|
||||
.BR \-logverbose " [\fIn\fP]"
|
||||
Sets the verbosity level for information printed to the
|
||||
.B __xservername__
|
||||
server log file. If the
|
||||
.I n
|
||||
value isn't supplied, each occurrence of this option increments the log
|
||||
file verbosity level. When the
|
||||
.I n
|
||||
value is supplied, the log file verbosity level is set to that value.
|
||||
The default log file verbosity level is 3.
|
||||
.TP 8
|
||||
.BI \-modulepath " searchpath"
|
||||
Set the module search path to
|
||||
.IR searchpath .
|
||||
.I searchpath
|
||||
is a comma separated list of directories to search for
|
||||
.B __xservername__
|
||||
server modules. This option is only available when the server is run
|
||||
as root (i.e, with real-uid 0).
|
||||
.TP 8
|
||||
.B \-nosilk
|
||||
Disable Silken Mouse support.
|
||||
.TP 8
|
||||
.B \-pixmap24
|
||||
Set the internal pixmap format for depth 24 pixmaps to 24 bits per pixel.
|
||||
The default is usually 32 bits per pixel. There is normally little
|
||||
reason to use this option. Some client applications don't like this
|
||||
pixmap format, even though it is a perfectly legal format. This is
|
||||
equivalent to the
|
||||
.B Pixmap
|
||||
__xconfigfile__(__filemansuffix__) file option.
|
||||
.TP 8
|
||||
.B \-pixmap32
|
||||
Set the internal pixmap format for depth 24 pixmaps to 32 bits per pixel.
|
||||
This is usually the default. This is equivalent to the
|
||||
.B Pixmap
|
||||
__xconfigfile__(__filemansuffix__) file option.
|
||||
.TP 8
|
||||
.BI \-pointer " pointer-name"
|
||||
Use the __xconfigfile__(__filemansuffix__) file
|
||||
.B InputDevice
|
||||
section called
|
||||
.I pointer-name
|
||||
as the core pointer. This option is ignored when the
|
||||
.B Layout
|
||||
section specifies a core pointer. In the absence of both a Layout
|
||||
section and this option, the first relevant
|
||||
.B InputDevice
|
||||
section is used for the core pointer.
|
||||
.TP 8
|
||||
.B \-probeonly
|
||||
Causes the server to exit after the device probing stage. The
|
||||
__xconfigfile__(__filemansuffix__) file is still used when this option is
|
||||
given, so information that can be auto-detected should be commented out.
|
||||
.TP 8
|
||||
.B \-quiet
|
||||
Suppress most informational messages at startup. The verbosity level
|
||||
is set to zero.
|
||||
.TP 8
|
||||
.BI \-rgamma " value"
|
||||
Set the red gamma correction.
|
||||
.I value
|
||||
must be between 0.1 and 10. The default is 1.0. Not all drivers support
|
||||
this. See also the
|
||||
.BR \-gamma ,
|
||||
.BR \-bgamma ,
|
||||
and
|
||||
.B \-ggamma
|
||||
options.
|
||||
.TP 8
|
||||
.B \-scanpci
|
||||
When this option is specified, the
|
||||
.B __xservername__
|
||||
server scans the PCI bus, and prints out some information about each
|
||||
device that was detected. See also scanpci(1) and pcitweak(1).
|
||||
.TP 8
|
||||
.BI \-screen " screen-name"
|
||||
Use the __xconfigfile__(__filemansuffix__) file
|
||||
.B Screen
|
||||
section called
|
||||
.IR screen-name .
|
||||
By default the screens referenced by the default
|
||||
.B Layout
|
||||
section are used, or the first
|
||||
.B Screen
|
||||
section when there are no
|
||||
.B Layout
|
||||
sections.
|
||||
.TP 8
|
||||
.B \-showconfig
|
||||
This is the same as the
|
||||
.B \-version
|
||||
option, and is included for compatibility reasons. It may be removed
|
||||
in a future release, so the
|
||||
.B \-version
|
||||
option should be used instead.
|
||||
.TP 8
|
||||
.BI \-weight " nnn"
|
||||
Set RGB weighting at 16 bpp. The default is 565. This applies only to
|
||||
those drivers which support 16 bpp.
|
||||
.TP 8
|
||||
.BR \-verbose " [\fIn\fP]"
|
||||
Sets the verbosity level for information printed on stderr. If the
|
||||
.I n
|
||||
value isn't supplied, each occurrence of this option increments the
|
||||
verbosity level. When the
|
||||
.I n
|
||||
value is supplied, the verbosity level is set to that value. The default
|
||||
verbosity level is 0.
|
||||
.TP 8
|
||||
.B \-version
|
||||
Print out the server version, patchlevel, release date, the operating
|
||||
system/platform it was built on, and whether it includes module loader
|
||||
support.
|
||||
.TP 8
|
||||
.BI \-config " file"
|
||||
Read the server configuration from
|
||||
.IR file .
|
||||
This option will work for any file when the server is run as root (i.e,
|
||||
with real-uid 0), or for files relative to a directory in the config
|
||||
search path for all other users.
|
||||
.SH "KEYBOARD"
|
||||
.PP
|
||||
The
|
||||
.B __xservername__
|
||||
server is normally configured to recognize various special combinations
|
||||
of key presses that instruct the server to perform some action, rather
|
||||
than just sending the key press event to a client application. The
|
||||
default XKEYBOARD keymap defines the key combinations listed below.
|
||||
The server also has these key combinations builtin to its event handler
|
||||
for cases where the XKEYBOARD extension is not being used. When using
|
||||
the XKEYBOARD extension, which key combinations perform which actions
|
||||
is completely configurable.
|
||||
.PP
|
||||
For more information about when the builtin event handler
|
||||
is used to recognize the special key combinations, see
|
||||
the documentation on the
|
||||
.B HandleSpecialKeys
|
||||
option in the __xconfigfile__(__filemansuffix__) man page.
|
||||
.PP
|
||||
The special combinations of key presses recognized directly
|
||||
by
|
||||
.B __xservername__
|
||||
are:
|
||||
.TP 8
|
||||
.B Ctrl+Alt+Backspace
|
||||
Immediately kills the server -- no questions asked. This can be disabled
|
||||
with the
|
||||
.B DontZap
|
||||
__xconfigfile__(__filemansuffix__) file option.
|
||||
.TP 8
|
||||
.B Ctrl+Alt+Keypad-Plus
|
||||
Change video mode to next one specified in the configuration file.
|
||||
This can be disabled with the
|
||||
.B DontZoom
|
||||
__xconfigfile__(__filemansuffix__) file option.
|
||||
.TP 8
|
||||
.B Ctrl+Alt+Keypad-Minus
|
||||
Change video mode to previous one specified in the configuration file.
|
||||
This can be disabled with the
|
||||
.B DontZoom
|
||||
__xconfigfile__(__filemansuffix__) file option.
|
||||
.TP 8
|
||||
.B Ctrl+Alt+Keypad-Multiply
|
||||
Not treated specially by default. If the
|
||||
.B AllowClosedownGrabs
|
||||
__xconfigfile__(__filemansuffix__) file option is specified, this key sequence
|
||||
kills clients with an active keyboard or mouse grab as well as killing any
|
||||
application that may have locked the server, normally using the
|
||||
XGrabServer(__libmansuffix__) Xlib function.
|
||||
.TP 8
|
||||
.B Ctrl+Alt+Keypad-Divide
|
||||
Not treated specially by default. If the
|
||||
.B AllowDeactivateGrabs
|
||||
__xconfigfile__(__filemansuffix__) file option is specified, this key sequence
|
||||
deactivates any active keyboard and mouse grabs.
|
||||
.TP 8
|
||||
.B Ctrl+Alt+F1...F12
|
||||
For BSD and Linux systems with virtual terminal support, these keystroke
|
||||
combinations are used to switch to virtual terminals 1 through 12,
|
||||
respectively. This can be disabled with the
|
||||
.B DontVTSwitch
|
||||
__xconfigfile__(__filemansuffix__) file option.
|
||||
.SH CONFIGURATION
|
||||
.B __xservername__
|
||||
typically uses a configuration file called
|
||||
.B __xconfigfile__
|
||||
for its initial setup.
|
||||
Refer to the __xconfigfile__(__filemansuffix__) manual page for information
|
||||
about the format of this file.
|
||||
.PP
|
||||
Starting with version 4.4,
|
||||
.B __xservername__
|
||||
has a mechanism for automatically generating a built-in configuration
|
||||
at run-time when no
|
||||
.B __xconfigfile__
|
||||
file is present. The current version of this automatic configuration
|
||||
mechanism works in three ways.
|
||||
.PP
|
||||
The first is via enhancements that have made many components of the
|
||||
.B __xconfigfile__
|
||||
file optional. This means that information that can be probed or
|
||||
reasonably deduced doesn't need to be specified explicitly, greatly
|
||||
reducing the amount of built-in configuration information that needs to
|
||||
be generated at run-time.
|
||||
.PP
|
||||
The second is to use an external utility called getconfig(1), when
|
||||
available, to use meta-configuration information to generate a suitable
|
||||
configuration for the primary video device. The meta-configuration
|
||||
information can be updated to allow an existing installation to get the
|
||||
best out of new hardware or to work around bugs that are found
|
||||
post-release.
|
||||
.PP
|
||||
The third is to have "safe" fallbacks for most configuration information.
|
||||
This maximises the likelihood that the
|
||||
.B __xservername__
|
||||
server will start up in some usable configuration even when information
|
||||
about the specific hardware is not available.
|
||||
.PP
|
||||
The automatic configuration support for __xservername__ is work in progress.
|
||||
It is currently aimed at the most popular hardware and software platforms
|
||||
supported by __xservername__. Enhancements are planned for future releases.
|
||||
.SH FILES
|
||||
The
|
||||
.B __xservername__
|
||||
server config file can be found in a range of locations. These are
|
||||
documented fully in the __xconfigfile__(__filemansuffix__) manual page. The
|
||||
most commonly used locations are shown here.
|
||||
.TP 30
|
||||
.B /etc/X11/__xconfigfile__
|
||||
Server configuration file.
|
||||
.TP 30
|
||||
.B /etc/X11/__xconfigfile__-4
|
||||
Server configuration file.
|
||||
.TP 30
|
||||
.B /etc/__xconfigfile__
|
||||
Server configuration file.
|
||||
.TP 30
|
||||
.B __projectroot__/etc/__xconfigfile__
|
||||
Server configuration file.
|
||||
.TP 30
|
||||
.B __projectroot__/lib/X11/__xconfigfile__
|
||||
Server configuration file.
|
||||
.TP 30
|
||||
.BI __logdir__/__xservername__. n .log
|
||||
Server log file for display
|
||||
.IR n .
|
||||
.TP 30
|
||||
.B __projectroot__/bin/\(**
|
||||
Client binaries.
|
||||
.TP 30
|
||||
.B __projectroot__/include/\(**
|
||||
Header files.
|
||||
.TP 30
|
||||
.B __projectroot__/lib/\(**
|
||||
Libraries.
|
||||
.TP 30
|
||||
.B __projectroot__/lib/X11/fonts/\(**
|
||||
Fonts.
|
||||
.TP 30
|
||||
.B __projectroot__/lib/X11/rgb.txt
|
||||
Color names to RGB mapping.
|
||||
.TP 30
|
||||
.B __projectroot__/lib/X11/XErrorDB
|
||||
Client error message database.
|
||||
.TP 30
|
||||
.B __projectroot__/lib/X11/app-defaults/\(**
|
||||
Client resource specifications.
|
||||
.TP 30
|
||||
.B __projectroot__/man/man?/\(**
|
||||
Manual pages.
|
||||
.TP 30
|
||||
.BI /etc/X n .hosts
|
||||
Initial access control list for display
|
||||
.IR n .
|
||||
.SH "SEE ALSO"
|
||||
X(__miscmansuffix__), Xserver(__appmansuffix__), xdm(__appmansuffix__), xinit(__appmansuffix__),
|
||||
__xconfigfile__(__filemansuffix__), xorgconfig(__appmansuffix__), xorgcfg(__appmansuffix__), xvidtune(__appmansuffix__),
|
||||
apm(__drivermansuffix__),
|
||||
ati(__drivermansuffix__),
|
||||
chips(__drivermansuffix__),
|
||||
cirrus(__drivermansuffix__),
|
||||
cyrix(__drivermansuffix__),
|
||||
fbdev(__drivermansuffix__),
|
||||
glide(__drivermansuffix__),
|
||||
glint(__drivermansuffix__),
|
||||
i128(__drivermansuffix__),
|
||||
i740(__drivermansuffix__),
|
||||
i810(__drivermansuffix__),
|
||||
imstt(__drivermansuffix__),
|
||||
mga(__drivermansuffix__),
|
||||
neomagic(__drivermansuffix__),
|
||||
nsc(__drivermansuffix__),
|
||||
nv(__drivermansuffix__),
|
||||
r128(__drivermansuffix__),
|
||||
rendition(__drivermansuffix__),
|
||||
s3virge(__drivermansuffix__),
|
||||
siliconmotion(__drivermansuffix__),
|
||||
sis(__drivermansuffix__),
|
||||
sunbw2(__drivermansuffix__),
|
||||
suncg14(__drivermansuffix__),
|
||||
suncg3(__drivermansuffix__),
|
||||
suncg6(__drivermansuffix__),
|
||||
sunffb(__drivermansuffix__),
|
||||
sunleo(__drivermansuffix__),
|
||||
suntcx(__drivermansuffix__),
|
||||
tdfx(__drivermansuffix__),
|
||||
tga(__drivermansuffix__),
|
||||
trident(__drivermansuffix__),
|
||||
tseng(__drivermansuffix__),
|
||||
v4l(__drivermansuffix__),
|
||||
vesa(__drivermansuffix__),
|
||||
vga(__drivermansuffix__),
|
||||
vmware(__drivermansuffix__),
|
||||
.br
|
||||
Web site
|
||||
.IR <http://www.x.org> .
|
||||
|
||||
.SH AUTHORS
|
||||
__xservername__ has many contributors world wide. The names of most of them
|
||||
can be found in the documentation, CHANGELOG files in the source tree,
|
||||
and in the actual source code.
|
||||
.PP
|
||||
__xservername__ was originally based on XFree86 4.4rc2.
|
||||
That was originally based on \fIX386 1.2\fP by Thomas Roell, which
|
||||
was contributed to the then X Consortium's X11R5 distribution by SGCS.
|
||||
.PP
|
||||
__xservername__ is released by the X.org Foundation.
|
||||
.PP
|
||||
The project that became XFree86 was originally founded in 1992 by
|
||||
David Dawes, Glenn Lai, Jim Tsillas and David Wexelblat.
|
||||
.PP
|
||||
XFree86 was later integrated in the then X Consortium's X11R6 release
|
||||
by a group of dedicated XFree86 developers, including the following:
|
||||
.PP
|
||||
.RS 4
|
||||
.nf
|
||||
Stuart Anderson \fIanderson@metrolink.com\fP
|
||||
Doug Anson \fIdanson@lgc.com\fP
|
||||
Gertjan Akkerman \fIakkerman@dutiba.twi.tudelft.nl\fP
|
||||
Mike Bernson \fImike@mbsun.mlb.org\fP
|
||||
Robin Cutshaw \fIrobin@XFree86.org\fP
|
||||
David Dawes \fIdawes@XFree86.org\fP
|
||||
Marc Evans \fImarc@XFree86.org\fP
|
||||
Pascal Haible \fIhaible@izfm.uni-stuttgart.de\fP
|
||||
Matthieu Herrb \fIMatthieu.Herrb@laas.fr\fP
|
||||
Dirk Hohndel \fIhohndel@XFree86.org\fP
|
||||
David Holland \fIdavidh@use.com\fP
|
||||
Alan Hourihane \fIalanh@fairlite.demon.co.uk\fP
|
||||
Jeffrey Hsu \fIhsu@soda.berkeley.edu\fP
|
||||
Glenn Lai \fIglenn@cs.utexas.edu\fP
|
||||
Ted Lemon \fImellon@ncd.com\fP
|
||||
Rich Murphey \fIrich@XFree86.org\fP
|
||||
Hans Nasten \fInasten@everyware.se\fP
|
||||
Mark Snitily \fImark@sgcs.com\fP
|
||||
Randy Terbush \fIrandyt@cse.unl.edu\fP
|
||||
Jon Tombs \fItombs@XFree86.org\fP
|
||||
Kees Verstoep \fIversto@cs.vu.nl\fP
|
||||
Paul Vixie \fIpaul@vix.com\fP
|
||||
Mark Weaver \fIMark_Weaver@brown.edu\fP
|
||||
David Wexelblat \fIdwex@XFree86.org\fP
|
||||
Philip Wheatley \fIPhilip.Wheatley@ColumbiaSC.NCR.COM\fP
|
||||
Thomas Wolfram \fIwolf@prz.tu-berlin.de\fP
|
||||
Orest Zborowski \fIorestz@eskimo.com\fP
|
||||
.fi
|
||||
.RE
|
||||
.PP
|
||||
__xservername__ source is available from the FTP server
|
||||
\fI<ftp://ftp.x.org/>\fP, and from the X.org
|
||||
server \fI<http://www.freedesktop.org/cvs/>\fP. Documentation and other
|
||||
information can be found from the X.org web site
|
||||
\fI<http://www.x.org/>\fP.
|
||||
|
||||
.SH LEGAL
|
||||
.PP
|
||||
.B __xservername__
|
||||
is copyright software, provided under licenses that permit modification
|
||||
and redistribution in source and binary form without fee.
|
||||
.B __xservername__ is copyright by numerous authors and
|
||||
contributors from around the world. Licensing information can be found
|
||||
at
|
||||
.IR <http://www.x.org> .
|
||||
Refer to the source code for specific copyright notices.
|
||||
.PP
|
||||
.B XFree86(TM)
|
||||
is a trademark of The XFree86 Project, Inc.
|
||||
.PP
|
||||
.B X11(TM)
|
||||
and
|
||||
.B X Window System(TM)
|
||||
are trademarks of The Open Group.
|
||||
1872
hw/xfree86/doc/man/xorg.conf.man.pre
Normal file
1872
hw/xfree86/doc/man/xorg.conf.man.pre
Normal file
File diff suppressed because it is too large
Load diff
50
hw/xfree86/getconfig/xorg.cfg
Normal file
50
hw/xfree86/getconfig/xorg.cfg
Normal file
|
|
@ -0,0 +1,50 @@
|
|||
# $XdotOrg: xc/programs/Xserver/hw/xfree86/getconfig/xorg.cfg,v 1.1.6.1 2004/04/02 21:47:28 eich Exp $
|
||||
|
||||
# Base Xorg getconfig rules file.
|
||||
|
||||
#
|
||||
# The line below is the getconfig rules file signature, and must be the
|
||||
# first non-blank, non-comment line.
|
||||
#
|
||||
|
||||
Xorg Project getconfig rules file. Version: 1.0
|
||||
|
||||
#
|
||||
# Set the weight for the following rules. This should be set, otherwise
|
||||
# the previously set weight will get used, and you have no idea of knowing
|
||||
# what that might be.
|
||||
#
|
||||
|
||||
$weight = 1000
|
||||
|
||||
#
|
||||
# Rules. Rules consist of a condition (in perl code) followed by
|
||||
# a driver name and optionally some additional strings. The start of a
|
||||
# rule is indicated by a line with no leading white space. subsequent
|
||||
# lines making up a rule must be indented. Logical lines may be split
|
||||
# over multiple physical lines by using the usual continuation '\'.
|
||||
#
|
||||
# Rules that are not followed by a driver name may be used to do other
|
||||
# things, like setting the weight as above.
|
||||
#
|
||||
|
||||
#
|
||||
# Pre-defined variables include:
|
||||
#
|
||||
# $vendor PCI vendor ID
|
||||
# $device PCI device ID
|
||||
# $revision PCI revision ID
|
||||
# $subsys PCI subsystem ID
|
||||
# $subsysVendor PCI subsystem vendor ID
|
||||
# $class PCI class
|
||||
# $XorgVersion Xorg version, as a 'v' string.
|
||||
#
|
||||
# The Xorg version information is also available as the following:
|
||||
#
|
||||
# $XorgVersionNumeric
|
||||
# $XorgVersionMajor
|
||||
# $XorgVersionMinor
|
||||
# $XorgVersionPatch
|
||||
# $XorgVersionSnap
|
||||
#
|
||||
|
||||
1851
hw/xfree86/utils/xorgcfg/XOrgCfg.pre
Normal file
1851
hw/xfree86/utils/xorgcfg/XOrgCfg.pre
Normal file
File diff suppressed because it is too large
Load diff
152
hw/xfree86/utils/xorgcfg/xorgcfg.man.pre
Normal file
152
hw/xfree86/utils/xorgcfg/xorgcfg.man.pre
Normal file
|
|
@ -0,0 +1,152 @@
|
|||
.\"
|
||||
.\" Copyright (c) 2000 by Conectiva S.A. (http://www.conectiva.com)
|
||||
.\"
|
||||
.\" Permission is hereby granted, free of charge, to any person obtaining a
|
||||
.\" copy of this software and associated documentation files (the "Software"),
|
||||
.\" to deal in the Software without restriction, including without limitation
|
||||
.\" the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
.\" and/or sell copies of the Software, and to permit persons to whom the
|
||||
.\" Software is furnished to do so, subject to the following conditions:
|
||||
.\"
|
||||
.\" The above copyright notice and this permission notice shall be included in
|
||||
.\" all copies or substantial portions of the Software.
|
||||
.\"
|
||||
.\" THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
.\" IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
.\" FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
.\" CONECTIVA LINUX BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
.\" WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
|
||||
.\" OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
.\" SOFTWARE.
|
||||
.\"
|
||||
.\" Except as contained in this notice, the name of Conectiva Linux shall
|
||||
.\" not be used in advertising or otherwise to promote the sale, use or other
|
||||
.\" dealings in this Software without prior written authorization from
|
||||
.\" Conectiva Linux.
|
||||
.\"
|
||||
.\" Author: Paulo César Pereira de Andrade <pcpa@conectiva.com.br>
|
||||
.\"
|
||||
.\" $XFree86: xc/programs/Xserver/hw/xfree86/xf86cfg/xf86cfg.man,v 1.9 2002/12/30 14:34:02 herrb Exp $
|
||||
.\"
|
||||
.TH xorgcfg __appmansuffix__ __vendorversion__
|
||||
.SH NAME
|
||||
xorgcfg - Graphical configuration tool for __xservername__
|
||||
.SH SYNOPSIS
|
||||
.B xorgcfg
|
||||
[-config\fI __xconfigfile__\fP] [-modulepath \fImoduledir\fP]
|
||||
[-fontpath \fIfontsdir\fP] [-toolkitoption ...]
|
||||
.SH DESCRIPTION
|
||||
.I Xorgcfg
|
||||
is a tool to configure\fI __xservername__\fP, and can be used to either write the
|
||||
initial configuration file or make customizations to the current configuration.
|
||||
.PP
|
||||
When the \fBDISPLAY\fP environment variable is not set, xorgcfg will run
|
||||
the command\fI __xservername__ -configure\fP to allow the xserver detect the
|
||||
hardware in the computer, and write an initial\fI __xconfigfile__\fP file
|
||||
in the user's home directory. Then, it will start
|
||||
__xservername__ and allow customizations.
|
||||
.br
|
||||
If the \fBDISPLAY\fP environment variable is set, xorgcfg will read the
|
||||
default\fI __xconfigfile__\fP, that may not be the same being used by the current
|
||||
server, and allow customizations.
|
||||
.PP
|
||||
To use an alternative location for modules or fonts the respective search
|
||||
paths may be specified.
|
||||
.PP
|
||||
Unless there is an \fBApply\fP button in the current xorgcfg dialog, the
|
||||
changes made will take place the next time\fI __xservername__\fP is started.
|
||||
|
||||
.PP
|
||||
Xorgcfg allows addition and configuration of new devices, such as video cards,
|
||||
monitors, keyboards and mouses.
|
||||
.PP
|
||||
Screen layout configuration for xinerama or traditional multi-head is also
|
||||
available.
|
||||
.PP
|
||||
Modelines can be configured or optimized.
|
||||
.PP
|
||||
AccessX basic configurations can be made in the xorgcfg's accessx section.
|
||||
|
||||
.SH OPTIONS
|
||||
.TP 8
|
||||
.I -config
|
||||
Specifies an alternate __xconfigfile__ file for configuration.
|
||||
.TP 8
|
||||
.I -modulepath
|
||||
Specifies where xorgcfg, and the server it may start, should look for
|
||||
__xservername__ modules.
|
||||
.TP 8
|
||||
.I -serverpath
|
||||
Specifies the complete path, not including the binary name, of the
|
||||
__xservername__ binary.
|
||||
.TP 8
|
||||
.I -fontpath
|
||||
Specifies the path to the fonts that should be used by the server started
|
||||
by xorgcfg.
|
||||
.TP 8
|
||||
.I -rgbpath
|
||||
Specifies the path to the rgb.txt file that should be used by the server
|
||||
started by xorgcfg, if any.
|
||||
.TP 8
|
||||
.I -textmode
|
||||
If xorgcfg was compiled with support to ncurses, this option makes xorgcfg
|
||||
enters a text mode interface.
|
||||
.TP 8
|
||||
.I -nomodules
|
||||
When built with support for loading modules, this options changes xorgcfg
|
||||
behaviour, so that it will not load any modules, and thus start quicker.
|
||||
|
||||
.SH ENVIRONMENT
|
||||
.TP 8
|
||||
.I DISPLAY
|
||||
Default host and display number
|
||||
.TP 8
|
||||
.I XWINHOME
|
||||
Directory where __xservername__ was installed, defaults to /usr/X11R6.
|
||||
.TP 8
|
||||
.I XENVIRONMENT
|
||||
Name of a resource file that overrides the global resources
|
||||
stored in the RESOURCE_MANAGER property
|
||||
|
||||
.SH FILES
|
||||
.TP 8
|
||||
.I /etc/__xconfigfile__
|
||||
Server configuration file
|
||||
.TP 8
|
||||
.I /etc/X11/__xconfigfile__
|
||||
Server configuration file
|
||||
.TP 8
|
||||
.I /usr/X11R6/etc/__xconfigfile__
|
||||
Server configuration file
|
||||
.TP 8
|
||||
.IR __projectroot__/lib/X11/__xconfigfile__. hostname
|
||||
Server configuration file
|
||||
.TP 8
|
||||
.I __projectroot__/lib/X11/__xconfigfile__
|
||||
Server configuration file
|
||||
.TP 8
|
||||
.I __projectroot__/lib/X11/app-default/XOrgCfg
|
||||
Specifies xorgcfg resources
|
||||
.TP 8
|
||||
.I __projectroot__/lib/X11/xkb/X0-config.keyboard
|
||||
Keyboard specific configuration
|
||||
|
||||
.SH "SEE ALSO"
|
||||
.IR __xservername__ (__appmansuffix__)
|
||||
.IR __xconfigfile__ (__filemansuffix__)
|
||||
|
||||
.SH COPYRIGHT
|
||||
.TP 8
|
||||
Copyright 2000, Conectiva Linux S.A.
|
||||
\fIhttp://www.conectiva.com\fP
|
||||
.TP 8
|
||||
Copyright 2000, The XFree86 Project
|
||||
\fIhttp://www.XFree86.org\fP
|
||||
|
||||
.SH AUTHORS
|
||||
.TP 8
|
||||
Paulo C\'esar Pereira de Andrade \fI<pcpa@conectiva.com.br>\fP
|
||||
originally for The XFree86 Project.
|
||||
|
||||
.SH BUGS
|
||||
Probably.
|
||||
2906
hw/xfree86/utils/xorgconfig/xorgconfig.c
Normal file
2906
hw/xfree86/utils/xorgconfig/xorgconfig.c
Normal file
File diff suppressed because it is too large
Load diff
22
hw/xfree86/utils/xorgconfig/xorgconfig.man.pre
Normal file
22
hw/xfree86/utils/xorgconfig/xorgconfig.man.pre
Normal file
|
|
@ -0,0 +1,22 @@
|
|||
.\" $XFree86: xc/programs/Xserver/hw/xfree86/xf86config/xorgconfig.man,v 1.5 2001/11/01 23:35:34 dawes Exp $
|
||||
.TH xorgconfig 1 __vendorversion__
|
||||
.SH NAME
|
||||
xorgconfig \- generate an __XCONFIGFILE__ file
|
||||
.SH SYNOPSIS
|
||||
.B xorgconfig
|
||||
.SH DESCRIPTION
|
||||
\fIxorgconfig\fP is an interactive program for generating an __XCONFIGFILE__ file
|
||||
for use with __XSERVERNAME__ X servers.
|
||||
.PP
|
||||
Note that the default name used by \fIxorgconfig\fP for the __XCONFIGFILE__ file
|
||||
is system-dependent. For instance, on some systems, __XCONFIGFILE__-4 is used,
|
||||
and on OS/2, XConfig is used.
|
||||
.SH FILES
|
||||
.TP
|
||||
.I __projectroot__/lib/X11/Cards
|
||||
Video cards database
|
||||
.SH "SEE ALSO"
|
||||
__XSERVERNAME__(1), __XCONFIGFILE__(__filemansuffix__), reconfig(1)
|
||||
.SH AUTHOR
|
||||
Harm Hanemaayer.
|
||||
.\" $TOG: xf86conf.man /main/9 1997/07/19 10:53:08 kaleb $
|
||||
626
hw/xfree86/xorgconf.cpp
Normal file
626
hw/xfree86/xorgconf.cpp
Normal file
|
|
@ -0,0 +1,626 @@
|
|||
XCOMM $XdotOrg: xc/programs/Xserver/hw/xfree86/xorgconf.cpp,v 1.1.6.1 2004/04/02 21:47:17 eich Exp $
|
||||
XCOMM
|
||||
XCOMM Copyright (c) 1994-1998 by The XFree86 Project, Inc.
|
||||
XCOMM
|
||||
XCOMM Permission is hereby granted, free of charge, to any person obtaining a
|
||||
XCOMM copy of this software and associated documentation files (the "Software"),
|
||||
XCOMM to deal in the Software without restriction, including without limitation
|
||||
XCOMM the rights to use, copy, modify, merge, publish, distribute, sublicense,
|
||||
XCOMM and/or sell copies of the Software, and to permit persons to whom the
|
||||
XCOMM Software is furnished to do so, subject to the following conditions:
|
||||
XCOMM
|
||||
XCOMM The above copyright notice and this permission notice shall be included in
|
||||
XCOMM all copies or substantial portions of the Software.
|
||||
XCOMM
|
||||
XCOMM THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
XCOMM IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
XCOMM FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
||||
XCOMM THE XFREE86 PROJECT BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
|
||||
XCOMM WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF
|
||||
XCOMM OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
XCOMM SOFTWARE.
|
||||
XCOMM
|
||||
XCOMM Except as contained in this notice, the name of the XFree86 Project shall
|
||||
XCOMM not be used in advertising or otherwise to promote the sale, use or other
|
||||
XCOMM dealings in this Software without prior written authorization from the
|
||||
XCOMM XFree86 Project.
|
||||
XCOMM
|
||||
XCOMM $XConsortium: XF86Conf.cpp /main/22 1996/10/23 11:43:51 kaleb $
|
||||
|
||||
XCOMM **********************************************************************
|
||||
XCOMM This is a sample configuration file only, intended to illustrate
|
||||
XCOMM what a config file might look like. Refer to the XF86Config(4/5)
|
||||
XCOMM man page for details about the format of this file. This man page
|
||||
XCOMM is installed as MANPAGE
|
||||
XCOMM **********************************************************************
|
||||
|
||||
XCOMM The ordering of sections is not important in version 4.0 and later.
|
||||
|
||||
XCOMM **********************************************************************
|
||||
XCOMM Files section. This allows default font and rgb paths to be set
|
||||
XCOMM **********************************************************************
|
||||
|
||||
Section "Files"
|
||||
|
||||
XCOMM The location of the RGB database. Note, this is the name of the
|
||||
XCOMM file minus the extension (like ".txt" or ".db"). There is normally
|
||||
XCOMM no need to change the default.
|
||||
|
||||
RgbPath RGBPATH
|
||||
|
||||
XCOMM Multiple FontPath entries are allowed (which are concatenated together),
|
||||
XCOMM as well as specifying multiple comma-separated entries in one FontPath
|
||||
XCOMM command (or a combination of both methods)
|
||||
|
||||
FontPath LOCALFONTPATH
|
||||
FontPath MISCFONTPATH
|
||||
FontPath DPI75USFONTPATH
|
||||
FontPath DPI100USFONTPATH
|
||||
FontPath T1FONTPATH
|
||||
FontPath TRUETYPEFONTPATH
|
||||
FontPath CIDFONTPATH
|
||||
FontPath SPFONTPATH
|
||||
FontPath DPI75FONTPATH
|
||||
FontPath DPI100FONTPATH
|
||||
|
||||
XCOMM ModulePath can be used to set a search path for the X server modules.
|
||||
XCOMM The default path is shown here.
|
||||
|
||||
XCOMM ModulePath MODULEPATH
|
||||
|
||||
EndSection
|
||||
|
||||
XCOMM **********************************************************************
|
||||
XCOMM Module section -- this is an optional section which is used to specify
|
||||
XCOMM which run-time loadable modules to load when the X server starts up.
|
||||
XCOMM **********************************************************************
|
||||
|
||||
Section "Module"
|
||||
|
||||
XCOMM This loads the DBE extension module.
|
||||
|
||||
Load "dbe"
|
||||
|
||||
XCOMM This loads the miscellaneous extensions module, and disables
|
||||
XCOMM initialisation of the XFree86-DGA extension within that module.
|
||||
|
||||
SubSection "extmod"
|
||||
Option "omit xfree86-dga"
|
||||
EndSubSection
|
||||
|
||||
XCOMM This loads the Type1 and FreeType font modules
|
||||
|
||||
Load "type1"
|
||||
Load "freetype"
|
||||
|
||||
EndSection
|
||||
|
||||
|
||||
XCOMM **********************************************************************
|
||||
XCOMM Server flags section. This contains various server-wide Options.
|
||||
XCOMM **********************************************************************
|
||||
|
||||
Section "ServerFlags"
|
||||
|
||||
XCOMM Uncomment this to cause a core dump at the spot where a signal is
|
||||
XCOMM received. This may leave the console in an unusable state, but may
|
||||
XCOMM provide a better stack trace in the core dump to aid in debugging
|
||||
|
||||
XCOMM Option "NoTrapSignals"
|
||||
|
||||
XCOMM Uncomment this to disable the <Crtl><Alt><Fn> VT switch sequence
|
||||
XCOMM (where n is 1 through 12). This allows clients to receive these key
|
||||
XCOMM events.
|
||||
|
||||
XCOMM Option "DontVTSwitch"
|
||||
|
||||
XCOMM Uncomment this to disable the <Crtl><Alt><BS> server abort sequence
|
||||
XCOMM This allows clients to receive this key event.
|
||||
|
||||
XCOMM Option "DontZap"
|
||||
|
||||
XCOMM Uncomment this to disable the <Crtl><Alt><KP_+>/<KP_-> mode switching
|
||||
XCOMM sequences. This allows clients to receive these key events.
|
||||
|
||||
XCOMM Option "DontZoom"
|
||||
|
||||
XCOMM Uncomment this to disable tuning with the xvidtune client. With
|
||||
XCOMM it the client can still run and fetch card and monitor attributes,
|
||||
XCOMM but it will not be allowed to change them. If it tries it will
|
||||
XCOMM receive a protocol error.
|
||||
|
||||
XCOMM Option "DisableVidModeExtension"
|
||||
|
||||
XCOMM Uncomment this to enable the use of a non-local xvidtune client.
|
||||
|
||||
XCOMM Option "AllowNonLocalXvidtune"
|
||||
|
||||
XCOMM Uncomment this to disable dynamically modifying the input device
|
||||
XCOMM (mouse and keyboard) settings.
|
||||
|
||||
XCOMM Option "DisableModInDev"
|
||||
|
||||
XCOMM Uncomment this to enable the use of a non-local client to
|
||||
XCOMM change the keyboard or mouse settings (currently only xset).
|
||||
|
||||
XCOMM Option "AllowNonLocalModInDev"
|
||||
|
||||
XCOMM Set the basic blanking screen saver timeout.
|
||||
|
||||
Option "blank time" "10" # 10 minutes
|
||||
|
||||
XCOMM Set the DPMS timeouts. These are set here because they are global
|
||||
XCOMM rather than screen-specific. These settings alone don't enable DPMS.
|
||||
XCOMM It is enabled per-screen (or per-monitor), and even then only when
|
||||
XCOMM the driver supports it.
|
||||
|
||||
Option "standby time" "20"
|
||||
Option "suspend time" "30"
|
||||
Option "off time" "60"
|
||||
|
||||
XCOMM On some platform the server needs to estimate the sizes of PCI
|
||||
XCOMM memory and pio ranges. This is done by assuming that PCI ranges
|
||||
XCOMM don't overlap. Some broken BIOSes tend to set ranges of inactive
|
||||
XCOMM devices wrong. Here one can adjust how aggressive the assumptions
|
||||
XCOMM should be. Default is 0.
|
||||
|
||||
XCOMM Option "EstimateSizesAggresively" "0"
|
||||
|
||||
EndSection
|
||||
|
||||
XCOMM **********************************************************************
|
||||
XCOMM Input devices
|
||||
XCOMM **********************************************************************
|
||||
|
||||
XCOMM **********************************************************************
|
||||
XCOMM Core keyboard's InputDevice section
|
||||
XCOMM **********************************************************************
|
||||
|
||||
Section "InputDevice"
|
||||
|
||||
Identifier "Keyboard1"
|
||||
Driver "keyboard"
|
||||
|
||||
XCOMM For most OSs the protocol can be omitted (it defaults to "Standard").
|
||||
XCOMM When using XQUEUE (only for SVR3 and SVR4, but not Solaris), comment
|
||||
XCOMM out the above line, and uncomment the following line.
|
||||
|
||||
XCOMM Option "Protocol" "Xqueue"
|
||||
|
||||
XCOMM Set the keyboard auto repeat parameters. Not all platforms implement
|
||||
XCOMM this.
|
||||
|
||||
Option "AutoRepeat" "500 5"
|
||||
|
||||
XCOMM Specifiy which keyboard LEDs can be user-controlled (eg, with xset(1)).
|
||||
|
||||
XCOMM Option "Xleds" "1 2 3"
|
||||
|
||||
XCOMM To disable the XKEYBOARD extension, uncomment XkbDisable.
|
||||
|
||||
XCOMM Option "XkbDisable"
|
||||
|
||||
XCOMM To customise the XKB settings to suit your keyboard, modify the
|
||||
XCOMM lines below (which are the defaults). For example, for a European
|
||||
XCOMM keyboard, you will probably want to use one of:
|
||||
XCOMM
|
||||
XCOMM Option "XkbModel" "pc102"
|
||||
XCOMM Option "XkbModel" "pc105"
|
||||
XCOMM
|
||||
XCOMM If you have a Microsoft Natural keyboard, you can use:
|
||||
XCOMM
|
||||
XCOMM Option "XkbModel" "microsoft"
|
||||
XCOMM
|
||||
XCOMM If you have a US "windows" keyboard you will want:
|
||||
XCOMM
|
||||
XCOMM Option "XkbModel" "pc104"
|
||||
XCOMM
|
||||
XCOMM Then to change the language, change the Layout setting.
|
||||
XCOMM For example, a german layout can be obtained with:
|
||||
XCOMM
|
||||
XCOMM Option "XkbLayout" "de"
|
||||
XCOMM
|
||||
XCOMM or:
|
||||
XCOMM
|
||||
XCOMM Option "XkbLayout" "de"
|
||||
XCOMM Option "XkbVariant" "nodeadkeys"
|
||||
XCOMM
|
||||
XCOMM If you'd like to switch the positions of your capslock and
|
||||
XCOMM control keys, use:
|
||||
XCOMM
|
||||
XCOMM Option "XkbOptions" "ctrl:swapcaps"
|
||||
|
||||
|
||||
XCOMM These are the default XKB settings for xorg
|
||||
XCOMM
|
||||
XCOMM Option "XkbRules" "xorg"
|
||||
XCOMM Option "XkbModel" "pc101"
|
||||
XCOMM Option "XkbLayout" "us"
|
||||
XCOMM Option "XkbVariant" ""
|
||||
XCOMM Option "XkbOptions" ""
|
||||
|
||||
EndSection
|
||||
|
||||
|
||||
XCOMM **********************************************************************
|
||||
XCOMM Core Pointer's InputDevice section
|
||||
XCOMM **********************************************************************
|
||||
|
||||
Section "InputDevice"
|
||||
|
||||
XCOMM Identifier and driver
|
||||
|
||||
Identifier "Mouse1"
|
||||
Driver "mouse"
|
||||
|
||||
XCOMM The mouse protocol and device. The device is normally set to /dev/mouse,
|
||||
XCOMM which is usually a symbolic link to the real device.
|
||||
|
||||
Option "Protocol" "Microsoft"
|
||||
Option "Device" "/dev/mouse"
|
||||
|
||||
XCOMM On platforms where PnP mouse detection is supported the following
|
||||
XCOMM protocol setting can be used when using a newer PnP mouse:
|
||||
|
||||
XCOMM Option "Protocol" "Auto"
|
||||
|
||||
XCOMM When using mouse connected to a PS/2 port (aka "MousePort"), set the
|
||||
XCOMM the protocol as follows. On some platforms some other settings may
|
||||
XCOMM be available.
|
||||
|
||||
XCOMM Option "Protocol" "PS/2"
|
||||
|
||||
XCOMM When using XQUEUE (only for SVR3 and SVR4, but not Solaris), use
|
||||
XCOMM the following instead of any of the lines above. The Device line
|
||||
XCOMM is not required in this case.
|
||||
|
||||
XCOMM Option "Protocol" "Xqueue"
|
||||
|
||||
XCOMM Baudrate and SampleRate are only for some older Logitech mice. In
|
||||
XCOMM almost every case these lines should be omitted.
|
||||
|
||||
XCOMM Option "BaudRate" "9600"
|
||||
XCOMM Option "SampleRate" "150"
|
||||
|
||||
XCOMM Emulate3Buttons is an option for 2-button mice
|
||||
XCOMM Emulate3Timeout is the timeout in milliseconds (default is 50ms)
|
||||
|
||||
XCOMM Option "Emulate3Buttons"
|
||||
XCOMM Option "Emulate3Timeout" "50"
|
||||
|
||||
XCOMM ChordMiddle is an option for some 3-button Logitech mice, or any
|
||||
XCOMM 3-button mouse where the middle button generates left+right button
|
||||
XCOMM events.
|
||||
|
||||
XCOMM Option "ChordMiddle"
|
||||
|
||||
EndSection
|
||||
|
||||
Section "InputDevice"
|
||||
Identifier "Mouse2"
|
||||
Driver "mouse"
|
||||
Option "Protocol" "MouseMan"
|
||||
Option "Device" "/dev/mouse2"
|
||||
EndSection
|
||||
|
||||
XCOMM Some examples of extended input devices
|
||||
|
||||
XCOMM Section "InputDevice"
|
||||
XCOMM Identifier "spaceball"
|
||||
XCOMM Driver "magellan"
|
||||
XCOMM Option "Device" "/dev/cua0"
|
||||
XCOMM EndSection
|
||||
XCOMM
|
||||
XCOMM Section "InputDevice"
|
||||
XCOMM Identifier "spaceball2"
|
||||
XCOMM Driver "spaceorb"
|
||||
XCOMM Option "Device" "/dev/cua0"
|
||||
XCOMM EndSection
|
||||
XCOMM
|
||||
XCOMM Section "InputDevice"
|
||||
XCOMM Identifier "touchscreen0"
|
||||
XCOMM Driver "microtouch"
|
||||
XCOMM Option "Device" "/dev/ttyS0"
|
||||
XCOMM Option "MinX" "1412"
|
||||
XCOMM Option "MaxX" "15184"
|
||||
XCOMM Option "MinY" "15372"
|
||||
XCOMM Option "MaxY" "1230"
|
||||
XCOMM Option "ScreenNumber" "0"
|
||||
XCOMM Option "ReportingMode" "Scaled"
|
||||
XCOMM Option "ButtonNumber" "1"
|
||||
XCOMM Option "SendCoreEvents"
|
||||
XCOMM EndSection
|
||||
XCOMM
|
||||
XCOMM Section "InputDevice"
|
||||
XCOMM Identifier "touchscreen1"
|
||||
XCOMM Driver "elo2300"
|
||||
XCOMM Option "Device" "/dev/ttyS0"
|
||||
XCOMM Option "MinX" "231"
|
||||
XCOMM Option "MaxX" "3868"
|
||||
XCOMM Option "MinY" "3858"
|
||||
XCOMM Option "MaxY" "272"
|
||||
XCOMM Option "ScreenNumber" "0"
|
||||
XCOMM Option "ReportingMode" "Scaled"
|
||||
XCOMM Option "ButtonThreshold" "17"
|
||||
XCOMM Option "ButtonNumber" "1"
|
||||
XCOMM Option "SendCoreEvents"
|
||||
XCOMM EndSection
|
||||
|
||||
XCOMM **********************************************************************
|
||||
XCOMM Monitor section
|
||||
XCOMM **********************************************************************
|
||||
|
||||
XCOMM Any number of monitor sections may be present
|
||||
|
||||
Section "Monitor"
|
||||
|
||||
XCOMM The identifier line must be present.
|
||||
|
||||
Identifier "Generic Monitor"
|
||||
|
||||
XCOMM HorizSync is in kHz unless units are specified.
|
||||
XCOMM HorizSync may be a comma separated list of discrete values, or a
|
||||
XCOMM comma separated list of ranges of values.
|
||||
XCOMM NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
|
||||
XCOMM USER MANUAL FOR THE CORRECT NUMBERS.
|
||||
|
||||
XCOMM HorizSync 31.5 # typical for a single frequency fixed-sync monitor
|
||||
XCOMM HorizSync 30-64 # multisync
|
||||
XCOMM HorizSync 31.5, 35.2 # multiple fixed sync frequencies
|
||||
XCOMM HorizSync 15-25, 30-50 # multiple ranges of sync frequencies
|
||||
|
||||
XCOMM VertRefresh is in Hz unless units are specified.
|
||||
XCOMM VertRefresh may be a comma separated list of discrete values, or a
|
||||
XCOMM comma separated list of ranges of values.
|
||||
XCOMM NOTE: THE VALUES HERE ARE EXAMPLES ONLY. REFER TO YOUR MONITOR'S
|
||||
XCOMM USER MANUAL FOR THE CORRECT NUMBERS.
|
||||
|
||||
XCOMM VertRefresh 60 # typical for a single frequency fixed-sync monitor
|
||||
|
||||
XCOMM VertRefresh 50-100 # multisync
|
||||
XCOMM VertRefresh 60, 65 # multiple fixed sync frequencies
|
||||
XCOMM VertRefresh 40-50, 80-100 # multiple ranges of sync frequencies
|
||||
|
||||
XCOMM Modes can be specified in two formats. A compact one-line format, or
|
||||
XCOMM a multi-line format.
|
||||
|
||||
XCOMM A generic VGA 640x480 mode (hsync = 31.5kHz, refresh = 60Hz)
|
||||
XCOMM These two are equivalent
|
||||
|
||||
XCOMM ModeLine "640x480" 25.175 640 664 760 800 480 491 493 525
|
||||
|
||||
Mode "640x480"
|
||||
DotClock 25.175
|
||||
HTimings 640 664 760 800
|
||||
VTimings 480 491 493 525
|
||||
EndMode
|
||||
|
||||
XCOMM These two are equivalent
|
||||
|
||||
XCOMM ModeLine "1024x768i" 45 1024 1048 1208 1264 768 776 784 817 Interlace
|
||||
|
||||
XCOMM Mode "1024x768i"
|
||||
XCOMM DotClock 45
|
||||
XCOMM HTimings 1024 1048 1208 1264
|
||||
XCOMM VTimings 768 776 784 817
|
||||
XCOMM Flags "Interlace"
|
||||
XCOMM EndMode
|
||||
|
||||
XCOMM If a monitor has DPMS support, that can be indicated here. This will
|
||||
XCOMM enable DPMS when the monitor is used with drivers that support it.
|
||||
|
||||
XCOMM Option "dpms"
|
||||
|
||||
XCOMM If a monitor requires that the sync signals be superimposed on the
|
||||
XCOMM green signal, the following option will enable this when used with
|
||||
XCOMM drivers that support it. Only a relatively small range of hardware
|
||||
XCOMM (and drivers) actually support this.
|
||||
|
||||
XCOMM Option "sync on green"
|
||||
|
||||
EndSection
|
||||
|
||||
XCOMM **********************************************************************
|
||||
XCOMM Graphics device section
|
||||
XCOMM **********************************************************************
|
||||
|
||||
XCOMM Any number of graphics device sections may be present
|
||||
|
||||
Section "Device"
|
||||
|
||||
XCOMM The Identifier must be present.
|
||||
|
||||
Identifier "Generic VGA"
|
||||
|
||||
XCOMM The Driver line must be present. When using run-time loadable driver
|
||||
XCOMM modules, this line instructs the server to load the specified driver
|
||||
XCOMM module. Even when not using loadable driver modules, this line
|
||||
XCOMM indicates which driver should interpret the information in this section.
|
||||
|
||||
Driver "vga"
|
||||
|
||||
XCOMM The chipset line is optional in most cases. It can be used to override
|
||||
XCOMM the driver's chipset detection, and should not normally be specified.
|
||||
|
||||
XCOMM Chipset "generic"
|
||||
|
||||
XCOMM Various other lines can be specified to override the driver's automatic
|
||||
XCOMM detection code. In most cases they are not needed.
|
||||
|
||||
XCOMM VideoRam 256
|
||||
XCOMM Clocks 25.2 28.3
|
||||
|
||||
XCOMM The BusID line is used to specify which of possibly multiple devices
|
||||
XCOMM this section is intended for. When this line isn't present, a device
|
||||
XCOMM section can only match up with the primary video device. For PCI
|
||||
XCOMM devices a line like the following could be used. This line should not
|
||||
XCOMM normally be included unless there is more than one video device
|
||||
XCOMM intalled.
|
||||
|
||||
XCOMM BusID "PCI:0:10:0"
|
||||
|
||||
XCOMM Various option lines can be added here as required. Some options
|
||||
XCOMM are more appropriate in Screen sections, Display subsections or even
|
||||
XCOMM Monitor sections.
|
||||
|
||||
XCOMM Option "hw cursor" "off"
|
||||
|
||||
EndSection
|
||||
|
||||
Section "Device"
|
||||
Identifier "any supported Trident chip"
|
||||
Driver "trident"
|
||||
EndSection
|
||||
|
||||
Section "Device"
|
||||
Identifier "MGA Millennium I"
|
||||
Driver "mga"
|
||||
Option "hw cursor" "off"
|
||||
BusID "PCI:0:10:0"
|
||||
EndSection
|
||||
|
||||
Section "Device"
|
||||
Identifier "MGA G200 AGP"
|
||||
Driver "mga"
|
||||
BusID "PCI:1:0:0"
|
||||
Option "pci retry"
|
||||
EndSection
|
||||
|
||||
|
||||
XCOMM **********************************************************************
|
||||
XCOMM Screen sections.
|
||||
XCOMM **********************************************************************
|
||||
|
||||
XCOMM Any number of screen sections may be present. Each describes
|
||||
XCOMM the configuration of a single screen. A single specific screen section
|
||||
XCOMM may be specified from the X server command line with the "-screen"
|
||||
XCOMM option.
|
||||
|
||||
Section "Screen"
|
||||
|
||||
XCOMM The Identifier, Device and Monitor lines must be present
|
||||
|
||||
Identifier "Screen 1"
|
||||
Device "Generic VGA"
|
||||
Monitor "Generic Monitor"
|
||||
|
||||
XCOMM The favoured Depth and/or Bpp may be specified here
|
||||
|
||||
DefaultDepth 8
|
||||
|
||||
SubSection "Display"
|
||||
Depth 8
|
||||
Modes "640x480"
|
||||
ViewPort 0 0
|
||||
Virtual 800 600
|
||||
EndSubsection
|
||||
|
||||
SubSection "Display"
|
||||
Depth 4
|
||||
Modes "640x480"
|
||||
EndSubSection
|
||||
|
||||
SubSection "Display"
|
||||
Depth 1
|
||||
Modes "640x480"
|
||||
EndSubSection
|
||||
|
||||
EndSection
|
||||
|
||||
|
||||
Section "Screen"
|
||||
Identifier "Screen MGA1"
|
||||
Device "MGA Millennium I"
|
||||
Monitor "Generic Monitor"
|
||||
Option "no accel"
|
||||
DefaultDepth 16
|
||||
XCOMM DefaultDepth 24
|
||||
|
||||
SubSection "Display"
|
||||
Depth 8
|
||||
Modes "1280x1024"
|
||||
Option "rgb bits" "8"
|
||||
Visual "StaticColor"
|
||||
EndSubSection
|
||||
SubSection "Display"
|
||||
Depth 16
|
||||
Modes "1280x1024"
|
||||
EndSubSection
|
||||
SubSection "Display"
|
||||
Depth 24
|
||||
Modes "1280x1024"
|
||||
EndSubSection
|
||||
EndSection
|
||||
|
||||
|
||||
Section "Screen"
|
||||
Identifier "Screen MGA2"
|
||||
Device "MGA G200 AGP"
|
||||
Monitor "Generic Monitor"
|
||||
DefaultDepth 8
|
||||
|
||||
SubSection "Display"
|
||||
Depth 8
|
||||
Modes "1280x1024"
|
||||
Option "rgb bits" "8"
|
||||
Visual "StaticColor"
|
||||
EndSubSection
|
||||
EndSection
|
||||
|
||||
|
||||
XCOMM **********************************************************************
|
||||
XCOMM ServerLayout sections.
|
||||
XCOMM **********************************************************************
|
||||
|
||||
XCOMM Any number of ServerLayout sections may be present. Each describes
|
||||
XCOMM the way multiple screens are organised. A specific ServerLayout
|
||||
XCOMM section may be specified from the X server command line with the
|
||||
XCOMM "-layout" option. In the absence of this, the first section is used.
|
||||
XCOMM When now ServerLayout section is present, the first Screen section
|
||||
XCOMM is used alone.
|
||||
|
||||
Section "ServerLayout"
|
||||
|
||||
XCOMM The Identifier line must be present
|
||||
|
||||
Identifier "Main Layout"
|
||||
|
||||
XCOMM Each Screen line specifies a Screen section name, and optionally
|
||||
XCOMM the relative position of other screens. The four names after
|
||||
XCOMM primary screen name are the screens to the top, bottom, left and right
|
||||
XCOMM of the primary screen. In this example, screen 2 is located to the
|
||||
XCOMM right of screen 1.
|
||||
|
||||
Screen "Screen MGA 1" "" "" "" "Screen MGA 2"
|
||||
Screen "Screen MGA 2" "" "" "Screen MGA 1" ""
|
||||
|
||||
XCOMM Each InputDevice line specifies an InputDevice section name and
|
||||
XCOMM optionally some options to specify the way the device is to be
|
||||
XCOMM used. Those options include "CorePointer", "CoreKeyboard" and
|
||||
XCOMM "SendCoreEvents". In this example, "Mouse1" is the core pointer,
|
||||
XCOMM and "Mouse2" is an extended input device that also generates core
|
||||
XCOMM pointer events (i.e., both mice will move the standard pointer).
|
||||
|
||||
InputDevice "Mouse1" "CorePointer"
|
||||
InputDevice "Mouse2" "SendCoreEvents"
|
||||
InputDevice "Keyboard1" "CoreKeyboard"
|
||||
|
||||
EndSection
|
||||
|
||||
|
||||
Section "ServerLayout"
|
||||
Identifier "another layout"
|
||||
Screen "Screen 1"
|
||||
Screen "Screen MGA 1"
|
||||
InputDevice "Mouse1" "CorePointer"
|
||||
InputDevice "Keyboard1" "CoreKeyboard"
|
||||
EndSection
|
||||
|
||||
|
||||
Section "ServerLayout"
|
||||
Identifier "simple layout"
|
||||
Screen "Screen 1"
|
||||
InputDevice "Mouse1" "CorePointer"
|
||||
InputDevice "Keyboard1" "CoreKeyboard"
|
||||
EndSection
|
||||
|
||||
Loading…
Add table
Reference in a new issue