I have installed Ubuntu 18.04 on Lenovo Ideapad L340. Tapping on the touchpad does not work properly. For most of the time, it works very well but sometimes it does not work and I have to tap again (It is not too much maybe 5 or 6 times within some hours). I tried to change some settings in the touchpad to see if it can affect on the problem. For example there are two options in output of xinput list-props. The first one is libinput Tapping Enabled (273): 1 and the second one is: libinput Tapping Enabled Default (274): 0. I tried to enable the second option by this command xinput set-prop "Synaptics TM3336-004" "libinput Tapping Enabled Default" 1 but I got this error:
X Error of failed request: BadAccess (attempt to access private resource denied)
Major opcode of failed request: 131 (XInputExtension)
Minor opcode of failed request: 57 ()
Serial number of failed request: 20
Current serial number in output stream: 21
1) Does this error show anything about this problem?
2) Which options in output of the command xinput list-props can affect on this problem?
3) Is this a bug?
The output of xinput is :
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Synaptics TM3336-004 id=10 [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)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Power Button id=8 [slave keyboard (3)]
↳ Integrated Camera: Integrated C id=9 [slave keyboard (3)]
↳ Ideapad extra buttons id=11 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=12 [slave keyboard (3)]
The output of command xinput list-props 10 is :
Device 'Synaptics TM3336-004':
Device Enabled (136): 1
Coordinate Transformation Matrix (138): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Tapping Enabled (273): 1
libinput Tapping Enabled Default (274): 0
libinput Tapping Drag Enabled (275): 1
libinput Tapping Drag Enabled Default (276): 1
libinput Tapping Drag Lock Enabled (277): 0
libinput Tapping Drag Lock Enabled Default (278): 0
libinput Tapping Button Mapping Enabled (279): 1, 0
libinput Tapping Button Mapping Default (280): 1, 0
libinput Natural Scrolling Enabled (281): 1
libinput Natural Scrolling Enabled Default (282): 0
libinput Disable While Typing Enabled (283): 0
libinput Disable While Typing Enabled Default (284): 1
libinput Scroll Methods Available (285): 1, 1, 0
libinput Scroll Method Enabled (286): 0, 0, 0
libinput Scroll Method Enabled Default (287): 1, 0, 0
libinput Click Methods Available (288): 1, 1
libinput Click Method Enabled (289): 1, 0
libinput Click Method Enabled Default (290): 1, 0
libinput Middle Emulation Enabled (291): 0
libinput Middle Emulation Enabled Default (292): 0
libinput Accel Speed (293): 0.622378
libinput Accel Speed Default (294): 0.000000
libinput Left Handed Enabled (295): 0
libinput Left Handed Enabled Default (296): 0
libinput Send Events Modes Available (258): 1, 1
libinput Send Events Mode Enabled (259): 0, 0
libinput Send Events Mode Enabled Default (260): 0, 0
Device Node (261): "/dev/input/event14"
Device Product ID (262): 1739, 33364
libinput Drag Lock Buttons (297): <no items>
libinput Horizontal Scroll Enabled (298):
Thanks.