Bug 105909

Summary: synaptics Clickpad Right/Middle click no longer faked
Product: Wayland Reporter: Matthew Wilcox <matthew>
Component: libinputAssignee: Wayland bug list <wayland-bugs>
Status: RESOLVED NOTOURBUG QA Contact:
Severity: normal    
Priority: medium CC: peter.hutterer
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Matthew Wilcox 2018-04-05 18:10:41 UTC
I have an HP Envy x360 with a synaptics Clickpad.  The right and middle buttons used to be faked but after a reboot are no longer being faked.  This is current Debian testing with libinput 1.10.3-2, kernel 4.15.0-2, 

libinput debug-events --device /dev/input/event1 --set-click-method=buttonareas shows BTN_LEFT BTN_RIGHT and BTN_MIDDLE

libinput debug-events --device /dev/input/event1 --set-click-method=clickfinger shows only BTN_LEFT.

$ sudo libinput debug-events --device /dev/input/event1 --set-click-method=buttonareas
-event1   DEVICE_ADDED     SynPS/2 Synaptics TouchPad        seat0 default group1  cap:pg  size 117x57mm tap(dl off) left scroll-nat scroll-2fg-edge click-buttonareas-clickfinger dwt-on
 event1   POINTER_BUTTON    +1.12s	BTN_LEFT (272) pressed, seat count: 1
 event1   POINTER_BUTTON    +1.20s	BTN_LEFT (272) released, seat count: 0
 event1   POINTER_BUTTON    +2.41s	BTN_MIDDLE (274) pressed, seat count: 1
 event1   POINTER_BUTTON    +2.55s	BTN_MIDDLE (274) released, seat count: 0
 event1   POINTER_BUTTON    +4.25s	BTN_RIGHT (273) pressed, seat count: 1
 event1   POINTER_BUTTON    +4.36s	BTN_RIGHT (273) released, seat count: 0
Comment 1 Peter Hutterer 2018-04-05 22:28:08 UTC
libinput list-devices shows you the libinput defaults, the default for the click methods is marked with *. What does that command show? 

If it's still on button areas, the issue is higher up in the stack. GNOME 3.28 changed the defaults from button areas to clickfinger, so this is likely the source of the problem. gnome-tweak-tool should let you change, the gsettings commands are:

To fetch the current value

  gsettings get org.gnome.desktop.peripherals.touchpad click-method 


To see the options available:

  gsettings range org.gnome.desktop.peripherals.touchpad click-method 

To change:

  gsettings set org.gnome.desktop.peripherals.touchpad click-method $OPTION


Closing this bug, please re-open if it turns out to be a libinput bug after all.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.