Section "Extensions"
       Option "Composite" "enable"
EndSection

Section "ServerFlags"
	AllowMouseOpenFail
	Option "AIGLX" "true"
	Option "NoPM" "true"
EndSection

Section "ServerLayout"
	Identifier     "Default Layout"
	Screen         "Screen at Device0" 0 0
	InputDevice    "mouse0" "CorePointer"
	InputDevice    "mouse1" "SendCoreEvents"
	InputDevice    "ru_alt" "CoreKeyboard"
EndSection

Section "Files"
#	FontPath     "unix/:-1"
EndSection

Section "Module"
	Load  "dbe"
	Load  "glx"
	Load  "dri"
	Load  "extmod"
	Load  "freetype"
	SubSection "extmod"
		Option	    "omit xfree86-dga"
	EndSubSection
EndSection

Section "InputDevice"
	Identifier  "ru_alt"
	Driver      "kbd"
        Option "AutoRepeat"  "250 30"
        Option "XkbModel" "pc105"
        Option	    "XkbLayout" "us,ua,ru"
	Option "XkbVariant"  ",winkeys,winkeys"
	Option	    "XkbOptions" "grp:toggle,grp:toggle,grp:toggle"
EndSection

Section "InputDevice"
	Identifier  "mouse0"
	Driver      "synaptics"
	Option	    "Device" "/dev/input/mice"
	#"SynPS/2 Synaptics TouchPad"
	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"
	Option	    "SHMConfig" "on"
EndSection

Section "InputDevice"
	Identifier  "mouse1"
	Driver      "mouse"
	#Option      "Protocol" "IMPS/2"
	Option "Protocol" "ExplorerPS/2"
	Option "ZAxixMapping" "4 5 6 7"
	Option	    "Device" "/dev/input/mice"
        Option "Emulate3Buttons"
        Option "Emulate3Timeout"    "50"
	Option "XAxisMapping"       "6 7"
	Option "YAxisMapping"       "4 5"
        Option "ZAxisMapping"       "4 5"
        Option "EmulateWheel"       "true"
        Option "EmulateWheelButton" "2"
	Option "EmulateWheelInertia" "10"
	Option "EmulateWheelClickToo" "true"
	#"TrackPoint IBM TrackPoint"
EndSection

Section "Monitor"
	Identifier   "Monitor at Device0|0"
EndSection

Section "Monitor"
	Identifier   "Generic Monitor"
	Option       "DPMS"
EndSection

Section "Device"
	Identifier  "ATI Radeon (x11)|0"
	Driver      "radeon"
	#Option		"DynamicClocks"	"on"
	#Option		"CRT2Position"	"LeftOf"
	#Option		"CRT2HSync"	"30-81"
	#Option		"CRT2VRefresh"	"56-76"
	#Option      "MonitorLayout"     "LVDS,CRT" 
	#Option		"MetaModes"	"1280x1024 1024x768 1280x1024 1024x768 800x600 640x480"
	#Option		"MergedNonRectangular"	"true"
EndSection

Section "Screen"
	Identifier "Screen at Device0"
	Device     "ATI Radeon (x11)|0"
	Option "XaaNoOffscreenPixmaps"
	Monitor    "Monitor at Device0|0"
	DefaultDepth     24
	SubSection "Display"
		Depth     8
	EndSubSection
	SubSection "Display"
		Depth     15
	EndSubSection
	SubSection "Display"
		Depth     16
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes     "1280x1024" "1024x768"
		Virtual   2048 768
	EndSubSection
EndSection

Section "DRI"
	Group        "xgrp"
	Mode         0660
EndSection
