ServerLayout
The ServerLayout section binds together the input and output devices controlled by the X server. At a minimum, this section must specify one output device and one input device. By default, a monitor (output device) and keyboard (input device) are specified.
The following example illustrates a typical ServerLayout section:
Article "ServerLayout" Identifier "Default Layout" Screen 0 "Screen0" 0 0 InputDevice "Mouse0" "CorePointer" InputDevice "Keyboard0" "CoreKeyboard" EndArticle
The following entries are commonly used in the ServerLayout section:
Identifier- Specifies a unique name for thisServerLayoutsection.
Screen- Specifies the name of aScreensection to be used with the X server. More than oneScreenoption may be present.The following is an example of a typical
Screenentry:Screen 0 "Screen0" 0 0
The first number in this example
Screenentry (0) indicates that the first monitor connector or head on the video card uses the configuration specified in theScreensection with the identifier"Screen0".An example of a
Screensection with the identifier"Screen0"can be found in "Screen".If the video card has more than one head, another
Screenentry with a different number and a differentScreensection identifier is necessary .The numbers to the right of
"Screen0"give the absolute X and Y coordinates for the upper-left corner of the screen (0 0by default).InputDevice- Specifies the name of anInputDevicesection to be used with the X server.It is advisable that there be at least two
InputDeviceentries: one for the default mouse and one for the default keyboard. The optionsCorePointerandCoreKeyboardindicate that these are the primary mouse and keyboard.Option "- An optional entry which specifies extra parameters for the section. Any options listed here override those listed in the<option-name>"ServerFlagssection.Replace
<option-name>with a valid option listed for this section in thexorg.confman page.
It is possible to put more than one ServerLayout section in the /etc/X11/xorg.conf file. By default, the server only reads the first one it encounters, however.
If there is an alternative ServerLayout section, it can be specified as a command line argument when starting an X session.