Section "ServerFlags"
	Option "DefaultServerLayout"	"merged"
#	Option "DefaultServerLayout"	"dual"
EndSection

Section "ServerLayout"
	Identifier "merged"

	Screen "Merged Screen"
EndSection

Section "ServerLayout"
	Identifier "dual"

	Screen 0 "Dual Notebook Screen"
	Screen 1 "Dual VGA Screen"
EndSection

# lspci | grep -i vga
# 01:00.0 VGA compatible controller: ATI Technologies Inc Radeon Mobility X1400

# Merged
#
Section "Device"
	Identifier "ATI"
	Option "Monitor-VGA-0"	"VGA Monitor"
	Option "Monitor-LVDS"	"Notebook Monitor"
EndSection

Section "Monitor"
	Identifier "Notebook Monitor"
EndSection

Section "Monitor"
	Identifier "VGA Monitor"

	Option "RightOf" "Notebook Monitor"
EndSection

Section "Screen"
	Identifier "Merged Screen"
	Device "ATI"

	Monitor "Notebook Monitor"

	SubSection "Display"
		# VGA-0 connected 1920x1080+1280+0 (normal left inverted right x axis y axis) 531mm x 298mm
		# LVDS connected 1280x800+0+0 (normal left inverted right x axis y axis) 331mm x 207mm
		Virtual 3200 1080
	EndSubSection
EndSection

# Dual
#
Section "Device"
	Identifier "ATI Dual"

	Option "Monitor-VGA-0"	"Dual VGA Monitor"
	Option "Monitor-LVDS"	"Dual Notebook Monitor"
EndSection

Section "Monitor"
	Identifier "Dual Notebook Monitor"
EndSection

Section "Monitor"
	Identifier "Dual VGA Monitor"
EndSection

Section "Screen"
	Identifier "Dual Notebook Screen"
	Device "ATI Dual"

	Monitor "Dual Notebook Monitor"
EndSection

Section "Screen"
	Identifier "Dual VGA Screen"
	Device "ATI Dual"

	Monitor "Dual VGA Monitor"
EndSection
