[LINUX] 當筆電使用LXDE的X視窗環境時,如何啟用觸控面板點擊功能

因為X視窗環境比較習慣萬惡的M$ Windows
所以UBUNTU預設的GDM,雖然有支援筆電觸控面板的操作點擊功能。
但是視窗環境還是比較喜歡、習慣LXDE的操作方式。
然而,LXDE並無法使用觸碰面板的點擊功能,當沒滑鼠的時候,是有點不方便。

要使用正常的需求,需要在Xorg設定檔案來著手支援。
先安裝:
sudo apt-get install xserver-xorg-input-synaptics
新增一個定義檔:
sudo nano /usr/share/X11/xorg.conf.d/10-edev.conf
內容如下:
# To overwrite 70-synaptics.conf default configuration.
# The Options are useful for diy
Section "InputClass"
Identifier "evdev touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "synaptics"
Option "TapButton1" "1"
Option "TapButton2" "2"
Option "TapButton3" "3"
EndSection

# if touchpad has duplicates, will ignore operation what you have done with touchpad.
Section "InputClass"
Identifier "touchpad ignore duplicates"
MatchIsTouchpad "on"
MatchOS "Linux"
MatchDevicePath "/dev/input/mouse*"
Option "Ignore" "on"
EndSection

然後重開機,或是登出後用文字界面把Xorg重新載入一次,就能使用觸碰面板的點擊功能啦!!

參考來源:
https://www.796t.com/content/1570205402.html

發佈留言

發佈留言必須填寫的電子郵件地址不會公開。 必填欄位標示為 *

請輸入下列驗證碼計算後阿拉伯數字 (Translate it, if not Taiwanese to post reply) *