# /etc/X11/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(5) 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"
	FontPath	"/usr/share/fonts/X11/misc"
	FontPath	"/usr/share/fonts/X11/cyrillic"
	FontPath	"/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/Type1"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

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

#	Load	"xaa"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"es"
	Option		"XkbOptions"	"lv3:ralt_switch"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"ZAxisMapping"		"4 5"
	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 	"Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller"
	Driver 		"intel"
	# When using the intel or ati driver with AIGLX, you may notice that 
	# all your windows seem to be frozen even as you interact with them. 
	# Nothing in any window updates until you rotate the cube or otherwise switch viewports.
	Option 		"XAANoOffscreenPixmaps" "true"
	Option 		"DRI" "true"
	#Option 		"FrameBufferCompression" "true"
	# No tiene sentido tratar de usar el driver "nuevo" para 3D, para la
	# i965GM siempre usa el viejo no importa lo que se ponga en Legacy3D,
	# o no he podido entender cual es el viejo y cual es el nuevo
	#Option 	"Legacy3D" "false"
	# Cuando se activa el método EXA se ven feas las fuentes
	# pilas por que parece que en el futuro va a ser el metodo por defecto
	#Option 	"MigrationHeuristic" "greedy"
	#Option 	"ExaNoComposite" "false"
	#Option 	"AccelMethod" "EXA"

	#Option "AccelMethod" "XAA"
	# VideoRam ya no se debe usar el driver selecciona la memoria de la
	# tarjeta automaticamente y recomienda no usar VideoRam
	BusID 		"PCI:0:2:0"
EndSection

Section "Monitor"
	Identifier	"Monitor genérico"
	Option		"DPMS"
	HorizSync	28-50
	VertRefresh	43-75
	Gamma		0.75 0.65 0.60 
EndSection

Section "Screen"
	Identifier	"Default Screen"
	Device	 	"Intel Corporation Mobile GM965/GL960 Integrated Graphics Controller"
	Monitor		"Monitor genérico"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1280x800" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1280x800" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1280x800" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1280x800" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1280x800" "1024x768" "800x600" "640x480"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1280x800" "1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Synaptics Touchpad"
	Option 		"AIGLX" "true"
EndSection

Section "DRI"
	Group	"video"
	Mode	0660
EndSection

Section "Extensions"
        Option "Composite" "enable"
EndSection

