Section "ServerLayout"
Identifier "Dual Head"
# Screen "Screen0"
Screen "Screen2" # LeftOf "Screen0"
InputDevice "Mouse0" "CorePointer"
InputDevice "TouchPad" "AlwaysCore"
InputDevice "Keyboard0" "CoreKeyboard"
Option "Xinerama" "on"
EndSection

Section "Files"
FontPath "/usr/share/fonts/misc"
FontPath "/usr/share/fonts/75dpi"
FontPath "/usr/share/fonts/100dpi"
FontPath "/usr/share/fonts/TTF"
FontPath "/usr/share/fonts/Type1"
# ModulePath   "/usr/lib64/opengl/nvidia/extensions"
# ModulePath   "/usr/lib64/opengl/xorg-x11/extensions"
EndSection

Section "Module"
Load "extmod"
Load "dbe"
Load "record"
Load "xtrap"
# Load "dri"
Load "glx"
Load "freetype"
Load "synaptics"
Load "type1"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbRules" "xorg"
# Option "XkbModel" "pc101"
# Option "XkbLayout" "us"
Option      "XkbModel" "pc105"
# Option      "XkbLayout" "cz_qwerty,us"
## Option      "XkbLayout" "cz,us"
Option      "XkbOptions"    "grp:switch,grp:shifts_toggle,grp_led:scroll,compose:ralt"
Option	    "AddARGBGLXVisuals"
# Option    "XkbOptions" "grp:shift_toggle,grp_led:scroll"
Option      "XkbVariant" "qwerty,nodeadkeys"
EndSection

Section "InputDevice"
Driver  	"synaptics"
Identifier  	"TouchPad"
Option	"Device"  	"/dev/input/mouse0"
Option	"Protocol"	"auto-dev"
Option	"LeftEdge"      "1700"
Option	"RightEdge"     "5300"
Option	"TopEdge"       "1700"
Option	"BottomEdge"    "4200"
Option	"FingerLow"	"25"
Option	"FingerHigh"	"30"
Option	"MaxTapTime"	"180"
Option	"MaxTapMove"	"220"
Option	"VertScrollDelta" "100"
Option	"MinSpeed"	"0.09"
Option	"MaxSpeed"	"0.18"
Option	"AccelFactor"	"0.0015"
Option	"SHMConfig"	"on"
EndSection

Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
# Option "Protocol" "ImPS/2"
Option "Protocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
Identifier     "Touchpad"
Driver         "synaptics"
Option         "Device" "/dev/input/mouse0"
Option         "Protocol" "auto"
Option         "LeftEdge" "1530"
Option         "RightEdge" "5550"
Option         "TopEdge" "1690"
Option         "BottomEdge" "4420"
Option         "FingerLow" "25"
Option         "FingerHigh" "30"
Option         "MaxTapTime" "180"
Option         "MaxTapMove" "220"
Option         "VertScrollDelta" "100"
Option         "MinSpeed" "0.02"
Option         "MaxSpeed" "0.2"
Option         "AccelFactor" "0.002"
Option         "RTCornerButton" "0"
Option         "RBCornerButton" "0"
Option         "CircularScrolling" "1"
Option         "PalmMinWidth" "5"
Option         "PalmMinZ" "150"
Option         "SHMConfig" "on"
EndSection

Section "Monitor"
# This is my laptop's monitor
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
#                 HorizSync 28.0 - 49.0
#                     VertRefresh 43.0 - 72.0
EndSection
#
Section "Monitor"
#                         # This is a Samsung Syncmaster 800 TFT"
Identifier "CRT-0"
VendorName "Samsung"
ModelName "Samsung Syncmaster 800 TFT"
Option "DPMS"
HorizSync 30.0-64.0
VertRefresh 50.0-100.0
EndSection
#
# Section "Device"
#  # This is my laptop's vga card
#   Identifier "Card0"
#  Driver "i810"
#   Screen 0
# Option "MonitorLayout" "CRT, CRT+LFP"
#  BusID "PCI:0:2:0"
#  EndSection
#
#  Section "Device"
#   # Here is the trick: repeat the same card with a different identifier
#  Identifier "Card1"
#   Driver "i810"
# Screen 1
#  Option "MonitorLayout" "CRT, CRT+LFP"
#   BusID "PCI:0:2:0"
#   EndSection
#
Section "Device"
Identifier     "Card0"
Driver         "nvidia"
#Driver         "nv"
VendorName     "nVidia Corporation"
BoardName      "GeForce FX Go5200"
EndSection

Section "Device"
Identifier     "Card1"
Driver         "nvidia"
# Driver         "nv"
VendorName     "nVidia Corporation"
BoardName      "GeForce FX Go5200"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
SubSection "Display"
Depth  16
Modes  "800x600"
EndSubSection
EndSection
#
Section "Screen"
Identifier   "Screen2"
Device "Card1"
Monitor   "CRT-0"
DefaultDepth 16
SubSection "Display"
Depth  16
Modes  "1280x1024"
EndSubSection
SubSection "Display"
Depth  16
Modes  "800x600"
EndSubSection
EndSection
#
# # I think the following is not really necessary!
Section "ServerFlags"
Option "Xinerama" "enable"
EndSection
