thayer /xorg.conf

/etc/X11/xorg.conf for ATI fglrx driver (with comments)
#
# /etc/X11/xorg.conf
#


Section "ServerLayout"
	Identifier     "Dell Xorg"
	Screen      0  "aticonfig-Screen[0]" 0 0
	InputDevice    "Dell Keyboard" "CoreKeyboard"
  InputDevice    "Logitech MX518" "CorePointer"
	InputDevice    "Synaptics Touchpad" "SendCoreEvents"  # send core events to the CorePointer
EndSection

Section "Files"
# Additional fonts: Locale, Gimp, TTF...
#	FontPath     "/usr/share/lib/X11/fonts/latin2/75dpi"
#	FontPath     "/usr/share/lib/X11/fonts/latin2/100dpi"
# True type and type1 fonts are also handled via xftlib, see /etc/X11/XftConfig!
	RgbPath      "/usr/share/X11/rgb"
	ModulePath   "/usr/lib/xorg/modules"
	FontPath     "/usr/share/fonts/misc:unscaled"
	FontPath     "/usr/share/fonts/misc"
	FontPath     "/usr/share/fonts/75dpi:unscaled"
	FontPath     "/usr/share/fonts/75dpi"
	FontPath     "/usr/share/fonts/100dpi:unscaled"
	FontPath     "/usr/share/fonts/100dpi"
	FontPath     "/usr/share/fonts/PEX"
	FontPath     "/usr/share/fonts/cyrillic"
	FontPath     "/usr/share/fonts/Type1"
	FontPath     "/usr/share/fonts/ttf/western"
	FontPath     "/usr/share/fonts/ttf/decoratives"
	FontPath     "/usr/share/fonts/truetype"
	FontPath     "/usr/share/fonts/truetype/openoffice"
	FontPath     "/usr/share/fonts/truetype/ttf-bitstream-vera"
	FontPath     "/usr/share/fonts/latex-ttf-fonts"
	FontPath     "/usr/share/fonts/defoma/CID"
	FontPath     "/usr/share/fonts/defoma/TrueType"
  FontPath     "/usr/share/fonts/local"       # for terminus
  FontPath     "/home/thayer/.fonts"          # for local fonts
  FontPath     "/home/thayer/.fonts/bitmaps"  # for local bitmaps
EndSection

Section "Module"
	Load  "ddc"  # ddc probing of monitor
	Load  "dbe"
	Load  "dri"
	Load  "extmod"
	Load  "glx"
	Load  "bitmap" # load bitmap font backend
	Load  "type1" # load type1 font backend
	Load  "freetype"  # load ttf font backend
	Load  "record"
	Load  "synaptics"	# Synaptics Touchpad driver
EndSection

Section "ServerFlags"
###  Option      "AIGLX" "false"  # toggle AIGLX mode
	Option	    "AllowMouseOpenFail" "true"
  Option "AllowDeactivateGrabs" "on"  # break active keyboard/mouse grabs with C+A+Keypad-Divide
EndSection

Section "InputDevice"
	Identifier  "Dell Keyboard"
	Driver      "keyboard"
###	Driver      "kbd"
	Option	    "XkbRules" "xorg"
###	Option	    "XkbModel" "pc105"
	Option	    "XkbModel" "dell101"
	Option	    "XkbLayout" "us"
	Option	    "Autorepeat" "400 40"		# Repeat pause and speed
EndSection

Section "InputDevice"
	Identifier  "Logitech MX518"
	Driver      "mouse"
	Option	    "Device" "/dev/input/mice"
	Option	    "SendCoreEvents" "true"
	Option	    "Protocol" "ExplorerPS/2"	# options: ExplorerPS/2, IMPS/2, auto, USB (Exp. req'd for side-buttons)
	Option	    "Buttons" "5"
	Option	    "ZAxisMapping" "4 5"
	Option      "ButtonMapping" "1 2 3 8 9"
EndSection

Section "InputDevice"
	Identifier      "Synaptics Touchpad"
	Driver          "synaptics"
	Option  "Device"        "/dev/psaux"
	Option  "Protocol"      "auto-dev"
	Option  "LeftEdge"      "1700"
	Option  "RightEdge"     "5300"
	Option  "TopEdge"       "1700"
	Option  "BottomEdge"    "4200"
	Option  "FingerLow"     "25"
	Option  "FingerHigh"    "30"
	Option  "MaxTapTime"    "180"
	Option  "MaxTapMove"    "220"
	Option  "VertScrollDelta" "100"
	Option  "MinSpeed"      "0.10"
	Option  "MaxSpeed"      "0.20"
	Option  "AccelFactor" "0.0020"
	Option " VertTwoFingerScroll" "True"	#Virtual scroll when two fingers dragged up/down
	Option " HorizTwoFingerScroll" "True"	#Virtual scroll when two fingers dragged left/right
	Option  "SHMConfig"     "true"
EndSection

