|
|

楼主 |
发表于 2009-8-22 10:40:20
|
显示全部楼层
我的xorg.conf,适合macbook(3,1)
macbook ~ # cat /etc/X11/xorg.conf
Section "ServerLayout"
Identifier "X.org Configured"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard" "CoreKeyboard"
InputDevice "Synaptics Touchpad" #"CorePointer"
InputDevice "USB Mouse" #"SendCoreEvents"
Option "AIGLX" "true"
EndSection
Section "Files"
RgbPath "/usr/share/X11/rgb"
ModulePath "/usr/lib/xorg/modules"
# FontPath "/usr/share/fonts/misc"
# FontPath "/usr/share/fonts/100dpi:unscaled"
# FontPath "/usr/share/fonts/75dpi:unscaled"
FontPath "/usr/share/fonts/TTF"
# FontPath "/usr/share/fonts/Type1"
EndSection
Section "Module"
Load "glx"
# Load "GLcore"
Load "record"
Load "dbe"
# Load "xtrap"
Load "extmod"
Load "dri"
# Load "freetype"
Load "synaptics"
EndSection
Section "Extensions"
Option "Composite" "Enable"
EndSection
#Section "InputDevice"
# Identifier "Keyboard0"
# Driver "keyboard"
# Option "CoreKeyboard"
# Option "XkbRules" "xorg"
# #Option "XkbModel" "pc105"
# Option "XkbLayout" "us"
# Option "XkbVariant" "intl"
#EndSection
Section "InputDevice"
Identifier "Keyboard"
Driver "kbd"
EndSection
Section "InputDevice"
Identifier "USB Mouse"
Driver "mouse"
Option "CorePointer"
Option " rotocol" "auto"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5 6 7"
EndSection
Section "InputDevice"
# updated 2007-12-07
# use command "synclient -m 1" to see raw output
# common stuff
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option " rotocol" "auto-dev"
Option "SHMConfig" "on"
# not using edge scrolling
Option "HorizEdgeScroll" "0"
Option "VertEdgeScroll" "0"
# use two finger scrolling
Option "VertTwoFingerScroll" "1"
Option "HorizTwoFingerScroll" "1" # set to 0 if you don't want horizontal scrolling
# scroll speed, lower is faster
Option "HorizScrollDelta" "15"
Option "VertScrollDelta" "15"
# minimum pressure motion factor
Option " ressureMotionMinZ" "10"
# touch and untouch thresholds, higher numbers if you like to push hard
Option "FingerLow" "10"
Option "FingerHigh" "20" # change to 30 or 40 if you like
# borders based on output from synclient
Option "LeftEdge" "20"
Option "RightEdge" "1200"
Option "TopEdge" "20"
Option "BottomEdge" "370"
# speeds, smaller number for a slower mouse
Option "MinSpeed" "1" # 0.5 is very slow, 1.5 is very fast
Option "MaxSpeed" "1.4" # up to 1.5 works ok
Option "AccelFactor" "0.10"
# tap times, change to suit your tapping habits
#Option "MaxTapMove" "100"
#Option "MaxTapTime" "100"
#Option "MaxDoubleTapTime" "200"
# don't change these or two finger tap stops working
#Option "TapButton2" "3"
#Option "TapButton3" "2"
# must be commented out or normal tapping wont work
#Option "TapButton1" "0"
#Tapping the top right-hand corner will trigger a right click
Option "Emulate3Buttons" "true"
Option "LBCornerButton" "2"
Option "RBCornerButton" "3"
#An ordinary tap will not trigger a click
Option "TapButton1" "0"
Option "TapButton2" "0"
Option "TapButton3" "0"
# needed for disabled while typing fix
#Option "SHMConfig" "on"
EndSection
Section "Monitor"
#DisplaySize 290 180 # mm
Identifier "Monitor0"
VendorName "APP"
ModelName "Color LCD"
Option "DPMS"
EndSection
Section "Device"
Identifier "Card0"
### Available Driver options are:-
### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
### [arg]: arg optional
#Option "NoAccel" # [<bool>]
#Option "SWcursor" # [<bool>]
#Option "ColorKey" # <i>
#Option "CacheLines" # <i>
#Option "Dac6Bit" # [<bool>]
Option "DRI" "true" # [<bool>]
#Option "NoDDC" # [<bool>]
#Option "ShowCache" # [<bool>]
#Option "XvMCSurfaces" # <i>
#Option " ageFlip" # [<bool>]
Option "XAANoOffscreenPixmaps" "true"
#
Driver "intel"
VendorName "Intel Corporation"
BoardName "Mobile GM965/GL960 Integrated Graphics Controller"
BusID " CI:0:2:0"
EndSection
Section "DRI"
Mode 0666
EndSection
Section "Screen"
Identifier "Screen0"
Device "Card0"
Monitor "Monitor0"
SubSection "Display"
Viewport 0 0
Depth 1
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 4
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 8
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 15
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
EndSection |
|