All pastes #406425 Raw Edit

ccamacho

public text v1 · immutable
·published 2007-03-22 12:48 UTC
rendered paste body
# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section "ServerFlags"
	# Dual screen (high-res on external screen)
	Option		"DefaultServerLayout"	"Xinerama"
	
	# Vesa ... compatible anything ;)  just in case.
	#Option		"DefaultServerLayout"	"Vesa Layout"
	
	# Xen (high resolution on CRT. Not dual screen, no i915 patching)
	#Option		"DefaultServerLayout"	"CRT Only Layout"
	
	#Cloned display on both LCD and CRT (at 1024x768).
	#(It's the only mode where you can disconnect you external screen).
	#Option		"DefaultServerLayout"	"Default Layout"
EndSection


Section "Files"
	FontPath	"/usr/share/fonts/X11/misc"
	FontPath	"/usr/X11R6/lib/X11/fonts/misc"
	FontPath	"/usr/share/fonts/X11/cyrillic"
	FontPath	"/usr/X11R6/lib/X11/fonts/cyrillic"
	FontPath	"/usr/share/fonts/X11/100dpi/:unscaled"
	FontPath	"/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/75dpi/:unscaled"
	FontPath	"/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
	FontPath	"/usr/share/fonts/X11/Type1"
	FontPath	"/usr/X11R6/lib/X11/fonts/Type1"
	FontPath	"/usr/share/fonts/X11/100dpi"
	FontPath	"/usr/X11R6/lib/X11/fonts/100dpi"
	FontPath	"/usr/share/fonts/X11/75dpi"
	FontPath	"/usr/X11R6/lib/X11/fonts/75dpi"
	# path to defoma fonts
	FontPath	"/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection

Section "Module"
	Load	"i2c"
	Load	"bitmap"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"vbe"
EndSection

Section "Extensions"

	#FP add
 	#Option 	"Composite" "Enable"
	#FP "composite" seems to disable GLX by default (avoid bugs)
	## in "Device" section, use: Option 	"AllowGLXWithComposite" "true"
EndSection

Section "InputDevice"
	Identifier	"Generic Keyboard"
	Driver		"kbd"
	Option		"CoreKeyboard"
	Option		"XkbRules"	"xorg"
	Option		"XkbModel"	"pc104"
	Option		"XkbLayout"	"en"
EndSection

Section "InputDevice"
	Identifier	"Configured Mouse"
	Driver		"mouse"
	Option		"CorePointer"
	Option		"Device"		"/dev/input/mice"
	Option		"Protocol"		"ImPS/2"
	Option		"Emulate3Buttons"	"true"

	#FP add:
	Option		"ZAxisMapping"		"4 5"
EndSection

Section "InputDevice"
	Identifier	"Synaptics Touchpad"
	Driver		"synaptics"
	Option		"SendCoreEvents"	"true"
	Option		"Device"		"/dev/psaux"
	Option		"Protocol"		"auto-dev"
	Option		"HorizScrollDelta"	"0"

	#FP enable this to let Fn-F8 work
	Option          "SHMConfig"		"on"
EndSection

Section "Monitor"
	Identifier	"Generic Monitor"
	Option		"DPMS"
EndSection

Section "Monitor"
        Identifier      "CMV 938D"
	HorizSync	28-72
	VertRefresh	43-60
	Option		"DPMS"
EndSection

# ############ VESA LAYOUT ################

Section "Device"
	Identifier	"Vesa compatible Controller"
	Driver		"vesa"
#	BusID		"PCI:0:2:0"

	#FP add (as the name implies... clone CRT screen on LCD)
#	Option		"MonitorLayout"		"CRT,LFP"
#	Option          "Clone" "true"

EndSection


Section "Screen"
	Identifier	"Vesa Screen"
	Device		"Vesa compatible Controller"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		1
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		4
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		8
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		15
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		16
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Vesa Layout"
	Screen		"Vesa Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Synaptics Touchpad"
EndSection

# ############ DEFAULT LAYOUT ################

Section "Device"
	Identifier	"Intel 945 Graphics Controller"
	Driver		"i810"
	BusID		"PCI:0:2:0"

	#FP add (as the name implies... clone CRT screen on LCD)
	Option		"MonitorLayout"		"CRT,LFP"
	Option          "Clone" "true"
	
	#If using composite, try using this too
	#Option		"AllowGLXWithComposite" "true"
EndSection


Section "Screen"
	Identifier	"Default Screen"
	Device		"Intel 945 Graphics Controller"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		16
		Modes		"1024x768"
	EndSubSection
	SubSection "Display"
		Depth		24
		Modes		"1024x768"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"Default Layout"
	Screen		"Default Screen"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Synaptics Touchpad"
EndSection
# ############ CRT LAYOUT ################

Section "Device"
	Identifier	"Intel 945 Graphics Controller -CRT Only"
	Driver		"i810"
#	BusID		"PCI:0:2:0"

	#FP add (as the name implies... clone CRT screen on LCD)
	Option		"MonitorLayout"		"CRT,NONE"
#	Option          "Clone" "true"

EndSection


Section "Screen"
	Identifier	"Default Screen -CRT Only"
	Device		"Intel 945 Graphics Controller -CRT Only"
        Monitor         "CMV 938D"
	#Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"1920x1200v1" "1920x1200v2" "1920x1200" "1600x1200" "1280x1024" "1024x768"
	EndSubSection
EndSection

Section "ServerLayout"
	Identifier	"CRT Only Layout"
	Screen		"Default Screen -CRT Only"
	InputDevice	"Generic Keyboard"
	InputDevice	"Configured Mouse"
	InputDevice	"Synaptics Touchpad"
EndSection
# ################# XINERAMA #####################

Section "Device"
	Identifier	"Intel 945 Graphics Controller Screen0"
	Driver		"i810"
	BusID		"PCI:0:2:0"
	Option          "MonitorLayout" 	"CRT,LFP"
	Screen          0
EndSection

Section "Device"
	Identifier	"Intel 945 Graphics Controller Screen1"
	Driver		"i810"
	BusID		"PCI:0:2:0"
	Screen          1
EndSection

Section "Screen"
	Identifier	"InternalScreen14"
	Device		"Intel 945 Graphics Controller Screen0"
	Monitor		"Generic Monitor"
	DefaultDepth	24
	SubSection "Display"
		Depth		24
		Modes		"1024x768"
	EndSubSection
EndSection

Section "Screen"
        Identifier      "ExternalScreen24"
        Device          "Intel 945 Graphics Controller Screen1"
        Monitor         "CMV 938D"
        DefaultDepth    24
        SubSection "Display"
                Depth           24
                Modes           "1440x900"#"1920x1200" "1280x1024" "1024x768"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Xinerama"
        Screen          0 "InternalScreen14" 0 0
        Screen          1 "ExternalScreen24" RightOf "InternalScreen14"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
        InputDevice     "Synaptics Touchpad"
        Option          "Xinerama" "true"
EndSection
# ################ MISC ################"
Section "DRI"
	Mode	0666
EndSection