Сенсорная панель «Tap to Click» не работает

Я сталкиваюсь с очень странной проблемой в Ubuntu 18.04 после обновления. Я не могу выбрать опцию «Нажмите, чтобы нажать» в настройках. Когда я открываю настройки в графическом интерфейсе, каждый раз, когда я вижу, что он выключен, когда я его включаю, сенсорная панель «Нажать, чтобы щелкнуть» не работает, и после ее закрытия настройка снова по умолчанию выключается. Я попытался использовать dconf-editor , чтобы установить его, и настройки также сохраняются, но сенсорная панель «Tap to Click» по-прежнему не работает.

Вот вывод xinput :

⎡ Virtual core pointer                      id=2    [master pointer  (3)]
⎜   ↳ Virtual core XTEST pointer                id=4    [slave  pointer  (2)]
⎜   ↳ PixArt Dell MS116 USB Optical Mouse       id=12   [slave  pointer  (2)]
⎜   ↳ ELAN1200:00 04F3:3090 Touchpad            id=14   [slave  pointer  (2)]
⎣ Virtual core keyboard                     id=3    [master keyboard (2)]
    ↳ Virtual core XTEST keyboard               id=5    [slave  keyboard (3)]
    ↳ Power Button                              id=6    [slave  keyboard (3)]
    ↳ Asus Wireless Radio Control               id=7    [slave  keyboard (3)]
    ↳ Video Bus                                 id=8    [slave  keyboard (3)]
    ↳ Video Bus                                 id=9    [slave  keyboard (3)]
    ↳ Power Button                              id=10   [slave  keyboard (3)]
    ↳ Sleep Button                              id=11   [slave  keyboard (3)]
    ↳ USB2.0 HD UVC WebCam: USB2.0 HD           id=13   [slave  keyboard (3)]
    ↳ Asus WMI hotkeys                          id=15   [slave  keyboard (3)]
    ↳ AT Translated Set 2 keyboard              id=16   [slave  keyboard (3)]

Вот вывод моих свойств тачпада с использованием xinput list-props :

Device 'ELAN1200:00 04F3:3090 Touchpad':
    Device Enabled (197):   1
    Coordinate Transformation Matrix (199): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    libinput Tapping Enabled (349): 0
    libinput Tapping Enabled Default (350): 0
    libinput Tapping Drag Enabled (351):    1
    libinput Tapping Drag Enabled Default (352):    1
    libinput Tapping Drag Lock Enabled (353):   0
    libinput Tapping Drag Lock Enabled Default (354):   0
    libinput Tapping Button Mapping Enabled (355):  1, 0
    libinput Tapping Button Mapping Default (356):  1, 0
    libinput Natural Scrolling Enabled (331):   1
    libinput Natural Scrolling Enabled Default (332):   0
    libinput Disable While Typing Enabled (357):    1
    libinput Disable While Typing Enabled Default (358):    1
    libinput Scroll Methods Available (333):    1, 1, 0
    libinput Scroll Method Enabled (334):   1, 0, 0
    libinput Scroll Method Enabled Default (335):   1, 0, 0
    libinput Click Methods Available (359): 1, 1
    libinput Click Method Enabled (360):    0, 1
    libinput Click Method Enabled Default (361):    1, 0
    libinput Middle Emulation Enabled (338):    0
    libinput Middle Emulation Enabled Default (339):    0
    libinput Accel Speed (340): 0.000000
    libinput Accel Speed Default (341): 0.000000
    libinput Left Handed Enabled (345): 0
    libinput Left Handed Enabled Default (346): 0
    libinput Send Events Modes Available (316): 1, 1
    libinput Send Events Mode Enabled (317):    0, 0
    libinput Send Events Mode Enabled Default (318):    0, 0
    Device Node (319):  "/dev/input/event10"
    Device Product ID (320):    1267, 12432
    libinput Drag Lock Buttons (347):   <no items>
    libinput Horizontal Scroll Enabled (348):   1

Вот вывод xinput list-props после добавления Опция «Нажатие» «Истина» :

Device 'ELAN1200:00 04F3:3090 Touchpad':
    Device Enabled (197):   1
    Coordinate Transformation Matrix (199): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
    libinput Tapping Enabled (349): 0
    libinput Tapping Enabled Default (350): 0
    libinput Tapping Drag Enabled (351):    1
    libinput Tapping Drag Enabled Default (352):    1
    libinput Tapping Drag Lock Enabled (353):   0
    libinput Tapping Drag Lock Enabled Default (354):   0
    libinput Tapping Button Mapping Enabled (355):  1, 0
    libinput Tapping Button Mapping Default (356):  1, 0
    libinput Natural Scrolling Enabled (331):   1
    libinput Natural Scrolling Enabled Default (332):   0
    libinput Disable While Typing Enabled (357):    1
    libinput Disable While Typing Enabled Default (358):    1
    libinput Scroll Methods Available (333):    1, 1, 0
    libinput Scroll Method Enabled (334):   1, 0, 0
    libinput Scroll Method Enabled Default (335):   1, 0, 0
    libinput Click Methods Available (359): 1, 1
    libinput Click Method Enabled (360):    0, 1
    libinput Click Method Enabled Default (361):    1, 0
    libinput Middle Emulation Enabled (338):    0
    libinput Middle Emulation Enabled Default (339):    0
    libinput Accel Speed (340): 0.000000
    libinput Accel Speed Default (341): 0.000000
    libinput Left Handed Enabled (345): 0
    libinput Left Handed Enabled Default (346): 0
    libinput Send Events Modes Available (316): 1, 1
    libinput Send Events Mode Enabled (317):    0, 0
    libinput Send Events Mode Enabled Default (318):    0, 0
    Device Node (319):  "/dev/input/event8"
    Device Product ID (320):    1267, 12432
    libinput Drag Lock Buttons (347):   <no items>
    libinput Horizontal Scroll Enabled (348):   1

Вот вывод cat /usr/share/X11/xorg.conf.d/40-libinput.conf:

# Match on all types of devices but joysticks
Section "InputClass"
        Identifier "libinput pointer catchall"
        MatchIsPointer "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput keyboard catchall"
        MatchIsKeyboard "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
        Option "Tapping" "True"
EndSection

Section "InputClass"
        Identifier "libinput touchscreen catchall"
        MatchIsTouchscreen "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Section "InputClass"
        Identifier "libinput tablet catchall"
        MatchIsTablet "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
EndSection

Было бы здорово помочь, если кто-то может помочь с решением этой проблемы. Заранее спасибо.

0
задан 9 July 2020 в 05:25

1 ответ

Your device is managed by xorg-synaptics for some reason, while default in Ubuntu 18.04 should be libinput.

Run in a terminal

sudo apt install xserver-xorg-input-libinput
sudo apt remove xserver-xorg-input-synaptics

and reboot.

Run sudo nano /usr/share/X11/xorg.conf.d/40-libinput.conf

and add Option "Tapping" "True" there to the touchpad section like this:

Section "InputClass"
        Identifier "libinput touchpad catchall"
        MatchIsTouchpad "on"
        MatchDevicePath "/dev/input/event*"
        Driver "libinput"
        Option "Tapping" "True"
EndSection

Save the file by Crtl+O and exit by Ctrl+X. Reboot and it should start working.

1
ответ дан 30 July 2020 в 22:11

Другие вопросы по тегам:

Похожие вопросы: