HP Workstation zx2000 HP Graphics Administration Guide for HP-UX 11.X (IPF ver - Page 16

ServerLayout ServerLayout, Screen, InputDevice, Identifier, Absolute, RightOf, LeftOf, Above

Page 16 highlights

configuring an X Server on HP-UX ServerLayout section The ServerLayout section identifies which Screen sections are to be used in a multiheaded configuration, the relative layout of those screens, and which InputDevice sections are to be used. Each ServerLayout section has an Identifier, a list of Screen section identifiers, and a list of InputDevice section identifiers. Options may also be included in the ServerLayout section. A ServerLayout section may be made active by referencing (via its Identifier) on the command line that starts X. In the absence of this, the first one found in the file is chosen by default, as there may be multiple ServerLayout sections in the configuration file. The format of the ServerLayout section is as follows: 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 "MainLayout" Screen 0 "Screen 1" Absolute Screen 1 "Screen 2" Absolute 1024 0 Screen "Screen 3" Absolute 2048 0 . . . EndSection 4-4 Graphics Administration Guide

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66

4–4
Graphics Administration Guide
configuring an X Server on HP-UX
ServerLayout section
The
ServerLayout
section identifies which
Screen
sections are to be used in a multiheaded
configuration, the relative layout of those screens, and which
InputDevice
sections are to be
used. Each ServerLayout section has an
Identifier
, a list of
Screen
section identifiers, and a list
of InputDevice section identifiers. Options may also be included in the ServerLayout section. A
ServerLayout section may be made active by referencing (via its Identifier) on the command line
that starts X. In the absence of this, the first one found in the file is chosen by default, as there
may be multiple ServerLayout sections in the configuration file. The format of the ServerLayout
section is as follows:
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 “MainLayout”
Screen 0
“Screen 1" Absolute
Screen 1
“Screen 2" Absolute 1024
0
Screen
“Screen 3" Absolute 2048
0
. . .
EndSection