*XF86Config DualDisplay

# File generated by anaconda.
 
Section "ServerLayout"
    Identifier     "Anaconda Configured"
    #Screen      0  "Screen0" 0 0
 
        Screen         0 "Screen0"  
        Screen         1 "Screen1" rightOf "Screen0"
#These two lines are important for Display layout. You can change the value 'rightOf' to something like 'leftOf', 'Above' and 'Below'
    InputDevice    "Mouse0" "CorePointer"
    InputDevice    "Mouse1" "SendCoreEvents"
    InputDevice    "Keyboard0" "CoreKeyboard"
EndSection
 
Section "Files"
# The location of the RGB database.  Note, this is the name of the
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
    RgbPath      "/usr/X11R6/lib/X11/rgb"
    FontPath     "unix/:7100"
EndSection
 
Section "Module"
    Load  "dbe"
    Load  "extmod"
    Load  "fbdevhw"
    Load  "dri"
    Load  "glx"
    Load  "record"
    Load  "freetype"
    Load  "type1"
EndSection
 
Section "InputDevice"
#    Option    "AutoRepeat"    "500 5"
# when using XQUEUE, comment out the above line, and uncomment the
# following line
#    Option    "Protocol"    "Xqueue"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#    Option    "Xleds"        "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
#    Option    "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#    Option    "XkbModel"    "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#    Option    "XkbModel"    "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#    Option    "XkbLayout"    "de"
# or:
#    Option    "XkbLayout"    "de"
#    Option    "XkbVariant"    "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#    Option    "XkbOptions"    "ctrl:swapcaps"
    #Option    "XkbOptions"    ""
    Identifier  "Keyboard0"
    Driver      "keyboard"
    Option        "XkbRules" "xfree86"
    Option        "XkbModel" "pc105"
    Option        "XkbLayout" "us"    #Option    "XkbVariant"    ""
EndSection
 
Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option        "Protocol" "IMPS/2"
    Option        "Device" "/dev/psaux"
    Option        "ZAxisMapping" "4 5"
    Option        "Emulate3Buttons" "no"
EndSection
 
Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option        "Device" "/dev/input/mice"
    Option        "Protocol" "IMPS/2"
    Option        "Emulate3Buttons" "no"
    Option        "ZAxisMapping" "4 5"
EndSection
 
#Note here that there are two monitor sections. Each defines corresponding monitor.
 
Section "Monitor"
    Identifier   "Monitor0"
    VendorName   "Monitor Vendor"
    ModelName    "Samtron"
    HorizSync    30.0 - 55.0
    VertRefresh  50.0 - 120.0
    Option "dpms"
    Option "ConnectedMonitor" "CRT"
EndSection
 
Section "Monitor"
    Identifier   "Monitor1"
    VendorName   "AIWA"
    ModelName    "C143"
    HorizSync    30.0 - 50.0
    VertRefresh  60
    Option "NvAGP" "1"
    Option "IgnoreEDID" "1"
    Option "TVStandard" "PAL-B"
    Option "ConnectedMonitor" "TV"
EndSection
 
#Also note here that there are two Device sections. Each would be the same except for Identifier and Screen.
 
Section "Device"
        Identifier  "nvidia0"
        Driver      "nvidia"
        # Edit the BusID with the location of your graphics card
        BusID       "PCI:1:0:0"
    VideoRam    131072
        Screen      0
EndSection
 
Section "Device"
        Identifier  "nvidia1"
        Driver      "nvidia"
        # Edit the BusID with the location of your graphics card
        BusId       "PCI:1:0:0"
    VideoRam    131072
        Screen      1
EndSection
 
#Here also you can find two Screen sections. Each for different monitors.
 
Section "Screen"
        Identifier  "Screen0"
        Device      "nvidia0"
        Monitor     "Monitor0"
        DefaultDepth 24
        Subsection "Display"
            Depth       24
            Modes       "1024x768" "800x600" "640x480"  
        EndSubsection
EndSection
 
Section "Screen"
        Identifier  "Screen1"
        Device      "nvidia1"
        Monitor     "Monitor1"
        DefaultDepth 24
        Subsection "Display"
            Depth       24
            Modes       "1024x768" "800x600" "640x480"  
        EndSubsection
EndSection
 
Section "DRI"
    Mode         0666
EndSection
 
#by chii-chan...^_^

1