# 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 commands as root:
#
#   cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
#   md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum
#   dpkg-reconfigure xserver-xorg

Section "Files"
	FontPath	"unix/:7100"			# local font server
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/lib/X11/fonts/misc"
	FontPath	"/usr/lib/X11/fonts/cyrillic"
	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/lib/X11/fonts/Type1"
	FontPath	"/usr/lib/X11/fonts/CID"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
EndSection

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

Section "ServerFlags"
    #Option "Xinerama" "true"
    
    # These options keep the X Server from entering in power saving mode:
    Option    "BlankTime"    "0"
    Option    "StandbyTime"  "0"
    Option    "SuspendTime"  "0"
    Option    "OffTime"      "0"
    
    # Allow the server to start without mouse
    Option "AllowMouseOpenFail"  "yes"
    Option    "DontVTSwitch" "no"
    Option    "DontZap"      "no"

EndSection

Section "InputDevice"
	Identifier	"Teclado PS2"
	Driver		"kbd"
#	Driver		"keyboard"
#	Option		"CoreKeyboard"
#	Option		"XkbRules"	"xorg"
#	Option		"XkbModel"	"abnt2"
#	Option		"XkbLayout"	"br"
#	Option		"XkbVariant"	"abnt2"
#	Option		"XkbOptions"	"abnt2"
EndSection

Section "InputDevice"
	Identifier	"Teclado PS2 configurado"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"abnt2"
	Option		"XkbLayout"	"br"
	Option		"XkbVariant"	"abnt2"
	Option		"XkbOptions"	"abnt2"
EndSection

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

# placa de v�deo velha enferrujada
Section "Device"
	Identifier	"Trio32/64/64V+"
	Driver		"s3"
	BusID		"PCI:0:13"
	Screen		0
EndSection

# Placa de v�deo nova
Section "Device"
	Identifier	"NVidia GeForce4 MX 440 AGP 8x"
	Driver		"nv"
	BusID		"PCI:1:0"
	Screen		0
EndSection

# monitor da esquerda
Section "Monitor"
	Identifier	"Samsung SyncMaster 753dfx"
	HorizSync	30-70
	VertRefresh	50-160
	Option		"DPMS"
EndSection

# monitor da direita
Section "Monitor"
	Identifier	"Samsung SyncMaster 17GLi"
	HorizSync	30-65
	VertRefresh	50-120
	Option		"DPMS"
EndSection

Section "Screen"
	Identifier	"Screen esquerda"
	Device		"NVidia GeForce4 MX 440 AGP 8x"
	Monitor		"Samsung SyncMaster 753dfx"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768"
	EndSubSection
EndSection

Section "Screen"
	Identifier	"Screen esquerda 16"
	Device		"NVidia GeForce4 MX 440 AGP 8x"
	Monitor		"Samsung SyncMaster 753dfx"
	DefaultDepth	16
	SubSection "Display"
		Depth		1
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768"
	EndSubSection
EndSection

Section "Screen"
	Identifier	"Screen direita"
	Device		"Trio32/64/64V+"
	Monitor		"Samsung SyncMaster 17GLi"
	DefaultDepth	16
	SubSection "Display"
		Depth		1
		Modes		"1024x768"
		Modes		"800x600"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768"
		Modes		"800x600"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768"
		Modes		"800x600"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768"
		Modes		"800x600"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768"
		Modes		"800x600"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768"
		Modes		"800x600"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"duascabecas"
	Screen		"Screen esquerda"
	Screen		"Screen direita" RightOf "Screen esquerda"
	InputDevice	"Teclado PS2"
#	InputDevice	"Configured Mouse"
EndSection

Section "ServerLayout"
	Identifier	"xinerama"
	Screen		"Screen esquerda 16"
	Screen		"Screen direita" RightOf "Screen esquerda 16"
	InputDevice	"Teclado PS2 configurado"
#	InputDevice	"Mouse PS2"
        Option "Xinerama"
EndSection

Section "DRI"
	Mode	0666
EndSection
