1. xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
# 
# It's been modified to add Xinerama support, as well as dual screen. 
# See http://doc.ubuntu-fr.org/materiel/multi-ecran
#

Section "Files"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"fr"
	Option		"XkbVariant"	"latin9"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"
EndSection

Section "InputDevice"
	Identifier	"Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"auto-dev"
	Option		"HorizScrollDelta"	"0"
EndSection

Section "Device"
	Identifier	"nVidia-builtin"
	Driver		"nvidia"
	BusID		"PCI:1:0:0"
	Screen 0
EndSection

Section "Device"
	Identifier	"nVidia-VGAout"
	Driver		"nvidia"
	BusID		"PCI:1:0:0"
	Screen 1
EndSection

Section "Monitor"
	Identifier	"builtin"
	Option		"DPMS"
	HorizSync	28-72
	VertRefresh	43-60
EndSection

Section "Monitor"
	Identifier	"flatpanel"
	Option		"DPMS"
	HorizSync	28-72
	VertRefresh	43-60
EndSection


Section "Screen"
	Identifier	"secondary-screen"
	Device		"nVidia-builtin"
	Monitor		"builtin"
	DefaultDepth	24
	SubSection "Display"
		Modes		"1440x900" "1024x768" "800x600"
	EndSubSection
EndSection

Section "Screen"
	Identifier	"main-screen"
	Device		"nVidia-VGAout"
	Monitor		"flatpanel"
	DefaultDepth	24
	SubSection "Display"
		Modes		"1280x1024" "1024x768" "800x600"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen 0	"main-screen"
	Screen 1	"secondary-screen" LeftOf "main-screen"
	Option "Xinerama"	"true"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Synaptics Touchpad"
EndSection