# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig:  version 1.0  (buildmeister@builder3)  Mon Feb 26 23:38:46 PST 2007

# XF86Config-4 (XFree86 X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the XF86Config-4 manual page.
# (Type "man XF86Config-4" at the shell prompt.)
#
# This file is automatically updated on xserver-xfree86 package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xfree86
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands as root:
#
#   cp /etc/X11/XF86Config-4 /etc/X11/XF86Config-4.custom
#   md5sum /etc/X11/XF86Config-4 >/var/lib/xfree86/XF86Config-4.md5sum
#   dpkg-reconfigure xserver-xfree86
##########################################################################
# Graphics device section(s)
##########################################################################
##########################################################################
# Screen sections
##########################################################################
##########################################################################
# ServerLayout sections
# (invoke using the '-layout' option of 'startx'.
##########################################################################

Section "ServerLayout"
    Identifier     "Default"
    Screen         "Screen Default" 0 0
    InputDevice    "Mouse1" "CorePointer"
    InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

Section "ServerLayout"
    Identifier     "Clone"
    Screen         "Screen Clone" 0 0
    InputDevice    "Mouse1" "CorePointer"
    InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

Section "ServerLayout"
    Identifier     "Xinerama"
    Screen         "Screen Xinerama" 0 0
    InputDevice    "Mouse1" "CorePointer"
    InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

Section "ServerLayout"
    Identifier     "Television"
    Screen         "Screen Television" 0 0
    InputDevice    "Mouse1" "CorePointer"
    InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

Section "ServerLayout"
    Identifier     "Television NO DETECT TV"
    Screen      0  "Screen0" 0 0
    Screen      1  "Screen1" RightOf "Screen0"
    InputDevice    "Mouse1" "CorePointer"
    InputDevice    "Keyboard1" "CoreKeyboard"
EndSection

Section "Files"

	# path to defoma fonts
    FontPath        "/usr/share/fonts/X11/misc"
    FontPath        "/usr/X11R6/lib/X11/fonts/misc"
    FontPath        "/usr/share/fonts/X11/cyrillic"
    FontPath        "/usr/X11R6/lib/X11/fonts/cyrillic"
    FontPath        "/usr/share/fonts/X11/100dpi/:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/75dpi/:unscaled"
    FontPath        "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
    FontPath        "/usr/share/fonts/X11/Type1"
    FontPath        "/usr/X11R6/lib/X11/fonts/Type1"
    FontPath        "/usr/share/fonts/X11/100dpi"
    FontPath        "/usr/X11R6/lib/X11/fonts/100dpi"
    FontPath        "/usr/share/fonts/X11/75dpi"
    FontPath        "/usr/X11R6/lib/X11/fonts/75dpi"
    FontPath        "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
    Load           "bitmap"
    Load           "dbe"
    Load           "ddc"
    Load           "extmod"
    Load           "freetype"
    Load           "glx"
    Load           "int10"
    Load           "record"
    Load           "speedo"
    Load           "type1"
    Load           "vbe"
EndSection

Section "InputDevice"
    Identifier     "Keyboard1"
    Driver         "kbd"
    Option         "CoreKeyboard"
    Option         "XkbRules" "xorg"
    Option         "XkbModel" "pc104"
    Option         "XkbLayout" "us,cz_qwerty"
    #Option		"XkbOptions"	"grp:shift_toggle,grp_led:scroll"
    Option         "XkbOptions" "grp:switch,grp:caps_toggle,grp:shift_toggle,grp_led:scroll"
EndSection

Section "InputDevice"
    Identifier     "mouse-synaptics"
    Driver         "synaptics"
    Option         "Device" "/dev/psaux"
    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.06"
    Option         "MaxSpeed" "0.12"
    Option         "AccelFactor" "0.0010"
EndSection

Section "InputDevice"
    Identifier     "Mouse1"
    Driver         "mouse"
    Option         "CorePointer"
    Option         "Device" "/dev/input/mice"
    Option         "Protocol" "ImPS/2"
    Option         "Emulate3Buttons" "true"
    Option         "ZAxisMapping" "4 5"
EndSection

Section "Monitor"
    Identifier     "MyMonitor"
    HorizSync       30.0 - 70.0
    VertRefresh     50.0 - 150.0
    Option         "DPMS"
    #DisplaySize    356 267
