
# XFree86 4 configuration created by pyxf86config

Section "ServerLayout"
	Identifier     "Dualhead Layout"
	Option		"AIGLX" "true"
	Option		"Xinerama" "off"
	Option		"Clone" "on"
	Screen	0	"Internal" 0 0 
	Screen	1	"External" LeftOf "Internal" 
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
	InputDevice    "Synaptics" "AlwaysCore"
EndSection

Section "Files"

# RgbPath is 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.

	FontPath     "unix/:7100"
EndSection

Section "Module"
	Load  "dbe"
	Load  "extmod"
	Load  "fbdevhw"
	Load  "glx"
	Load  "record"
	Load  "freetype"
	Load  "type1"
	Load  "synaptics"
	Load  "dri"
	Load  "bitmap"
	Load  "ddc"
	Load  "int10"
	Load  "vbe"
EndSection

Section "InputDevice"

# 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"
# Or if you just want both to be control, use:
#	Option	"XkbOptions"	"ctrl:nocaps"
#
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "yes"
EndSection

Section "InputDevice"
	Identifier  "Synaptics"
	Driver      "synaptics"
	Option	    "Device" "/dev/input/mice"
	Option	    "Protocol" "auto-dev"
	Option	    "Emulate3Buttons" "yes"
	Option	    "LeftEdge" "120"
	Option	    "RightEdge" "830"
	Option	    "TopEdge" "120"
	Option	    "BottomEdge" "650"
	Option	    "FingerLow" "14"
	Option	    "FingerHigh" "15"
	Option	    "MaxTapMove" "110"
	Option	    "VertScrollDelta" "20"
	Option	    "HorizScrollDelta" "20"
	Option	    "MinSpeed" "0.3"
	Option	    "MaxSpeed" "0.75"
EndSection

Section "Monitor"
	Identifier   "Internal LCD"
	VendorName   "Fujitsu"
	ModelName    "LCD Panel 1024x768"
	HorizSync    31.5 - 48.5
	VertRefresh  40.0 - 70.0
	Option	    "dpms"
EndSection

Section "Monitor"
        Identifier   "External LCD"
        VendorName   "Samsung"
        ModelName    "SyncMaster 205bw 1680x1050"
        HorizSync    30.0 - 81.0
        VertRefresh  56.0 - 75.0
        #Modeline "1280x1024"  135.00  1280 1296 1440 1688  1024 1025 1028 1066
	#Modeline "1680x1050"  146.25  1680 1784 1960 2240  1050 1053 1059 1089 
	#Modeline "1280x960"  101.25  1280 1360 1488 1696  960 963 967 996
	Modeline  "1024x768"   75.00  1024 1048 1184 1328  768 771 777 806
	Option      "dpms"
EndSection

Section "Device"
	Identifier  "830M-A"
	Driver      "i810"
	VendorName  "Intel"
	BoardName   "Intel 830"
	Screen	    0		
        Option	    "XAANoOffscreenPixmaps"
	Option 	    "MonitorLayout" 	"LFP,DFP"
	BusID       "PCI:0:2:0"
EndSection

Section "Device"
        Identifier  "830M-B"
        Driver      "i810"
        VendorName  "Intel"
        BoardName   "Intel 830"
	Screen	    1 	
        Option      "XAANoOffscreenPixmaps"
        Option 	    "MonitorLayout" 	"DFP,LFP"
	Option	    "DevicePresence"	"yes"
	#BusID       "PCI:0:2:0"
EndSection


Section "Screen"
	Identifier "Internal"
	Device     "830M-A"
	Monitor    "Internal LCD"
	DefaultDepth    24 
	SubSection "Display"
		Viewport   0 0
		Depth     16
		Modes    "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Viewport   0 0
		Depth    24 
		Modes    "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "Screen"
        Identifier "External"
        Device     "830M-B"
        Monitor    "External LCD"
        DefaultDepth    16 
        SubSection "Display"
                Viewport   0 0
                Depth     8
                Modes    "1024x768" "800x600" "640x480"
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth    16 
                Modes    "1680x1050" "1280x800" "1024x768" "800x600" "640x480"
        EndSubSection
EndSection


Section "DRI"
	Group        0
	Mode         0666
EndSection

Section "extensions"
 	Option "Composite"
EndSection
