如何啟用觸控板點按
Ankur Sinha;Caleb McKee;Petr Bokoc
Version F38
Last review: 2023-05-08
範圍
Fedora 致力於提供各種桌面環境給使用者。由於 Fedora 盡可能 貼近上游專案,因此我們會沿用各桌面環境上游所選擇的預設值。一般來說,這代表觸控板點按預設為停用。本頁整理了在不同桌面環境中啟用「輕觸點按」的方法。
|
請注意,本文只是協助使用者的資源。若要討論這項設定,請與對應桌面環境的上游專案聯絡。Fedora 無意變更上游的預設值。 |
桌面環境設定
GNOME
在 GNOME 中,可以使用「滑鼠與觸控板」工具啟用輕觸點按並設定捲動選項。請參閱 GNOME 官方文件。
KDE Plasma Workspaces
-
開啟 KDE System Settings
-
選擇 Hardware > Input Devices > Touchpad(如果沒有「Touchpad」設定,請先安裝 kcm_touchpad,再重新啟動 System Settings。預設情況下它已經安裝。)
-
選擇 Tapping 分頁
-
勾選「Tap to click」核取方塊
-
在下方「Buttons」中設定輕觸動作;預設為 不執行任何動作
或者,也可以使用 其他視窗管理員章節所述的全系統方法。
其他視窗管理員
建立名為 /etc/X11/xorg.conf.d/99-synaptics-overrides.conf 的新檔案。
接著使用您慣用的文字編輯器,將此檔案修改如下:
Section "InputClass"
Identifier "touchpad overrides"
# This makes this snippet apply to any device with the "synaptics" driver
# assigned
MatchDriver "synaptics"
####################################
## The lines that you need to add ##
# Enable left mouse button by tapping
Option "TapButton1" "1"
# Enable vertical scrolling
Option "VertEdgeScroll" "1"
# Enable right mouse button by tapping lower right corner
Option "RBCornerButton" "3"
####################################
EndSection
如需更多調整 xorg.conf.d 檔案的資訊,請閱讀 man page:
$ man xorg.conf
Want to help? Learn how to contribute to Fedora Docs ›