EndSection

Section "Monitor"
    Identifier     "MyTV"
    HorizSync      30-95
    VertRefresh    60
EndSection

Section "Device"
    Identifier     "NV Default"
    Driver         "nvidia"
    VendorName     "nvidia"
    BusID          "PCI:1:0:0"
    #Option         "UseEdidDpi" "FALSE"
EndSection

Section "Device"

    # update this with the PCI id of your card.  Consult the output
    # of the 'lspci' command. The  BusID is usually optional when
    # only using one graphics card.
    Identifier     "NV Clone"
    Driver         "nvidia"
    VendorName     "nvidia"
    Option         "NvAgp" "1"
    # sample twinview setup
    Option         "TwinView"
    # be sure to replace the HorizSync and VertRefresh with correct values
    # for your monitor!  
    Option         "SecondMonitorHorizSync" "30-70"
    Option         "SecondMonitorVertRefresh" "50-150"
    Option         "TwinViewOrientation" "Clone"
    Option         "MetaModes" "1280x1024,1280x1024"
    Option         "ConnectedMonitor" "crt,crt"
    BusID          "PCI:1:0:0"
EndSection

Section "Device"
    Identifier     "NV Xinerama"
    Driver         "nvidia"
    VendorName     "nvidia"
    Option         "NvAgp" "1"
    Option         "TwinView"
    Option         "SecondMonitorHorizSync" "30-70"
    Option         "SecondMonitorVertRefresh" "50-150"
    Option         "TwinViewOrientation" "RightOf"
    Option         "MetaModes" "1280x1024,1280x1024"
    Option         "ConnectedMonitor" "crt,crt"
    BusID          "PCI:1:0:0"
EndSection

Section "Device"
    Identifier     "NV Television"
    Driver         "nvidia"
    VendorName     "nvidia"
    Option         "TwinView"
    Option         "SecondMonitorHorizSync" "30-70"
    Option         "SecondMonitorVertRefresh" "50-150"
    #Option         "TwinViewOrientation" "Clone"
    Option         "TwinViewOrientation" "LeftOf"
    #Option         "MetaModes" "800x600,800x600"
    Option         "MetaModes" "1400x1050,800x600"
    #Option         "TVOutFormat" "SVIDEO"
    Option         "TVOutFormat" "COMPOSITE"
    Option         "TVStandard" "PAL-B"
    #Option         "ConnectedMonitor" "crt,tv"
    Option         "ConnectedMonitor" "DFP,TV"
    BusID          "PCI:1:0:0"
EndSection

Section "Device"
    Identifier     "Device0"
    Driver         "nvidia"
    #Option         "RenderAccel" "true"
    BusID          "PCI:1:0:0"
    Screen          0
EndSection

Section "Device"
    Identifier     "Device1"
    Driver         "nvidia"
    Screen          1
    Option         "TVOutFormat" "COMPOSITE"
    Option         "TVStandard" "PAL-B"
    #Option         "ConnectedMonitor" "TV"
    Option         "UseDisplayDevice" "TV"
    BusID          "PCI:1:0:0"
EndSection

Section "Screen"
    Identifier     "Screen Default"
    Device         "NV Default"
    Monitor        "MyMonitor"
    DefaultDepth    24
    SubSection     "Display"

        #Modes       "1280x1024" "1024x768" "800x600" "640x480"
        Depth       24
        Modes      "1400x1050" "800x600" "640x480"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen Clone"
    Device         "NV Clone"
    Monitor        "MyMonitor"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024" "1024x768" "800x600"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen Xinerama"
    Device         "NV Xinerama"
    Monitor        "MyMonitor"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes      "1280x1024" "1024x768" "800x600"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen Television"
    Device         "NV Television"
    Monitor        "MyMonitor"
    DefaultDepth    24
    SubSection     "Display"

        #Modes       "1280x1024" "1024x768" "800x600" "640x480"
        Depth       24
        Modes      "800x600"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen0"
    Device         "Device0"
    Monitor        "MyMonitor"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes      "1400x1050"
    EndSubSection
EndSection

Section "Screen"
    Identifier     "Screen1"
    Device         "Device1"
    Monitor        "MyTV"
    DefaultDepth    24
    SubSection     "Display"
        Depth       24
        Modes      "800x600"
    EndSubSection
EndSection
