Ubuntu Unleashed 2019 Edition: Covering 18.04, 18.10, 19.04

(singke) #1
                                Option                      "Emulate3Buttons"   "yes"
EndSection

You can configure multiple devices, and multiple InputDevice sections
might exist. The preceding example specifies a basic keyboard and a two-
button PS/2 mouse (actually, a Dell touchpad pointer). An InputDevice
section that specifies use of a USB device could be used at the same time (to
enable mousing with PS/2 and USB pointers) and might look like this:


Click here to view code image
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Device" "/dev/input/mice"
Option "Protocol" "IMPS/2"
Option "Emulate3Buttons" "off"
Option "ZAxisMapping" "4 5"
EndSection


The Monitor Section

The Monitor section configures the designated display device as declared in
the ServerLayout section, as shown in this example:


Click here to view code image
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
DisplaySize 300 220
HorizSync 31.5-48.5
VertRefresh 50-70
Option "dpms"
EndSection


Note that the X server automatically determines the best video timings
according to the horizontal and vertical sync and refresh values in this section.
If required, old-style mode-line entries (used by distributions and servers prior
to XFree86 4.0) might still be used. If the monitor is automatically detected
when you configure X, its definition and capabilities are inserted in your
xorg.conf file from the MonitorsDB database. This database contains
more than 600 monitors and is located in the /usr/share/hwdata
directory.


The Device Section
Free download pdf