拋棄微軟作業系統,將華碩M2400N(M2N)安裝Fedora 10後,總覺得觸控板(touchpad)會影響到打字,在Gnome桌面下找不到觸控板(TouchPad)的設定選項,Google搜尋了一下找到了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
找到這一行:
![]()
然後在其下面加入這一行文字:
存檔後重新開機(reboot),這樣就可以開啟Gsynaptics程式,如下圖:
![]() |
![]() |
另一種方法是安裝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)。
Tags: Fedora 10, Gsynaptics, SHMConfig true, TouchPad
Posted in Linux系統, 電腦資訊 | 2,263 views|
你的TouchPad是義發科技的那個嗎?
各家都叫做TouchPad XD。
Elantech TouchPad 的登錄名稱為 Smart-Pad®。
兩根手指可模擬中間(滾輪)鍵功能,而三根手指則可模擬滑鼠右鍵功能。
之前我EPC裝倒是沒注意說。
[回應]