# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildd@athlon)  Sun Mar 19 06:25:19 UTC 2006

# XF86Config-4 (XFree86 server configuration file) generated by Dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config manual page.
# (Type "man XF86Config" at the shell prompt.)
# End of xorg.conf
# vim:ts=4:sw=4


Section "ServerLayout"
    Identifier     "Default Layout"

    InputDevice    "USB Mouse BB" 
    #Identifier     "Secundary"
    Screen         "Secundary Screen Alone" 0 0
    InputDevice    "PS2 Keyboard" "CoreKeyboard"
    #InputDevice    "USB Mouse" "Corepointer"
    #InputDevice    "USB Mouse BB" 
    Option         "AIGLX" "true"
EndSection

Section "ServerLayout"
    Identifier     "x Default Layout"
    Screen         "Main Screen" 0 0
    #Screen         "Secundary Screen" RightOf "Main Screen"
    InputDevice    "PS2 Keyboard" "CoreKeyboard"
    InputDevice    "USB Mouse" "Corepointer"
    InputDevice    "USB Mouse BB"
    Option         "AIGLX" "true"
    #Option         "Xinerama"
EndSection

Section "ServerLayout"

    #InputDevice    "USB Mouse BB" 
    Identifier     "Main"
    Screen         "Secundary Screen Alone"
    InputDevice    "PS2 Keyboard" "CoreKeyboard"
    InputDevice    "USB Mouse" "Corepointer"
    Option         "AIGLX" "true"
EndSection

Section "Files"
    FontPath        "unix/:7101"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
    FontPath        "/usr/lib/X11/fonts/Speedo"
    FontPath        "/usr/lib/X11/fonts/misc"
    FontPath        "/usr/lib/X11/fonts/100dpi:unscaled"
    FontPath        "/usr/lib/X11/fonts/75dpi:unscaled"
    FontPath        "/usr/lib/X11/fonts/Type1"

    FontPath        "/usr/share/fonts/truetype"
    FontPath        "/usr/share/fonts/cmap"
    FontPath        "/usr/share/fonts/type1"
    FontPath        "/usr/share/fonts/X11/misc"
    FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/100dpi"
    FontPath        "/usr/share/fonts/X11/75dpi"
    FontPath        "/usr/share/fonts/X11/Type1"

#    FontPath        "/usr/local/share/fonts/truetype"
#    FontPath        "/usr/lib/X11/fonts/CID"
#    FontPath        "/usr/lib/X11/fonts/cyrillic"

EndSection

Section "Module"

#    Load        "vbe"
#    Load	"DGA"
# Segun README de nvidia
#	Load	"dri"
#	Load	"GLcore"
    Load           "glx"
#    Load	"wacom"
    Load           "dbe"
    Load           "ddc"
    Load           "extmod"
    Load           "record"
    Load           "freetype"
    Load           "type1"
    Load           "bitmap"
    Load           "ddc"
    Load           "int10"
    Load           "record"
    Load           "type1"
#    Load        "v4l"
EndSection

Section "InputDevice"
    Identifier     "PS2 Keyboard"
    Driver         "kbd"
    Option         "CoreKeyboard"
EndSection

Section "InputDevice"
    Identifier     "Dummy Keyboard"
    Driver         "void"
    Option         "CoreKeyboard"
EndSection

Section "InputDevice"
    Identifier     "USB Mouse"
    Driver         "evdev"
    Option         "Device" "/dev/input/event1"
    Option         "Buttons" "9"
    Option         "ZAxisMapping" "6 7 4 5"
    Option         "Emulate3Buttons" "no"
EndSection

Section "InputDevice"
    Identifier     "USB Mouse BB"
    Driver         "evdev"
    Option         "SendCoreEvents" "true"
    Option         "Device" "/dev/input/event2"
    Option         "Buttons" "5"
    Option         "ZAxisMapping" "4 5"
    Option         "Emulate3Buttons" "no"
EndSection

Section "Monitor"
    Identifier     "CRT"
    VendorName     "Viewsonic"
    ModelName      "G90fb"
    DisplaySize     360    270
    Gamma           1.5
    Option         "DPMS" "on"
