Section "Module" 
    Load        "ddc"   # ddc probing of monitor 
    Load        "dbe"   # Double buffer extension 
    SubSection  "extmod" 
      Option    "omit xfree86-dga"   # don't initialize the DGA extension 
    EndSubSection 
    Load  	"record"
    Load  	"xtrap"
    Load        "type1" 
    Load        "freetype" 
    Load        "synaptics" 
    Load        "glx"
    Load        "wfb" 
EndSection

Section "Files"
    FontPath     "/usr/share/fonts/misc:unscaled"
    FontPath     "/usr/share/fonts/Type1/" 
    FontPath     "/usr/share/fonts/TTF/"
    FontPath     "/usr/share/fonts/corefonts"
    FontPath     "/usr/share/fonts/freefonts"
    FontPath     "/usr/share/fonts/sharefonts"	
    FontPath     "/usr/share/fonts/terminus"
    FontPath     "/usr/share/fonts/ttf-bitstream-vera"
    FontPath     "/usr/share/fonts/unifont"
    FontPath     "/usr/share/fonts/100dpi:unscaled"
    FontPath     "/usr/share/fonts/75dpi:unscaled" 
    FontPath     "/usr/share/fonts/artwiz"
    FontPath     "/usr/share/fonts/cyrillic"
EndSection

Section "ServerFlags" 
    Option       "AllowMouseOpenFail" "true" 
    Option       "SuspendTime"        "10" 
    Option       "OffTime"            "15"
    Option "AutoAddDevices" "false" 
EndSection

Section "InputDevice" 
    Identifier  "Keyboard1" 
    Driver      "kbd" 
    Option      "XkbRules"      "xorg"
    Option      "XkbModel"      "microsoftpro" 
    Option      "XkbLayout"     "us,ru" 
    Option      "XkbVariant" 	",winkeys"
    Option      "XkbOptions"    "grp:shift_toggle,grp_led:scroll"
    Option      "AutoRepeat"    "500 30" 
EndSection

Section "InputDevice" 
    Identifier  "USBMouse" 
    Driver      "mouse"
    Option      "Device" "/dev/input/mice"
    Option      "Buttons"      "7"
    Option      "CorePointer"
    Option      "Protocol" "auto"
    Option      "ZAxisMapping" "4 5 6 7"
EndSection

Section "InputDevice"
    Driver      "synaptics"
    Identifier  "TouchPad"
    Option      "Device"       "/dev/input/mice"
    Option      "Protocol"     "auto-dev"
    Option      "LeftEdge"     "1900"
    Option      "RightEdge"    "5400"
    Option      "BottomEdge"   "1800"
    Option      "TopEdge"      "3900"
    Option      "FingerLow"    "25"
    Option      "FingerHigh"   "30"
    Option      "MaxTapTime"   "180"
    Option      "MaxTapMove"   "220"
    Option      "VertScrollDelta" "100"
    Option      "MinSpeed"     "0.02"
    Option      "MaxSpeed"     "0.18"
    Option      "AccelFactor"  "0.0010"
    Option      "SendCoreEvents" "true"
    Option      "Repeater"     "/dev/ps2mouse"
    Option      "SHMConfig"    "true"
EndSection
Section "Monitor" 
    Identifier  "DellLFP" 
    HorizSync       28.0 - 96.0
    VertRefresh     43.0 - 60.0
    Option      "DPMS" 
#    DisplaySize     320 240
EndSection


Section "Device" 
    # Some names might need to be changed hereafter: 
    Identifier  "NVIDIA GeForce 7900GS" 
    Driver      "nvidia" 
    VendorName  "nVidia Corporation"
    BoardName   "GeForce 7900 GS" 
    BusID       "PCI:1:0:0"
    Option     "NoLogo" "1" 
    Option "UseDisplayDevice" "DFP"
    ### 2D ACCELLERATION
    Option  "RenderAccel"           "true" # hardware Render acceleration
    #Option  "BackinStore"           "true"  #[] prevent artifacts?
    #Option  "NoRenderExtension"     "true"
    ## some options
    Option  "SWcursor"              "false" #[]
    Option  "Render"                "true"
    Option  "Composite"             "true"
    ### 3D ACCELLERATION
    Option  "EnablePageFlip"        "yes"   #[] Improves performance
    Option  "AGPFastWrite"          "yes"   #[]
    Option  "AGPMode"               "1"     # Supports AGP 4x
    # VideoRam    262144 
    # Insert Clocks lines here if appropriate 
    #Option "IgnoreDisplayDevices" "CRT, TV"
    Option "TripleBuffer" "True"
    Option "AddARGBGLXVisuals" "true"
    Option "AllowGLXWithComposite" "true"
    Option "DisableGLXRootClipping" "true"
    Option "Coolbits" "1"
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "NVIDIA GeForce 7900GS"
	Monitor    "DellLFP"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     8
		Modes    "1920x1200" "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes    "1920x1200" "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth     24
		Modes    "1920x1200" "1400x1050" "1280x1024" "1024x768" "800x600" "640x480"
	EndSubSection
    Option         "RenderAccel" "true"
    Option         "AddARGBGLXVisuals" "True"
    Option         "DisableGLXRootClipping" "True" 
EndSection
Section "ServerLayout" 
    Identifier  "Flat Panel Only" 
    Screen      "Screen 1" 
  #InputDevice "Touchpad"      "AlwaysCore" 
    InputDevice    "TouchPad" 
    InputDevice    "USBMouse" "CorePointer"
EndSection 
 Section "Extensions"
        Option      "Composite"   "enable"
        Option      "RENDER"      "enable"
EndSection

