Graphics Administration Guide (July 2008)

Table Of Contents
Section ServerLayout
Identifier ServerLayoutName
Screen [ScreenNumber] ScreenID [Position] [Xcoor] [Ycoor]
. . .
InputDevice InputDeviceID InputDeviceOption
. . .
[Option ]
. . .
EndSection
Keywords, options and values enclosed in [ ] are optional.
A number specifying the preferred screen number for that screen may optionally follow
each Screen. When no screen number is specified, it is numbered according to the order
in which it is listed. Next comes the ScreenID, a required field that must be enclosed
in double quotes. The ScreenID must match an Identifier in a Screen section. The
remaining information on the line is optional. Next comes the physical position of the
screen, either in absolute terms or relative to another screen (or screens). Finally the
XY coordinates of the screen may be specified.
The position keywords are:
Absolute
RightOf
LeftOf
Above
Below
Relative
The preferred method of specifying the layout is to explicitly specify the screen's location
in absolute terms or relative to another screen.
The examples are based on the examples listed in the DESIGN document from XFree86.
In the absolute case, the upper left corner's coordinates are given after the Absolute
keyword. If the coordinates are omitted, a value of (0,0) is assumed. An example of
absolute positioning follows:
Section "ServerLayout"
Identifier "Main Layout"
Screen 0 "Screen 0" Absolute
Screen 1 "Screen 1" Absolute 1024 0
Screen 2 "Screen 2" Absolute 2048 0
...
EndSection
When the Relative keyword is used, the coordinates of the new screen's origin relative
to the reference screen follow the reference screen name. The following example shows
how to use some of the relative positioning options:
Section "ServerLayout"
Identifier "Main Layout"
Screen 0 "Screen 0"
Screen 1 "Screen 1" RightOf "Screen 0"
Screen 2 "Screen 2" RightOf "Screen 1"
the XF86Config file 15