Section "Module"

	Load	"dbe"  	# Double buffer extension
	Load	"dri"
	Load	"extmod"
#    SubSection  "extmod"
#       Option    "omit xfree86-dga"   # don't initialise the DGA extension
#    EndSubSection
	Load	"freetype"
#	Load    "speedo"
	Load	"glx"
#	Load    "type1"
#	Load    "xtrap"
#	Load    "pex5"
#	Load    "xie"
	Load    "record"
	Load    "randr"
#	Load    "dps"
#	Load    "dpstk"
	Load    "xaa"
EndSection

Section "Extensions"
 Option "Composite" "Enable"
 Option "RENDER" "Enable"
EndSection

Section "DRI"
	Mode 0666
EndSection

Section "Files"

	RgbPath	"/usr/X11/lib/X11/rgb"

	FontPath   "/usr/X11/lib/X11/fonts/75dpi/"
	FontPath   "/usr/X11/lib/X11/fonts/100dpi/"
	FontPath   "/usr/X11/lib/X11/fonts/misc/"
	FontPath   "/usr/X11/lib/X11/fonts/Type1/"
	FontPath   "/usr/X11/lib/X11/fonts/TTF/"
#	FontPath   "/usr/X11/lib/X11/fonts/CID/"
#	FontPath   "/usr/X11/lib/X11/fonts/Speedo/"
#	FontPath   "/usr/X11/lib/X11/fonts/F3bitmaps/"
#	FontPath   "/usr/X11/lib/X11/fonts/local/"
#	FontPath   "/opt/windows/fonts/"
#	FontPath   "/usr/share/ghostscript/fonts/"
#	FontPath   "/usr/X11/fonts/freefont/"
#	FontPath   "/usr/X11/fonts/sharefont/"

# The module search path.  The default path is shown here.
#
#    ModulePath "/usr/X11/lib/modules"

EndSection


# **********************************************************************
# Input devices
# **********************************************************************

Section "InputDevice"
	Identifier	"Mouse"
	Driver		"mouse"

	Option "Protocol"	"IMPS/2"
	Option "Device"		"/dev/input/mice"
#	Option "Device"		"/dev/psaux"
	Option "ZAxisMapping"	"4 5"
	Option "Buttons"	"3"

EndSection



# **********************************************************************
# Core keyboard's InputDevice section
# **********************************************************************

Section "InputDevice"

	Identifier	"Keyboard"
	Driver		"kbd"

# For most OSs the protocol can be omitted (it defaults to "Standard").
# When using XQUEUE (only for SVR3 and SVR4, but not Solaris),
# uncomment the following line.
#
#	Option		"Protocol"	"Xqueue"

	Option		"AutoRepeat"	"500 30"

# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
#	Option	"Xleds"      "1 2 3"
#
#	Option "LeftAlt"     "Meta"
#	Option "RightAlt"    "ModeShift"
#
# 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"
#
# These are the default XKB settings for XFree86
#	Option "XkbRules"    "xfree86"
#	Option "XkbModel"    "pc101"
#	Option "XkbLayout"   "us"
#	Option "XkbVariant"  ""
#	Option "XkbOptions"  ""
#
#	Option "XkbDisable"

#	Option "XkbRules"	"xfree86"
	Option "XkbModel"	"pc105"
	Option "XkbLayout"   	"us"
#	Option "XkbVariant" 	"nodeadkeys"

EndSection


Section "Monitor"
	Identifier  "Monitor"
	Option		"DPMS"		"on"
EndSection


Section "ServerFlags"
	Option		"StandbyTime"	"5"
	Option		"SuspendTime"	"10"
	Option		"OffTime"	"30"
EndSection


# **********************************************************************
# Graphics device section
# **********************************************************************


Section "Device"
	Identifier	"Radeon"
	Driver		"ati"
	BusID		"PCI:1:0:0"

	Option "AccelMethod" "exa"

#	ChipID		0x4966
#	Option		"EnablePageflip"	"True"
#	Option		"BackingStore"		"On"
#	Option          "AGPMODE"       	"4"
#	Option 		"AGPFastWrite"		"True"
#	Option		"Display"	"FP"
	Option		"PanelSize"	"1280x1024"
	Option		"SWcursor"	"on"
	Option		"MonitorLayout" "TDMS,TDMS"
	Option 		"CRT2Position" "LeftOf" 
	Option          "MetaModes" "1280x1024-1280x1024"
EndSection


# **********************************************************************
# Screen sections
# **********************************************************************

# Any number of screen sections may be present.  Each describes
# the configuration of a single screen.  A single specific screen section
# may be specified from the X server command line with the "-screen"
# option.
Section "Screen"
	Identifier	"Screen"
	Device		"Radeon"
	Monitor		"Monitor"
	DefaultDepth	24
   Subsection "Display"
	Modes		"1280x1024"
    EndSubsection
EndSection


Section "ServerLayout"

# The Identifier line must be present
	Identifier	"Simple Layout"

# Each Screen line specifies a Screen section name, and optionally
# the relative position of other screens.  The four names after
# primary screen name are the screens to the top, bottom, left and right
# of the primary screen.  In this example, screen 2 is located to the
# right of screen 1.

	Screen 		"Screen"
#	Screen		"Screen1" LeftOf "Screen0" 

# Each InputDevice line specifies an InputDevice section name and
# optionally some options to specify the way the device is to be
# used.  Those options include "CorePointer", "CoreKeyboard" and
# "SendCoreEvents".

	InputDevice	"Mouse"		"CorePointer"
	InputDevice	"Keyboard"	"CoreKeyboard"
	Option         "Clone" "off"
EndSection
