激活点击以点击触摸板?

Sim*_*win 34 debian touchpad powerpc lxde

我在 Powerbook G4 15" 1.67GHz 上使用 Debian 8.6 LXDE 并希望启用点击以点击触摸板。它已经是双滚动但点击点击将有助于保存老化的鼠标按钮。两指点击左键单击将是锦上添花,这可能吗?

GAD*_*D3R 34

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
Run Code Online (Sandbox Code Playgroud)

/etc/X11/xorg.conf.d/50-synaptics.conf应该是:

Section "InputClass"
        Identifier "touchpad catchall"
        Driver "synaptics"
        MatchIsTouchpad "on"
        Option "TapButton1" "1"
        Option "TapButton2" "3"
Run Code Online (Sandbox Code Playgroud)

重新启动系统

Debian Stretch 和 Buster(更新)

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

# apt remove xserver-xorg-input-synaptics
Run Code Online (Sandbox Code Playgroud)

安装xserver-xorg-input-libinput

# apt install xserver-xorg-input-libinput
Run Code Online (Sandbox Code Playgroud)

在大多数情况下,请确保您安装的是xserver-xorg-input-libinput软件包,而不是xserver-xorg-input-synaptics软件包。

作为根:

创建 /etc/X11/xorg.conf.d/

mkdir /etc/X11/xorg.conf.d
Run Code Online (Sandbox Code Playgroud)

创建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
Run Code Online (Sandbox Code Playgroud)

重新启动您的 DM;例如:

# systemctl restart lightdm
Run Code Online (Sandbox Code Playgroud)

或者

# systemctl restart gdm3
Run Code Online (Sandbox Code Playgroud)

Debian wiki :在触摸板上启用点击

  • 我制作了目录并且它起作用了,甚至用两个手指点击右键单击。谢谢! (3认同)
  • @GAD3R 我后来注意到这只是我们错过的“鼠标属性”下的一个设置。谢谢你! (2认同)

Gab*_*ina 27

在最近的系统(2017 年)中,随着许多发行版迁移到 Wayland,不再使用突触驱动程序。相反,使用 libinput。

要使用 libinput 启用点击以单击触摸板,请在 Xorg 配置中创建一个文件:

$ touch /etc/X11/xorg.conf.d/99-synaptics-overrides.conf
Run Code Online (Sandbox Code Playgroud)

并添加以下配置:

Section  "InputClass"
    Identifier  "touchpad overrides"
    Driver "libinput"
    MatchIsTouchpad "on"
    Option "Tapping" "on"
    Option "TappingButtonMap" "lmr"
EndSection
Run Code Online (Sandbox Code Playgroud)

  • +1 因为这是在`Debian Stretch`上获得`tap to click`的唯一方法。 (3认同)
  • 为我工作(Debian Stretch,Gnome 3 X11)。另外值得注意的是,它在 Gnome 的鼠标设置面板中提供了更多选项(例如“点击以点击”)。 (3认同)
  • @Mephisto 尝试“TappingButtonMap”“lrm”此选项是将 1、2 和 3 个手指映射到左、右、中键单击。 (2认同)

Geo*_*iou 18

在 Debian 8.6 和 LXDE 下的类似情况下,这对我有用:

synclient TapButton1=1
Run Code Online (Sandbox Code Playgroud)

如果 Synaptics 触摸板与 Synaptics Driver 配合使用,则上述方法有效xserver-xorg-input-synaptics

如果您正在使用libinput驱动程序(许多实时图像中的默认驱动程序):

xinput set-prop 'SynPS/2 Synaptics TouchPad' 'libinput Tapping Enabled' 1
Run Code Online (Sandbox Code Playgroud)

您可以使用xinput list-props 'SynPS/2 Synaptics TouchPad'来查看可以为您的触摸板调整的所有可用属性。

如果你的系统使用libinput你可以xinput用来找出你的触摸板设备的名称,如果上面的命令不起作用(它们不是所有的 Synaptics)。例如:

输出xinput

? Virtual core pointer                          id=2    [master pointer  (3)]
?   ? Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
?   ? AlpsPS/2 ALPS GlidePoint                  id=11   [slave  pointer  (2)]
? Virtual core keyboard                         id=3    [master keyboard (2)]
? Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
? Video Bus                                 id=6    [slave  keyboard (3)]
? Power Button                              id=7    [slave  keyboard (3)]
? Sleep Button                              id=8    [slave  keyboard (3)]
? Dell WMI hotkeys                          id=9    [slave  keyboard (3)]
? AT Translated Set 2 keyboard              id=10   [slave  keyboard (3)]
Run Code Online (Sandbox Code Playgroud)

启用点击的命令:

xinput set-prop 'AlpsPS/2 ALPS GlidePoint' 'libinput Tapping Enabled' 1
Run Code Online (Sandbox Code Playgroud)


小智 7

在 xfce 桌面环境中使用 debian Stretch 9.5。

更新 : /usr/share/X11/xorg.conf.d/40-libinput.conf

添加此部分:

Section "InputClass"
        Identifier "libinput touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
        Option "Tapping" "on"
EndSection
Run Code Online (Sandbox Code Playgroud)

重新启动系统,现在点击应该可以工作了。