Debian

啟動點擊以點擊觸摸板?

  • July 20, 2021

我在 Powerbook G4 15" 1.67GHz 上使用 Debian 8.6 LXDE,並希望啟用點擊以點擊觸摸板。它已經是雙滾動但點擊點擊將有助於保存老化的滑鼠按鈕。兩指點擊左鍵將是錦上添花,這可能嗎?

Debian 傑西

要永久啟用觸摸板點擊,請將50-synaptics.conf文件複製到/etc/X11/xorg.conf.d然後通過添加進行編輯Option "TapButton1" "1"

作為根:

mkdir /etc/X11/xorg.conf.d
cp /usr/share/X11/xorg.conf.d/50-synaptics.conf /etc/X11/xorg.conf.d/50-synaptics.conf

/etc/X11/xorg.conf.d/50-synaptics.conf應該是:

Section "InputClass"
       Identifier "touchpad catchall"
       Driver "synaptics"
       MatchIsTouchpad "on"
       Option "TapButton1" "1"
       Option "TapButton2" "3"

重新啟動系統

Debian Stretch and Buster(更新)

取出xserver-xorg-input-synaptics包裝。(重要的)

# apt remove xserver-xorg-input-synaptics

安裝xserver-xorg-input-libinput

# apt install xserver-xorg-input-libinput

在大多數情況下,請確保您安裝了xserver-xorg-input-libinput軟體包,而不是xserver-xorg-input-synaptics軟體包。

作為根:

創造/etc/X11/xorg.conf.d/

mkdir /etc/X11/xorg.conf.d

創建40-libinput.conf文件:

echo 'Section "InputClass"
       Identifier "libinput touchpad catchall"
       MatchIsTouchpad "on"
       MatchDevicePath "/dev/input/event*"
       Driver "libinput"
       Option "Tapping" "on"
EndSection' > /etc/X11/xorg.conf.d/40-libinput.conf

重新啟動您的 DM;例如:

# systemctl restart lightdm

或者

# systemctl restart gdm3

Debian wiki :在觸摸板上啟用點擊

引用自:https://unix.stackexchange.com/questions/337008