红联Linux门户
Linux帮助
当前位置: 红联Linux门户 > Ubuntu

ubuntu编辑xorg.conf文件以包含Synaptics触摸板驱动(节选)

发布时间:2008-08-07 13:10:30来源:红联作者:tJbwhy
编辑xorg.conf文件以包含Synaptics触摸板驱动

为了获取滚轮支持,您可能需要编辑您的xorg.conf文件。请在终端中键入sudo gedit

/etc/X11/xorg.conf。在如下内容之后:

引用:
Section "InputDevice"
Identifier "Configured Mouse"
Driver "mouse"
Option "CorePointer"
Option "Device" "/dev/input/mice"
Option "Protocol" "ExplorerPS/2"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "true"
EndSection


添加如下内容:

引用:
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
Option "SHMConfig" "on"
EndSection


接下来,向下寻找如下内容:

引用:
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "stylus" "SendCoreEvents"
InputDevice "cursor" "SendCoreEvents"
InputDevice "eraser" "SendCoreEvents"
EndSection


在"Configured Mouse"之后添加:

引用:
InputDevice "Synaptics Touchpad"


重启X: ,现在您应该有拥有滚轮支持了。然后安装qsynaptics来更精准地控制您的设备。
文章评论

共有 1 条评论

  1. yanghbmail 于 2008-08-07 16:24:16发表:

    一会试试 看。