EeePC/xorg.conf

From SlackWiki
Revision as of 02:13, 3 June 2009 by Erik (talk | contribs) (Copy from old)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Back to Main Article

Section "ServerLayout"
	Identifier     "Slackware"
	Screen      0  "Screen1"
	InputDevice    "keyboard"
	InputDevice    "mouse"
	InputDevice    "synaptics" # make sure to have the synaptics driver
EndSection

Section "Files"
	ModulePath   "/usr/lib/xorg/modules" # these paths had to be fixed
	FontPath     "/usr/share/fonts/misc"
	FontPath     "/usr/share/fonts/Type1"
	FontPath     "/usr/share/fonts/75dpi"
	FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
EndSection

Section "Module"
	Load  "glx"
	Load  "dri"
	Load  "extmod"
	Load  "synaptics"
EndSection

Section "ServerFlags"
	Option		"AllowMouseOpenFail"
	Option		"BlankTime" "1"            # power saving, but kinda annoying, minutes.
	Option		"DontVTSwitch"	"false"    # turn this off.
	Option		"AIGLX"   "false"
EndSection

Section "InputDevice"
	Identifier  "keyboard"
	Driver      "kbd"
	Option	    "CoreKeyboard"
	Option	    "XkbRules" "xorg"
	Option      "XkbModel" "pc105"
	Option      "XkbLayout" "us"
	Option      "XkbVariant" "basic"
EndSection

Section "InputDevice"
	Identifier  "mouse"
	Driver      "mouse"
	Option	    "Device" "/dev/input/mice"
	Option	    "Protocol" "IMPS/2"
	Option	    "Emulate3Buttons" "yes"         
	Option	    "ZAxisMapping" "4 5"
	Option	    "CorePointer"
EndSection

Section "InputDevice"
	Identifier  "synaptics"
	Driver      "synaptics"
	Option      "Device"           "/dev/psaux"
	Option      "Protocol"         "auto-dev"
	Option      "LeftEdge"         "1400"
	Option      "RightEdge"        "5900"
	Option      "TopEdge"          "1400"
	Option      "BottomEdge"       "4500"
	Option      "PalmDetect"       "0"
	Option      "SHMConfig"        "true"
	Option      "SendCoreEvents"   "yes"
	Option      "HorizScrollDelta" "0"
	Option      "VertScrollDelta"  "155"
	Option      "RBCornerButton"   "0"
	Option      "RTCornerButton"   "0"
	Option      "TapButton2"          "0"
	Option      "MinSpeed"         "0.095"
	Option      "MaxSpeed"         "0.38"
	Option      "VertTwoFingerScroll" "1"
	Option      "VertEdgeScroll"      "0"
	Option      "HorizEdgeScroll"     "0"
EndSection

Section "Monitor"
	Identifier   "Monitor1"
	VendorName   "ASUS"
	ModelName    "eeePC P701"
	Modeline     "800x480"  29.58  800 816 896 992  480 481 484 497  -HSync +Vsync # 60 Hz
	Modeline     "1024x600"  48.96  1024 1064 1168 1312  600 601 604 622  -HSync +Vsync
EndSection

Section "Monitor"
	Identifier   "TV"
	VendorName   "ASUS"
	ModelName    "eeePC P701"
	Option       "Ignore" "true"
EndSection

Section "Device"
	Identifier  "Device1"
	Driver      "intel"
	VendorName  "Intel Corporation"
	BoardName   "Mobile 915GM/GMS/910GML Express Graphics Controller"
	BusID       "PCI:0:2:0"
	Option      "Monitor-VGA"  "Monitor1"
	Option      "Monitor-LVDS" "Monitor1"
	Option      "Monitor-TV"   "TV"
	Option      "XAANoOffScreenPixmaps" "true"
	Option      "AccelMethod" "XAA"
EndSection

Section "Screen"
	Identifier "Screen1"
	Device     "Device1"
	DefaultDepth     16
	SubSection "Display"
		Depth     8
		Virtual  1024 768
	EndSubSection
	SubSection "Display"
		Depth     15
		Virtual  1024 768
	EndSubSection
	SubSection "Display"
		Depth     16
		Virtual  1024 768
	EndSubSection
	SubSection "Display"
		Depth     24
		Virtual  1024 768
	EndSubSection
EndSection

Section "DRI"
	Mode         0666
EndSection

Section "Extensions"
	Option	    "Composite" "Disable"
EndSection