#xorg.conf (Gentoo, HP nx7400)

Section "ServerLayout"
	Identifier	"X.Org Configured"
	Screen	0 	"Screen0" 0 0
	InputDevice	"Keyboard0" "CoreKeyboard"
	InputDevice	"Synaptics Touchpad"
	InputDevice	"Mouse0" "CorePointer"
        Option		"AIGLX" "true"
EndSection

Section "ServerFlags"
	Option		"AllowMouseOpenFail" "true"
	Option		"DontVTSwitch" "false"
	Option		"Clone" "true"
EndSection

Section "Module"
	Disable "dbe"
	Disable "dri"
	Disable "glx"
	Disable "vbe"
	Load	"vbe"
	Load	"bitmap"
	Load	"freetype"
	Load	"extmod"
	Load    "glx"
	Load 	"dri"
	Load	"int10"
EndSection

Section "InputDevice"
        Identifier  	"Keyboard0"
        Driver      	"kbd"
        Option		"CoreKeyboard"
        Option		"XkbRules" "xorg"
        Option          "XkbModel" "hpi6"
        Option		"XkbLayout" "us,cz_qwerty"
        Option		"XkbOptions" "grp:alt_shift_toggle"
EndSection

Section "InputDevice"
	Identifier	"Mouse0"
	Driver		"mouse"
	Option		"Protocol" "auto"
	Option		"Device" "/dev/input/mice"
	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"
#        Option  	"UseShm" "true"
#	Option  	"SHMConfig" "on"
#	Option		"MaxTapTime" "0"
EndSection

Section "Monitor"
	Identifier	"Monitor0"
	HorizSync	30.0 - 83.0
	VertRefresh	56.0 - 76.0
	Option		"DPMS"
EndSection

Section "Device"
	Identifier "intel"
        Driver     "intel"
	Option          "MonitorLayout" "CRT,LFP"
	Option          "DRI"     "true"
	Option          "XAANoOffscreenPixmaps" "true"
EndSection

Section "Screen"
	Identifier	"Screen0"
	Device	"Card0"
	Monitor	"Monitor0"
	DefaultDepth 24
	
	Option "AddARGBGLXVisuals" "True"
	Option "DisableGLXRootClipping" "True"
	SubSection "Display"
		Virtual 1280 800
		Viewport 0 0
		
	EndSubSection
EndSection

Section "DRI"
	Group 0
	Mode 0666
EndSection

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