All pastes #428018 Raw Edit

Unnamed

public text v1 · immutable
·published 2007-04-07 05:59 UTC
rendered paste body
# ***************************************************
# Module section -- this section is used to specify
# which dynamically loadable modules to load.
# ***************************************************

Section "Module"

# This loads the DBE extension module.

	Load	"dbe"	# Double buffer extension

# This loads the miscellaneous extensions module, and disables
# initialisation of the XFree86-DGA extension within that module.
	SubSection	"extmod"
		Option	"omit XFree86-DGA"	# don't initialize the DGA extension
	EndSubSection

# This loads the font modules
	Load	"type1"
#	Load	"speedo"
	Load	"freetype"
#	Load	"xtt"

# This loads the GLX module
	Load	"glx"
# This loads the DRI module
#	Load	"dri"
# Disable for AIGLX
#	Load	"GLcore"
EndSection


# *****************************************************************
# Files section. This allows default font and rgb paths to be set
# *****************************************************************

Section "Files"

# 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.

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

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)

	FontPath	"/usr/share/fonts/misc/"
	FontPath	"/usr/share/fonts/TTF/"
	FontPath	"/usr/share/fonts/Type1/"
#	FontPath	"/usr/share/fonts/CID/"
	FontPath	"/usr/share/fonts/75dpi/"
	FontPath	"/usr/share/fonts/100dpi/"
	FontPath	"/usr/share/fonts/local/"
#	FontPath	"/usr/share/fonts/Speedo/"
#	FontPath	"/usr/share/fonts/TrueType/"
	FontPath	"/usr/share/fonts/freefont/"
	FontPath	"/usr/share/fonts/sharefonts/"
	FontPath	"/usr/share/fonts/corefonts/"
	FontPath	"/usr/share/fonts/ttf-bitstream-vera/"
	FontPath	"/usr/share/fonts/artwiz/"
	FontPath	"/usr/share/fonts/unifont/"

# The module search path. The default path is shown here.

#	ModulePath	"/usr/X11R6/lib/modules"

EndSection

# ***********************************************************
# Server flags section.
# ***********************************************************

Section "ServerFlags"

# Uncomment this to cause a core dump at the spot where a signal is
# received. This may leave the console in a unusable state, but may
# provide a better stack trace in the core dump to aid in debugging


#	Option	"NoTrapSignals"

# Uncomment this to disable the <Ctrl><Alt><Fn> VT switch sequence
# (where n is 1 through 12). THis allows clients to receive these key
# events.

#	Option	"DontVTSwitch"

# Uncomment this to disable the <Ctrl><Alt><BS> server abort sequence
# This allows clients to receive this key event.

#	Option	"DontZap"

# Uncomment this to disable the <Ctrl><Alt><KP_+>/<KP_-> mode switching
# sequences. This allows clients to receive these key events.

#	Option	"DontZoom"

# Uncomment this to disable tuning with the xvidtune client. With
# ith the client can still run and fetch card and monitor attributes,
# but it will not be allowed to change them. If it tries it will
# receive a protocol error.

#	Option	"DisableVidModeExtension"

# Uncomment this to enable the use of a non-local xvidtune client.

#	Option	"AllowNonLocalXvidTune"

# Uncomment this to disable dynamically modifying the input device
# (mouse and keyboard) settings.

#	Option	"DisableModInDev"

# Uncomment this to enable the use of a non-local client to
# change the keyboard or mouse settings (currently only xset).

#	Option	"AllowNonLocalModInDev"

EndSection

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

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

Section "InputDevice"

	Identifier	"Keyboard1"
	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 customize 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"	"pc105"
# 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 layour can be obtained with:
#	Option	"Xkblayout"	"de"

# These are the default XKB settings for Xorg
#	Option	"XkbRules"	"xorg"
#	Option	"XkbModel"	"pc105"
#	Option	"XkbLayout"	"us"
#	Option	"XkbVariant"	""
#	Option	"XkbOptions"	""

#	Option "XkbDisable"

	Option	"XkbRules"	"xorg"
	Option	"XkbModel"	"pc104"
	Option	"XkbLayout"	"us"
#	Option	"XkbVariant"	"n"

EndSection

# ************************************************************
# Core Pointer's InputDevice section
# ************************************************************

Section "InputDevice"

# Identifier and driver

	Identifier	"Mouse1"
	Driver		"mouse"
	Option	"Protocol"	"Auto"
	Option	"Device"	"/dev/input/mice"

