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
View all HP Workstation zx2000 manuals
Add to My Manuals
Save this manual to your list of manuals |
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