User:Japsu/xorg.conf for X60s

From ThinkWiki
Jump to: navigation, search

This is my X.org configuration for X11R7.1 on my ThinkPad X60s. See also Installing Gentoo on a Thinkpad X60s.

xorg.conf

Section "Module"

	Load  "dbe"  	# Double buffer extension
	Load	"bitmap"
	Load	"ddc"
	Load	"dri"
	Load	"extmod"
	Load	"freetype"
	Load	"glx"
	Load	"int10"
	Load	"record"
	Load	"type1"
	Load	"vbe"

	SubSection  "extmod"
		Option    "omit xfree86-dga"   # don't initialise the DGA extension
	EndSubSection

EndSection


Section "Files"
	FontPath     "/usr/share/fonts/misc/"
	FontPath     "/usr/share/fonts/TTF/"
	FontPath     "/usr/share/fonts/OTF"
	FontPath     "/usr/share/fonts/Type1/"
	FontPath     "/usr/share/fonts/CID/"
	FontPath     "/usr/share/fonts/100dpi/"
	FontPath     "/usr/share/fonts/75dpi/"
EndSection


Section "ServerFlags"
EndSection


Section "InputDevice"
	Identifier	"Keyboard1"
	Driver	"kbd"
	Option "AutoRepeat" "500 30"
	Option "XkbRules"	"xorg"
	Option "XkbModel"	"pc105"
	Option "XkbLayout"	"fi"
EndSection

Section "InputDevice"
	Identifier	"Mouse1"
	Driver	"mouse"
	Option "Protocol"    "Auto"	# Auto detect
	Option "Device"      "/dev/input/mice"
	Option "ZAxisMapping"   "4 5 6 7"
	Option "Emulate3Buttons"
EndSection


Section "Monitor"
	Identifier  "My Monitor"
	HorizSync   31.5 - 48.5
	VertRefresh 43-72
	Option "DPMS" "true"
EndSection


Section "Device"
	Identifier  	"** Intel i810 (generic)               [i810]"
	Driver      	"i810"
	Option 		"RenderAccel" "true"
	Option 		"AllowGLXWithComposite" "true" 
	Option 		"AccelMethod"	"EXA"
EndSection


Section "Screen"
	Identifier  "Screen 1"
	Device      "** Intel i810 (generic)               [i810]"
	Monitor     "My Monitor"
	DefaultDepth 24
	Subsection "Display"
		Depth       8
		Modes       "1024x768" "800x600" "640x480"
		ViewPort    0 0
	EndSubsection
		Subsection "Display"
		Depth       16
		Modes       "1024x768" "800x600" "640x480"
		ViewPort    0 0
	EndSubsection
	Subsection "Display"
	Depth       24
		Modes       "1024x768" "800x600" "640x480"
		ViewPort    0 0
	EndSubsection
EndSection


Section "ServerLayout"
	Identifier  "Simple Layout"
	Screen "Screen 1"
	Option "BlankTime" "10"
	Option "StandbyTime" "10"
	Option "SuspendTime" "10"
	Option "OffTime" "10"
	InputDevice "Mouse1" "CorePointer"
	InputDevice "Keyboard1" "CoreKeyboard"
EndSection

Section "DRI"
	Mode 0666
EndSection

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

Category:X60s