# Mouse-speed setting for PS/2 mouse.

#	Option	"Resolution"	"256"

# When using XQUEUE, comment out the above two lines and uncomment
# the following line.

#	Option	"Protocol"	"Xqueue"

# Baudrate and SampleRate are only for some Logitech mice. In
# almost every case these lines should be omitted.

#	Option "BaudRate"	"9600"
#	Option	"SampleRate"	"150"

# Emulate3Buttons is an option for 2-button Microsoft mice
# Emulate3Timeout is the timeout in milliseconds (default is 50ms)

#	Option	"Emulate3Buttons"
#	Option	"Emulate3Timeout"	"50"

# ChordMiddle is an option for some 3-button Logitech mice

	Option "ChordMiddle"
	Option	"ZAxisMapping"	"4 5"

EndSection

# This is for my laptop's USB mouse
# Section "InputDevice"
#	Identifier	"Mouse2"
#	Driver		"mouse"
#	Option	"Protocol"	"Auto"
#	Option	"Device"	"/dev/mouse2"
# EndSection

# **************************************************************
# Monitor section
# **************************************************************

# Any number of monitor sections may be present

Section "Monitor"

	Identifier	"Laptop LCD"
	VendorName	"Asus"
	Option		"DPMS"

EndSection

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

# Any number of graphics device sections may be present

# Standard VGA Device:

Section "Device"
	Identifier	"Standard VGA"
	VendorName	"Unknown"
	BoardName	"Unknown"
	Driver		"vga"
EndSection

# My ATI Mobility Radeon x700

Section "Device"
	Identifier	"ATI Radeon Mobility x700"
#	Driver		"radeon"
#	Driver		"ati"
	Driver		"fglrx"
	Option		"RenderAccel"	"true"
#	Option		"XAANoOffscreenPixmaps"	"true"
#	Option		"DRI"	"true"
#	VideoRam	""
	Option		"UseInternalAGPGart" "no"
	Option		"KernelModuleParm" "agplock=0"
#	Option		"MonitorLayout"	"LVDS"
#	Option		"VideoOverlay"	"on"
#	Option		"DynamicClocks"	"on"
#	Option		"AccelMethod"	"exa"
#	Option		"MigrationHeuristic"	"greedy"
#	Option		"FBTexPercent"	"50"
#	Option		"ColorTiling"	"on"
#	Option		"EnablePageFlip"	"off"
#	Option		"GARTSize"	"64"
	VendorName	"ATI Technologies Inc"
	BoardName	"Radeon Mobility X700 (PCIE)"
#	BusID		"PCI:1:0:0"
EndSection

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

# Any number of screen sections may be present.

Section "Screen"
	Identifier	"Screen 1"
	Device		"ATI Radeon Mobility x700"
	Monitor		"Laptop LCD"
	DefaultDepth	24

	SubSection "Display"
	Depth	8
	Modes	"1680x1050" "1400x1050" "1360x1050" "1360x1024" "1360x768" "1280x1024" "1280x960" "1280x800" "1280x768" "1280x720" "1152x864" "1024x768" "800x600" "640x480"
	ViewPort	0 0
	EndSubSection
	SubSection "Display"
	Depth	16
	Modes	"1680x1050" "1400x1050" "1360x1050" "1360x1024" "1360x768" "1280x1024" "1280x960" "1280x800" "1280x768" "1280x720" "1152x864" "1024x768" "800x600" "640x480"
	ViewPort	0 0
	EndSubSection
	SubSection "Display"
	Depth	24
	Modes	"1680x1050" "1400x1050" "1360x1050" "1360x1024" "1360x768" "1280x1024" "1280x960" "1280x800" "1280x768" "1280x720" "1152x864" "1024x768" "800x600" "640x480"
	ViewPort	0 0
	EndSubSection
EndSection


# ***********************************************************
# ServerLayout sections
# ***********************************************************

Section "ServerLayout"

# The Identifier line must be present
	Identifier "Simple Layout"
	Screen	"Screen 1"
	InputDevice	"Mouse1"	"CorePointer"
	InputDevice	"Keyboard1"	"CoreKeyboard"
#	Option		"AIGLX"		"true"
EndSection


# Section "DRI"
#	Group	0
#	Mode	0666
# EndSection

# Section "Extensions"
#	Option		"Composite"	"Enable"
# EndSection