# 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.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type "man xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "Files"
EndSection

Section "Module"
	Load	"dbe"
#        Load  "bitmap"
#        Load  "ddc"
#        Load  "dri"
#        Load  "extmod"
#        Load  "freetype"
#        Load  "glx"
#        Load  "int10"
#        Load  "vbe"
#        Load  "GLcore"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"dk"
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	"ATI Technologies Inc M24 1T [FireGL M24 GL]"
#	Driver		"fglrx"
#	BusID		"PCI:1:0:0"
#    Option "TripleBuffer" "True"
#EndSection

Section "Device"
	Identifier	"aticonfig-Device[0]"
	Driver		"fglrx"
#	Option		"XAANoOffscreenPixmaps"	"true"
	Option		"TwinView" "true"
	Option		"RenderAccel" "true"
	Option		"UseEdidFreq"	"true"
#	Option		"TripleBuffer" "true"
#	Option		"RandRRotation" "on"
	#Option		"OverlayOnCRTC2" "1"
	#Option		"HWCursor" "False"
	#Option		"SWCursor" "True"
	#Option		"oOVideverlay" "on"
	#Option		"DesktopSetup" "horizontal"
	#Option		"DesktopSetup" "LVDS,AUTO" #the types of monitors that is connected LVDS = LCD, CRT, AUTO
	Option		"MergedFB" "true"
	BusID		"PCI:1:0:0"
	Screen		0
    Option "TripleBuffer" "True"
EndSection

Section "Device"
	Identifier	"aticonfig-Device[1]"
	Driver		"fglrx"
#	Option		"XAANoOffscreenPixmaps"	"true"
	Option		"TwinView" "true"
	Option		"RenderAccel" "true"
	Option		"UseEdidFreq"	"true"
#	Option		"TripleBuffer" "true"
#	Option		"RandRRotation" "on"
#	Option		"oOVideverlay" "on"
	#Option		"HWCursor" "False"
	#Option		"SWCursor" "True"
	Option		"ConnectedMonitor" "DFP"
	Option		"MergedFB" "true"
	BusID		"PCI:1:0:0"
	Screen		1
EndSection

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

Section "Monitor"
	Identifier	"aticonfig-Monitor[0]"
	#Option		"VendorName" "ATI Proprietary Driver"
	#Option		"ModelName" "Generic Autodetecting Monitor"
	Option		"DPMS"
EndSection

Section "Monitor"
	Identifier	"aticonfig-Monitor[1]"
	#Option		"VendorName" "ATI Proprietary Driver"
	#Option		"ModelName" "Generic Autodetecting Monitor"
	Option		"DPMS"
	#Option		"SWCursor" "True"
EndSection

#Section "Screen"
#	Identifier	"Default Screen"
#	Device		"ATI Technologies Inc M24 1T [FireGL M24 GL]"
#	Monitor		"Generic Monitor"
#	DefaultDepth	24
#	SubSection "Display"
#		Modes		"1400x1050"
#	EndSubSection
#EndSection

Section "Screen"
	Identifier	"aticonfig-Screen[0]"
	Device		"aticonfig-Device[0]"
	Monitor		"aticonfig-Monitor[0]"
	DefaultDepth	24
	SubSection "Display"
		Depth	24
		Modes	"1400x1050"
	EndSubSection
EndSection

Section "Screen"
	Identifier	"aticonfig-Screen[1]"
	Device		"aticonfig-Device[1]"
	Monitor		"aticonfig-Monitor[1]"
	#Option		"SWCursor" "True"
	DefaultDepth	24
	SubSection "Display"
		Depth	24
		Modes	"1680x1050" "1600x1200"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen      0	"aticonfig-Screen[0]" 0 0
        Screen      1	"aticonfig-Screen[1]" RightOf "aticonfig-Screen[0]"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Synaptics Touchpad"
        #Option		"Xinerama" "true"
EndSection

Section "ServerFlags"
	Option "Xinerama" "true"
#	Option	"Clone" "on"
EndSection

Section "Extensions"
        Option  "Composite" "Enable"
	Option	"XVideo" "Enable"
EndSection

#Section "DRI"
#	Mode	0666
#EndSection
