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

Screen InputDevice, Screen, Identifier

Page 22 highlights

configuring an X Server on HP-UX The following two examples show an InputDevice section for a keyboard and mouse: Section "InputDevice" Identifier Driver "Keyboard0" "keyboard" EndSection Section "InputDevice" Identifier Driver Option Option "Mouse0" "mouse" "Protocol" "Device" "PS/2" "/dev/hid/mouse_000" EndSection The above InputDevice section can be modified to run the X Server without a mouse. To do this, simply change the "Device" option specification in the mouse section to: Option "Device" "NULL" The same specification can be added to the keyboard section to instruct the X Server to ignore a keyboard attached to the system. Screen section The configuration file may have multiple Screen sections. There must be at least one, for the "screen" being used. A "screen" binds a graphics device (Device section) and a monitor (Monitor section) together. A Screen section is considered "active" if it is referenced by an active ServerLayout section. If neither of these is present, the first Screen section found in the configuration file is considered the active one. Screen sections have the following format: Section "Screen" Identifier "ScreenID" Device "DeviceID" Monitor "MonitorID" DefaultDepth Option ... . . SubSection "Display" . . EndSubSection . EndSection The Identifier entry specifies the unique name for this screen. The Identifier generally must match a ScreenID listed in the active ServerLayout section. The Screen section provides information specific to the whole screen, including screen-specific Options. In multiscreen configurations, there are multiple active Screen sections, one for each head. 4-10 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–10
Graphics Administration Guide
configuring an X Server on HP-UX
The following two examples show an
InputDevice
section for a keyboard and mouse:
Section “InputDevice”
Identifier
“Keyboard0”
Driver
“keyboard”
EndSection
Section “InputDevice”
Identifier
“Mouse0”
Driver
“mouse”
Option
“Protocol”
“PS/2”
Option
“Device”
“/dev/hid/mouse_000”
EndSection
The above
InputDevice
section can be modified to run the X Server without a mouse. To do this,
simply change the “Device” option specification in the mouse section to:
Option
“Device”
“NULL”
The same specification can be added to the keyboard section to instruct the X Server to ignore a
keyboard attached to the system.
Screen section
The configuration file may have multiple
Screen
sections. There must be at least one, for the
“screen” being used. A “screen” binds a graphics device (Device section) and a monitor (Monitor
section) together. A Screen section is considered “active” if it is referenced by an active
ServerLayout section. If neither of these is present, the first Screen section found in the
configuration file is considered the active one. Screen sections have the following format:
Section “Screen”
Identifier “ScreenID”
Device
“DeviceID”
Monitor
“MonitorID”
DefaultDepth
<Depth>
Option ...
.
.
SubSection “Display”
.
.
EndSubSection
.
EndSection
The
Identifier
entry specifies the unique name for this screen. The Identifier generally must
match a ScreenID listed in the active ServerLayout section. The
Screen section provides
information specific to the whole screen, including screen-specific Options. In multiscreen
configurations, there are multiple active Screen sections, one for each head.