EndSection

Section "Monitor"
    Identifier     "LCD"
    VendorName     "Viewsonic"
    ModelName      "VG2030wm"
    DisplaySize     434    272
    Gamma           0.9
    Option         "DPMS" "on"
EndSection

Section "Device"
    Identifier     "Main XFX Nvidia 6800XT 256MB"
    Driver         "nvidia"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Secundary XFX Nvidia 6800XT 256MB"
    Driver         "nvidia"
    BusID          "PCI:1:0:0"
    Screen          1
EndSection

Section "Device"
    Identifier     "Secundary XFX Nvidia 6800XT 256MB Alone"
    Driver         "nvidia"
    Option         "ConnectedMonitor" "CRT-1, DFP-0"
    BusID          "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier     "Main Screen"
    Device         "Main XFX Nvidia 6800XT 256MB"
    Monitor        "CRT"
    DefaultDepth    24
    Option         "NvAGP" "3"
    Option         "RenderAccel" "1"
    Option         "Hwcursor" "1"
    Option         "CursorShadow" "1"
#    Option         "Coolbits" "1"
    Option         "AddARGBGLXVisuals" "true"
##    Option         "UseEvents" "1"
    Option         "AllowDDCCI" "1"
#    Option         "backingstore" "true"
    Option         "UseDisplayDevice" "CRT-1"
    Option         "TwinView" "True"
    Option         "TwinViewOrientation" "RightOf"
    Option         "UseEdidFreqs" "True"
    Option         "BackingStore" "True"
    Option         "TripleBuffer" "True"
    Option         "DamageEvents" "True" 
    SubSection     "Display"
        Depth       24
        Modes      "1920x1440" "1600x1200" "1280x1024" "1024x768" "800x600"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Secundary Screen"
    Device         "Secundary XFX Nvidia 6800XT 256MB"
    Monitor        "LCD"
    DefaultDepth    24
    Option         "NvAGP" "3"
    Option         "RenderAccel" "1"
    Option         "Hwcursor" "1"
    Option         "CursorShadow" "1"
#    Option         "Coolbits" "1"
    Option         "AddARGBGLXVisuals" "true"
##    Option         "UseEvents" "1"
    Option         "AllowDDCCI" "1"
#    Option         "backingstore" "true"
    Option         "UseDisplayDevice" "DFP-0"
    Option         "TwinView" "True"
    Option         "TwinViewOrientation" "RightOf"
    Option         "UseEdidFreqs" "True"
    Option         "MetaModes" "1024x768, 1024x768"
    SubSection     "Display"
        Depth       24
        Modes      "1680x1050" "1600x1200" "1400x1050" "1280x1024" "1024x768" "800x600"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Secundary Screen Alone"
    Device         "Secundary XFX Nvidia 6800XT 256MB Alone"
    Monitor        "LCD"
    DefaultDepth    24
    Option         "NvAGP" "3"
    Option         "RenderAccel" "1"
    Option         "Hwcursor" "1"
    Option         "CursorShadow" "1"
#    Option         "Coolbits" "1"
    Option         "AddARGBGLXVisuals" "true"
##    Option         "UseEvents" "1"
    Option         "AllowDDCCI" "1"
#    Option         "backingstore" "true"
    Option         "TwinView" "True"
    Option         "TwinViewOrientation" "RightOf"
    Option         "UseEdidFreqs" "True"
    Option         "MetaModes" "1920x1440, 1680x1050"
    SubSection     "Display"
        Depth       24
        Modes      "1680x1050" "1600x1200" "1400x1050" "1280x1024" "1024x768" "800x600"
    EndSubSection
EndSection

Section "Extensions"

    #Option         "XRandR"
    Option         "Composite" "enabled"
    #Option         "RENDER"
EndSection

Section "ServerFlags"
    # DontZap will stop control-alt-backspace from killing the X server
    # I never really liked the thought that anybody could dump out of X
    # even if it was locked (with xlock, or something similar).
    DontZap
EndSection

