Thursday, December 8, 2016

Commonly used sections in a typical xorg.conf file VIII

Commonly used sections in a typical xorg.conf file VIII


The last section we’re going to look at here is the ServerLayout
section. This is a key section.


It “glues” all the preceding sections together into a complete
configuration. The ServerLayout section uses the following syntax:




Section "ServerLayout"

    Identifier   "name"

    Screen       "screen_id"

    InputDevice  "input_dev_id"

    options

    ...

EndSection





The ServerLayout section binds together one or more Screen section(s)
and one or more InputDevice section(s), as shown in the following example:




Section "ServerLayout"

  Identifier   "Layout[all]"

  Option       "Clone" "off"

  Option       "Xinerama" "off"

  Screen       "Screen[0]"

  InputDevice     "VMware Keyboard"       "CoreKeyboard"

  InputDevice "VMware Mouse"      "CorePointer"

EndSection




You can use the following directives within the ServerLayout section:



Identifier "name"

  Defines a unique name for the server layout.



Screen "screen_id"

  Specifies which screen parameters to use for the server layout.



InputDevice "input_device_id"

  Specifies which input devices are to be used for theserver layout.
  You need one directive for each input device (usuallyone for the mouse
  and one for the keyboard).



Option "option_name"

  Any option that can be used in the ServerFlags section can
  also be specified here. If the same option is specified in both
  places, the option specified in the ServerLayout section overrides the 
  option listed in the ServerFlags section.





LX0-104 Exam Objectives (H)

No comments:

Post a Comment