抛弃微软操作系统,将华硕M2400N(M2N)安装Fedora 10后,总觉得触控板(touchpad)会影响到打字,在Gnome桌面下找不到触控板(TouchPad)的设定选项,找到了gsynaptics这个package,于是
[root@localhost ~]# yum -y install gsynaptics
安装完成执行程式出现如下的信息:
GSynaptics无法初始化。您必须在xorg.conf或XF86Config中设定'SHMConfig' 'true'以使用GSynaptics
Fedora 10默认安装没有xorg.conf这个文件,参考Fedora 9的解决方式:
[root@localhost ~]# vi /usr/share/hal/fdi/policy/20thirdparty/10-synaptics.fdi
找到这一行:[code]
偏好设定-硬体-触控板
另一种方法是安装system-config-display套件,对xorg.conf再加以编辑:
[root@localhost ~]# yum -y install system-config-display
然后重定屏幕,指令如下:
[root@localhost ~]# system-config-display --reconfig
接着编辑/etc/X11/xorg.conf这个文件:
[root@localhost ~]# vi /etc/X11/xorg.conf
xorg.conf修改如下(增加以下红色文字):
引用:# Xorg configuration created by system-config-display
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "TouchPad" "CorePointer" #增加?一行
EndSection
Section "InputDevice"
# keyboard added by rhpxl
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105+inet"
Option "XkbLayout" "us"
EndSection
Section "InputDevice" #在Keyboard後面,增加以下?色字?一段
Driver "synaptics"
Identifier "TouchPad"
Option "SendCoreEvents"
Option "Protocol" "auto-dev"
Option "SHMConfig" "on"
Option "Emulate3Buttons"
Option "VertTwoFingerScroll" "false"
Option "HorizTwoFingerScroll" "false"
Option "HorizScrollDelta" "0"
Option "TapButton1" "0"
Option "TapButton2" "0"
Option "TapButton3" "0"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor Model"
HorizSync 28 - 50
VertRefresh 43 - 75
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "intel"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 16
SubSection "Display"
Viewport 0 0
Depth 24
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 16
EndSubSection
EndSection
修改完成保存文件,重新启动X-Window就可以使用Gsynaptics(来设定TouchPad)。
[ 本帖最后由 orumdi 于 2009-2-3 11:40 编辑 ]