# File adapted by Paul Dickson


Section "ServerLayout"
	Identifier     "single head configuration"
	Screen         "screen0"
	InputDevice    "Mouse0" "CorePointer"
	InputDevice    "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
# RgbPath is the location of the RGB database.  Note, this is the name of the 
# file minus the extension (like ".txt" or ".db").  There is normally
# no need to change the default.

# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.

	RgbPath      "/usr/X11R6/lib/X11/rgb"
	FontPath     "unix/:7100"
EndSection

Section "Module"
	Load "dbe" # Double-Buffering Extension
	Load "v4l" # Video for Linux
	Load "extmod"
#	Load "fbdevhw"
	Load "glx" # 3D layer
#	Load "/usr/X11R6/lib/modules/extensions/libglx.a"
	Load "record"
	Load "freetype"
	Load "type1"
	Load "dri"
EndSection

Section "ServerFlags"
#	DontZap		# disable <Crtl><Alt><BS> (server abort)
	AllowMouseOpenFail # allows the server to start up even if the mouse doesn't work
#	DontZoom	# disable <Crtl><Alt><KP_+>/<KP_-> (resolution switching)
EndSection

Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#	Option	"Xleds"		"1 2 3"

# To disable the XKEYBOARD extension, uncomment XkbDisable.
#	Option	"XkbDisable"

# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults).  For example, for a non-U.S.
# keyboard, you will probably want to use:
#	Option	"XkbModel"	"pc102"
# If you have a US Microsoft Natural keyboard, you can use:
#	Option	"XkbModel"	"microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
#	Option	"XkbLayout"	"de"
# or:
#	Option	"XkbLayout"	"de"
#	Option	"XkbVariant"	"nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
#	Option	"XkbOptions"	"ctrl:swapcaps"
# Or if you just want both to be control, use:
#	Option	"XkbOptions"	"ctrl:nocaps"
#
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "XkbModel" "pc105"
	Option	    "XkbLayout" "us"
	Option	    "XkbOptions" "ctrl:nocaps"
EndSection

Section "InputDevice"
	Identifier  "Mouse0"
	Driver      "mouse"
	Option	    "Protocol" "IMPS/2"
	Option	    "Device" "/dev/input/mice"
	Option	    "ZAxisMapping" "4 5"
	Option	    "Emulate3Buttons" "yes"
EndSection

Section "Monitor"
	Identifier   "monitor0"
	VendorName   "Generic"
	ModelName    "Flat Panel 1280x800"
	HorizSync    31.5-90
	VertRefresh  60

	# Dell D800 and few Inspiron (16/10) 1280x800
	ModeLine "1280x800"  147.89  1280 1376 1512 1744  800 801 804 848

	# TV fullscreen mode or DVD fullscreen output.
	# 768x576 @ 79 Hz, 50 kHz hsync
	ModeLine "768x576"     50.00  768  832  846 1000   576  590  595  630

	# 768x576 @ 100 Hz, 61.6 kHz hsync
	ModeLine "768x576"     63.07  768  800  960 1024   576  578  590  616
EndSection

Section "Device"
	Identifier  "device0"
	Driver      "i810"
	Option      "DPMS"
EndSection

Section "Screen"
Identifier "screen0"
Device "device0"
Monitor "monitor0"
DefaultColorDepth 24
    
	Subsection "Display"
		Depth 8
		Virtual 1280 800
	EndSubsection

	Subsection "Display"
		Depth 15
		Virtual 1280 800
	EndSubsection

	Subsection "Display"
		Depth 16
		Virtual 1280 800
	EndSubsection

	Subsection "Display"
		Depth 24
		Virtual 1280 800
	EndSubsection
EndSection
