无法使用触控板 ASUS Zenbook UX305UA-FC057T 模拟中键单击

无法使用触控板 ASUS Zenbook UX305UA-FC057T 模拟中键单击

当我尝试通过触控板的右键+左键单击来模拟中键单击时,即使在运行之后

synclient TapButton3=2

我无法粘贴我之前选择的内容,就像 Linux 机器的已知行为一样。

任何想法 ?

Ubuntu 16.04
内核 4.4.0-15-通用
Elan 触摸板

编辑:

我把这个放进去/usr/share/X11/xorg.conf.d/52-elan.conf

# This option disables software buttons on Elan touchpads.
# This option is only interpreted by clickpads.
Section "InputClass"
    Identifier "Disable clickpad buttons on Elan touchpads"
    MatchProduct "Elan"
    MatchDriver "synaptics"
    Option "TapButton1" "1"
    Option "TapButton2" "3"
    Option "TapButton3" "2"
    Option "ClickFinger1" "1"
    Option "ClickFinger2" "3"
    Option "ClickFinger3" "2"
EndSection

我在 xorg 日志中得到了我期望的内容:

[     3.121] (II) config/udev: Adding input device Elan Touchpad (/dev/input/event6)
[     3.121] (**) Elan Touchpad: Applying InputClass "evdev touchpad catchall"
[     3.121] (**) Elan Touchpad: Applying InputClass "evdev touchscreen catchall"
[     3.121] (**) Elan Touchpad: Applying InputClass "touchpad catchall"
[     3.121] (**) Elan Touchpad: Applying InputClass "Default clickpad buttons"
[     3.121] (**) Elan Touchpad: Applying InputClass "Disable clickpad buttons on Elan touchpads"
[     3.121] (II) LoadModule: "synaptics"
[     3.121] (II) Loading /usr/lib/xorg/modules/input/synaptics_drv.so
[     3.121] (II) Module synaptics: vendor="X.Org Foundation"
[     3.121]    compiled for 1.18.1, module version = 1.8.2
[     3.121]    Module class: X.Org XInput Driver
[     3.121]    ABI class: X.Org XInput driver, version 22.1
[     3.121] (II) Using input driver 'synaptics' for 'Elan Touchpad'
[     3.121] (**) Elan Touchpad: always reports core events
[     3.121] (**) Option "Device" "/dev/input/event6"
[     3.204] (II) synaptics: Elan Touchpad: found clickpad property
[     3.204] (--) synaptics: Elan Touchpad: x-axis range 0 - 3097 (res 32)
[     3.204] (--) synaptics: Elan Touchpad: y-axis range 0 - 2119 (res 33)
[     3.204] (--) synaptics: Elan Touchpad: pressure range 0 - 255
[     3.204] (--) synaptics: Elan Touchpad: finger width range 0 - 15
[     3.204] (--) synaptics: Elan Touchpad: buttons: left double triple
[     3.204] (--) synaptics: Elan Touchpad: Vendor 0x4f3 Product 0x5
[     3.204] (**) Option "TapButton1" "1"
[     3.204] (**) Option "TapButton2" "3"
[     3.204] (**) Option "TapButton3" "2"
[     3.204] (**) Option "ClickFinger1" "1"
[     3.204] (**) Option "ClickFinger2" "3"
[     3.204] (**) Option "ClickFinger3" "2"
[     3.204] (**) Option "SoftButtonAreas" "50% 0 82% 0 0 0 0 0"
[     3.204] (--) synaptics: Elan Touchpad: touchpad found
[     3.204] (**) Elan Touchpad: always reports core events
[     3.240] (**) Option "config_info" "udev:/sys/devices/pci0000:00/0000:00:15.1/i2c_designware.1/i2c-5/i2c-ELAN0100:00/input/input6/event6"
[     3.240] (II) XINPUT: Adding extended input device "Elan Touchpad" (type: TOUCHPAD, id 10)
[     3.240] (**) synaptics: Elan Touchpad: (accel) MinSpeed is now constant deceleration 2.5
[     3.240] (**) synaptics: Elan Touchpad: (accel) MaxSpeed is now 1.75
[     3.240] (**) synaptics: Elan Touchpad: (accel) AccelFactor is now 0.053
[     3.240] (**) Elan Touchpad: (accel) keeping acceleration scheme 1
[     3.240] (**) Elan Touchpad: (accel) acceleration profile 1
[     3.240] (**) Elan Touchpad: (accel) acceleration factor: 2.000
[     3.240] (**) Elan Touchpad: (accel) acceleration threshold: 4
[     3.240] (--) synaptics: Elan Touchpad: touchpad found
[     3.241] (II) config/udev: Adding input device Elan Touchpad (/dev/input/mouse0)
[     3.241] (**) Elan Touchpad: Ignoring device from InputClass "touchpad ignore duplicates"

但我仍然无法通过同时按下左+右按钮来进行中间粘贴。

答案1

我有一台 UX303UA,它有一个 FocalTech 触摸板,而不是 Zenbook 的 Elan。

我通过在 /usr/share/X11/xorg.conf.d 中添加一个名为 52-focaltech.conf 的 conf 文件解决了这个问题。您可能希望将其命名为 52-elan.conf 或类似的名称。开头的 52 很重要,因为这样它会在系统提供的触摸板 conf 文件之后运行,因此它将覆盖那里的任何设置。

此文件恢复了中键的正常 unix 含义,并禁用了所有奇怪的三指手势。点击手指选项修复了中间按钮和点击按钮选项让三指手势消失。我在修复中间按钮的过程中偶然发现了这一点,我保留了它,因为我讨厌三指手势。您可能可以省略它并仍然修复中间按钮。我没有尝试,因为已经很晚了。

我的文件内容是:

# This option disables software buttons on FocalTech touchpads.
# This option is only interpreted by clickpads.
Section "InputClass"
    Identifier "Disable clickpad buttons on FocalTech touchpads"
    MatchProduct "FocalTech"
    MatchDriver "synaptics"
    Option "TapButton1" "1"
    Option "TapButton2" "3"
    Option "TapButton3" "2"
    Option "ClickFinger1" "1"
    Option "ClickFinger2" "3"
    Option "ClickFinger3" "2"
EndSection

您必须将此文件中的所有“FocalTech”实例更改为“Elan”,以使其在您的系统上运行。

软件对 Elan 触摸板使用的确切拼写可能与营销材料或文档中的名称不同。要确切了解软件对您的设备的称呼,您可以查看 /var/log/Xorg.0.log。搜索“添加输入设备”。您也可以使用 xinput 命令来查找它,如下所示:

buddyp@UX303UA:/usr/share/X11/xorg.conf.d$ xinput
⎡ Virtual core pointer                      id=2    [master pointer  \(3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave pointer  (2)]
⎜   ↳ Atmel                                     id=10   [slave pointer (2)]
⎜   ↳ FocalTechPS/2 FocalTech FocalTech Touchpad    id=13   [slave pointer  (2)]

您应该在输出中看到 Elan,而不是 FocalTech。

将配置文件添加到 /usr/share/X11/xorg.conf.d/ 后,您必须注销并重新登录才能使其生效

顺便说一句,解决这个问题的关键是“人类突触”

相关内容