After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 748850 - [RFE] Expose libinput touchpad click method via the GUI
[RFE] Expose libinput touchpad click method via the GUI
Status: RESOLVED FIXED
Product: gnome-tweak-tool
Classification: Applications
Component: general
unspecified
Other Linux
: Normal enhancement
: ---
Assigned To: GNOME Tweak Tool maintainer(s)
GNOME Tweak Tool maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2015-05-03 18:59 UTC by Max Bruckner
Modified: 2015-05-06 14:56 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
keymouse: Add a click method tweak for touchpads (1.60 KB, patch)
2015-05-06 14:55 UTC, Rui Matos
committed Details | Review

Description Max Bruckner 2015-05-03 18:59:21 UTC
libinput provides a setting to switch between button areas and two finger right clicks when using a clickpad. According to Peter Hutterer (https://bugs.freedesktop.org/show_bug.cgi?id=90170#c5), this is already available in GNOME via "org.gnome.desktop.peripherals.touchpad", but it'd be great to have this setting exposed via the GUI settings whenever a clickpad is detected.
Comment 1 Ondrej Holy 2015-05-04 08:43:47 UTC
This involves some design changes, Allan can you take a look?

There is description of the click-method gsettings key:
How to generate software-emulated buttons, either disabled ('none'), through specific areas ('areas'), number of fingers ('fingers') or left as hardware default ('default').

There is detailed description of the individual methods:
http://wayland.freedesktop.org/libinput/doc/latest/clickpad_softbuttons.html

What about adding new GtkCheckButton if clickpad is detected with label e.g. "Software buttons" with following relation:
click-method = areas -> active = TRUE
click-method = none/fingers -> active = FALSE
click-method = default -> inconsistent = TRUE

Toggling the check button can switch click-method between "areas" and "fingers" mode.
Comment 2 Bastien Nocera 2015-05-04 08:52:22 UTC
No, this is something that I don't want exposed in the UI (even if I'm a user of that feature).

The touchpad already has a default configuration that corresponds to the behaviour of the default/proprietary OS (eg. areas -> Windows, none/fingers -> OSX).

This might be nice in gnome-tweak-tool though.
Comment 3 Max Bruckner 2015-05-04 09:28:48 UTC
The problem with the default configuration is that libinput handles this via hwdb on a model by model basis, so it's never going to be up to date and contain every model out there (especially not in distributions that are far away from upstream). And there already are options for natural scrolling, tap to click and two finger scrolling. Why are they available and two finger right clicking not?

I'd be happy with having this setting in the tweak-tool, but I don't quite understand why it shouldn't be in the regular settings.
Comment 4 Rui Matos 2015-05-06 14:55:27 UTC
Created attachment 302985 [details] [review]
keymouse: Add a click method tweak for touchpads
Comment 5 Rui Matos 2015-05-06 14:56:00 UTC
Attachment 302985 [details] pushed as 708e174 - keymouse: Add a click method tweak for touchpads