All pastes #519852 Raw Edit

Miscellany

public text v1 · immutable
#519852 ·published 2007-05-29 19:45 UTC
rendered paste body

Section "Files"
	FontPath	"unix/:7100"			# local font server
	# if the local font server has problems, we can fall back on these
	FontPath	"/usr/share/fonts/X11/misc"
	FontPath	"/usr/share/fonts/X11/misc"
	FontPath	"/usr/lib/X11/fonts/misc"
#	FontPath	"/usr/share/fonts/X11/cyrillic"
#	FontPath	"/usr/lib/X11/fonts/cyrillic"
#	FontPath	"/usr/lib/X11/fonts/100dpi/:unscaled"
#	FontPath	"/usr/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/Type1"
	FontPath	"/usr/share/fonts/X11/Type1"
	FontPath	"/usr/lib/X11/fonts/Type1"
#	FontPath	"/usr/share/fonts/X11/CID"
#	FontPath	"/usr/lib/X11/fonts/CID"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/lib/X11/fonts/100dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
	FontPath	"/usr/lib/X11/fonts/75dpi"
EndSection

Section "Module"
	Load	"freetype"
	Load	"bitmap"
	Load	"dbe"
	Load	"ddc"
	Load	"extmod"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"type1"
#	Load	"v4l"
	Load	"vbe"
EndSection

Section "InputDevice"
	Identifier	"Keyboard1"
	Driver		"keyboard"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc105"
	Option		"XkbLayout"	"es"
#	Option		"XkbOptions" "ctrl:nocaps" 
EndSection

#Section "InputDevice"
#	Identifier	"Mouse1"
#	Driver		"mouse"
#	Driver		"evdev"
#	Option		"CorePointer"
#	Option		"Device"		"/dev/input/mice"
#	Option		"Protocol"		"ImPS/2"
#	Option		"ZAxisMapping"		"4 5"
#	Option		"Buttons"		"6"
#	Option      "DragLockButtons"       "6"
#EndSection

#Section "InputDevice"
#	Identifier 	"keyboard"
#	Driver 		"evdev"
#	Option 		"evBits"  "+1"
#	Option 		"keyBits" "~1-255 ~352-511"
#	Option 		"Pass"    "3"
#	Option 		"XkbLayout" "es"
#	Option		"XkbModel"	"pc105"
#	Option		"XkbOptions" "ctrl:nocaps" 
#EndSection
#

Section "InputDevice"
	Identifier 	"Logitech"
	Driver      "evdev"
	Option 		"Name" "Logitech USB-PS/2 Optical Mouse"
EndSection

Section "InputDevice"
	Identifier 	"Trackball"
	Driver      "evdev"
	Option 		"Name" "Kensington      Kensington Expert Mouse"
	Option      "ButtonMapping" "1 6 2 4 5 2"
EndSection

#Section "InputDevice"
#	Identifier 	"mouse"
#	Driver 		"evdev"
#	Option 		"evBits"  "+1-2"
#	Option 		"keyBits" "~272-287"
#	Option 		"relBits" "~0-2 ~6 ~8"
#	Option 		"Pass"    "3"
#EndSection

Section "Monitor"
	Identifier	"Monitor"
	Option		"DPMS"
	HorizSync 31-83
	VertRefresh 56-76
        Option   "UseEdidDpi"   "FALSE"
        Option   "DPI"   "96 x 96"
EndSection

######################################################
#Server Layouts#######################################
######################################################

Section "ServerLayout"
    	Identifier  "twinview"
    	Screen      "DualScreen"
    	InputDevice "Keyboard1" "CoreKeyboard"
		InputDevice "Logitech"	"CorePointer"
		InputDevice "Trackball" "AlwaysCore"
    	#InputDevice "Mouse1" "CorePointer"
#    	InputDevice "mouse" "CorePointer"
#    	InputDevice "keyboard" "CoreKeyboard"
EndSection

Section "ServerLayout"
    	Identifier  "single"
    	Screen      "SingleScreen"
    	InputDevice "Keyboard1" "CoreKeyboard"
		InputDevice "Logitech"	"CorePointer"
		InputDevice "Trackball" "AlwaysCore"
#    	InputDevice "Mouse1" "CorePointer"
#    	InputDevice "mouse" "CorePointer"
#    	InputDevice "keyboard" "CoreKeyboard"
EndSection


##########################################################################
# Graphics device section(s)
##########################################################################

Section "Device"
	Identifier "NVTwinView"
	VendorName "nvidia"
	Driver "nvidia"
	# update this with the PCI id of your card.  Consult the output
	# of the 'lspci' command. The  BusID is usually optional when
	# only using one graphics card.
#	BusID       "PCI:1:0:0"

	# sample twinview setup
	Option "TwinView"
	# be sure to replace the HorizSync and VertRefresh with correct values
	# for your monitor!  
	Option "TwinViewOrientation"      "RightOf"
	Option "MetaModes"                "1280x1024,1280x1024; 1024x768,1024x768"
	Option "ConnectedMonitor"         "crt,crt"



	### Available Driver options are:-
	#Option     "hw_cursor" "true"
	#Option "HWCursor" "off"
	#Option     "NoAccel"
#	Option     "ShowCache"
#	Option     "ShadowFB" "true"
#	Option     "UseFBDev"
	Option     "RenderAccel" "True"
#	Option     "Rotate" "true"
	Option          "NoLogo"

	Option "AllowGLXWithComposite" "true"
	Option "backingstore" "true"

	Option "Coolbits"	"1"
																    
EndSection

Section "Device"
	Identifier "NVSingle"
	VendorName "nvidia"
	Driver "nvidia"
	# update this with the PCI id of your card.  Consult the output
	# of the 'lspci' command. The  BusID is usually optional when
	# only using one graphics card.
#	BusID       "PCI:1:0:0"

	### Available Driver options are:-
	#Option     "hw_cursor" "true"
	#Option "HWCursor" "off"
	#Option     "NoAccel"
#	Option     "ShowCache"
#	Option     "ShadowFB" "true"
#	Option     "UseFBDev"
	Option     "RenderAccel" "True"
#	Option     "Rotate" "true"
	Option          "NoLogo"

	Option "AllowGLXWithComposite" "true"
	Option "backingstore" "true"

	Option "Coolbits"	"1"
																    
EndSection

##########################################################################
# Screen sections
##########################################################################


#
# screen section for an nvidia AGP TwinView card
# (look at the appropriate Device section)
#
Section "Screen"
    Identifier "DualScreen"
    Device "NVTwinView"
    Monitor "Monitor"
    DefaultColorDepth 24
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
	Option		"AddARGBGLXVisuals"     "True"
	Option 		"AllowGLXWithComposite"	"True"
	Option		"RenderAccel"				"True"

EndSection

Section "Screen"
    Identifier "SingleScreen"
    Device "NVSingle"
    Monitor "Monitor"
    DefaultColorDepth 24
    Subsection "Display"
        Depth       16
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
    Subsection "Display"
        Depth       24
        Modes       "1280x1024" "1024x768" "800x600" "640x480"
    EndSubsection
EndSection


Section "Extensions"
	Option "Composite" "Enable"
	Option "XEVIE" "Enable"
EndSection