# xorg.conf (X.Org 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 "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"us"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
EndSection

Section "Device"
	Identifier	"Configured Video Device"
	Driver		"openchrome"

#  required for LCD panel
	Option   "ActiveDevice" "LCD"
	Option   "VBEModes" "true"
	Option   "PanelSize" "1024x768"

#fixes a redraw problem in xubuntu
	Option	"EnableAGPDMA" "false"

EndSection

Section "Monitor"
	Identifier	"Configured Monitor"

# to disable screen blanking
	Option	"DPMS"

EndSection

Section "Screen"
	Identifier	"Default Screen"
	Monitor		"Configured Monitor"
	Device		"Configured Video Device"
	DefaultDepth	24
	SubSection	"Display"
		Modes	"1024x768" "800x600" "640x480"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"

# to disable screen blanking
	Option		"BlankTime" "0"
	Option		"StandbyTime" "0"
	Option		"SuspendTime" "0"
	Option		"OffTime" "0"

EndSection

Section "Module"
	Load		"glx"
	Load		"GLcore"
	Load		"v4l"
	Load		"dri"
	Load		"dbe"
	SubSection	"extmod"
		Option		"omit xfree86-dga"
	EndSubSection
EndSection

Section "DRI"
	Mode 0666
EndSection