Section "Monitor"
	Identifier   "Monitor0"
	Option	    "VendorName" "Dell Inspiron 6400 LCD"
	Option	    "DPMS" "true"
	HorizSync    28.0 - 96.0
	VertRefresh  50.0 - 75.0
	DisplaySize 356 222	# 120 DPI @ 1680x1050	(calculated by: pixel width * 25.4 / dpi and pixel height *25.4 / dpi)
###	DisplaySize 444 278	# 96 DPI @ 1680x1050	(dimensions can also be found by shell: 'xrandr --query'  or 'xdpyinfo | grep dimension'
###	DisplaySize 331 212	# Actual display size in millimeters (approximately 13.0" x 8.3" )
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[0]"
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"
###	DisplaySize 356 222	# 120 DPI @ 1680x1050	(calculated by: pixel width * 25.4 / dpi and pixel height *25.4 / dpi)
	DisplaySize 444 278	# 96 DPI @ 1680x1050	(dimensions can also be found by shell: 'xrandr --query'  or 'xdpyinfo | grep dimension'
###	DisplaySize 331 212	# Actual display size in millimeters (approximately 13.0" x 8.3" )
EndSection

Section "Device"
	Identifier  "Card0"
	Driver      "vesa"
	VendorName  "All"
	BoardName   "All"
EndSection

Section "Device"
	Identifier	"aticonfig-Device[0]"
	Driver	"fglrx"
#	Option	"VideoOverlay" "on"	# aticonfig --overlay-type Xv automatically added this
#	Option	"OpenGLOverlay" "off"	# aticonfig --overlay-type Xv automatically added this
# EXPERIMENTAL SETTINGS ######################  
##  Option  "XAANoOffscreenPixmaps"  "true"  # fixes white pixel blocks on display
##	Option  "UseInternalAGPGart"	"no"	# fixes X ghosting/noise and known to fix suspend issues 
#	Option	"backingstore"  "true"	# enables support for backing store, improving performance
####	Option	"AllowGLXWithComposite" "true"	# Xorg.log says this is not used anyway
EndSection

Section "Screen"
# Full list of resolutions sorted by ratio can be found below.
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth     32
	SubSection "Display"
		Depth     1
		Modes    "1680x1050" "1600x1024" "1600x900" "1440x900" "1366x768" "1280x1024" "1280x800" "1152x768" "1024x768" "852x480" "800x600" "640x480" "320x240"
	EndSubSection
	SubSection "Display"
		Depth     4
		Modes    "1680x1050" "1600x1024" "1600x900" "1440x900" "1366x768" "1280x1024" "1280x800" "1152x768" "1024x768" "852x480" "800x600" "640x480" "320x240"
	EndSubSection
	SubSection "Display"
		Depth     8
		Modes    "1680x1050" "1600x1024" "1600x900" "1440x900" "1366x768" "1280x1024" "1280x800" "1152x768" "1024x768" "852x480" "800x600" "640x480" "320x240"
	EndSubSection
	SubSection "Display"
		Depth     15
		Modes    "1680x1050" "1600x1024" "1600x900" "1440x900" "1366x768" "1280x1024" "1280x800" "1152x768" "1024x768" "852x480" "800x600" "640x480" "320x240"
	EndSubSection
	SubSection "Display"
		Depth     16
		Modes    "1680x1050" "1600x1024" "1600x900" "1440x900" "1366x768" "1280x1024" "1280x800" "1152x768" "1024x768" "852x480" "800x600" "640x480" "320x240"
	EndSubSection
	SubSection "Display"
		Depth     24
		Modes    "1680x1050" "1600x1024" "1600x900" "1440x900" "1366x768" "1280x1024" "1280x800" "1152x768" "1024x768" "852x480" "800x600" "640x480" "320x240"
	EndSubSection
	SubSection "Display"
		Depth     32
		Modes    "1680x1050" "1600x1024" "1600x900" "1440x900" "1366x768" "1280x1024" "1280x800" "1152x768" "1024x768" "852x480" "800x600" "640x480" "320x240"
	EndSubSection
EndSection

Section "Screen"
	Identifier	"aticonfig-Screen[0]"
	Device	"aticonfig-Device[0]"
	Monitor	"aticonfig-Monitor[0]"
	DefaultDepth	24
	SubSection	"Display"
		Viewport	0 0
		Depth	24
	EndSubSection
EndSection

Section "DRI"
	Mode	0666
EndSection

Section "Extensions"
###	Option	"Composite" "Enable"	# Confirm with $ xdpyinfo | grep Composite
###	Option	"DAMAGE" "Enable"	#DAMAGE/XDAMAGE redraws only parts of the screen which have been changed (damaged).
###	Option	"RENDER" "Enable"	#RENDER is not needed. Enabled by default, it allows things like antialiased fonts
EndSection


#
# 16:10 is standard ratio for X1400 graphics card
# 16:10 Resolutions: "1680x1050" "1600x1024" "1440x900" "1280x800"
# 16:9 Resolutions: "1600x900" "1366x768" "852x480"
# 4:3 Resolutions: "1280x1024" "1152x864" "1152x768" "1024x768" "800x600" "640x480" "320x240"
#