Hot to disable 3 finger tap (Libinput)
I want to disable the paste action associated with the 3 finger tapping because it is not a behavior helpful for me and also somehow dangerous.
Most of the post (for ex. this one) report either to:
- add
TappingButtonMapto xorg.conf ( this option allows only to invert button not to disable them). - set
ButtonMapping property by CLI ->xinput set-prop $ID ButtonMapping 1 2 3 ...` ( this actually changes the physical button )
Both solutions are not sufficient for my purpose.
- I think it is not possible with libinput to disable one single tapping, am I right?
- Is there any Plasma setting that can help to accomplish this ?
touchpad plasma libinput multi-touch
bumped to the homepage by Community♦ 2 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I want to disable the paste action associated with the 3 finger tapping because it is not a behavior helpful for me and also somehow dangerous.
Most of the post (for ex. this one) report either to:
- add
TappingButtonMapto xorg.conf ( this option allows only to invert button not to disable them). - set
ButtonMapping property by CLI ->xinput set-prop $ID ButtonMapping 1 2 3 ...` ( this actually changes the physical button )
Both solutions are not sufficient for my purpose.
- I think it is not possible with libinput to disable one single tapping, am I right?
- Is there any Plasma setting that can help to accomplish this ?
touchpad plasma libinput multi-touch
bumped to the homepage by Community♦ 2 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
I want to disable the paste action associated with the 3 finger tapping because it is not a behavior helpful for me and also somehow dangerous.
Most of the post (for ex. this one) report either to:
- add
TappingButtonMapto xorg.conf ( this option allows only to invert button not to disable them). - set
ButtonMapping property by CLI ->xinput set-prop $ID ButtonMapping 1 2 3 ...` ( this actually changes the physical button )
Both solutions are not sufficient for my purpose.
- I think it is not possible with libinput to disable one single tapping, am I right?
- Is there any Plasma setting that can help to accomplish this ?
touchpad plasma libinput multi-touch
I want to disable the paste action associated with the 3 finger tapping because it is not a behavior helpful for me and also somehow dangerous.
Most of the post (for ex. this one) report either to:
- add
TappingButtonMapto xorg.conf ( this option allows only to invert button not to disable them). - set
ButtonMapping property by CLI ->xinput set-prop $ID ButtonMapping 1 2 3 ...` ( this actually changes the physical button )
Both solutions are not sufficient for my purpose.
- I think it is not possible with libinput to disable one single tapping, am I right?
- Is there any Plasma setting that can help to accomplish this ?
touchpad plasma libinput multi-touch
touchpad plasma libinput multi-touch
edited Feb 3 '18 at 12:56
Francesco
asked Aug 9 '17 at 6:35
FrancescoFrancesco
3141515
3141515
bumped to the homepage by Community♦ 2 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ 2 hours ago
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
I have also searched a lot how to disable the 3 finger tap, because I was using libinput-gestures and it fired the tap when I wanted to swipe. But I think that libinput doesn't provides for now a configuration to disable one of the TappingButton.
If you really want to disable the 3 finger tap, you can download your version of libinput from the gitlab https://gitlab.freedesktop.org/libinput/libinput (be sure to download the same version as yours by downloading it from the release list https://www.freedesktop.org/wiki/Software/libinput/).
Then, you will have to modify the line 128 of the evdev-mt-touchpad-tap.c file. Replace
if (nfingers > 3)
By
if (nfingers > 2)
You can now compile and install libinput following the instructions given on https://wayland.freedesktop.org/libinput/doc/latest/building.html
Be sure to download all the dependencies that meson needs.
In my case (Ubuntu 18.04 Gnome 3.28.3), I had to install
- libudev-dev
- libmtdev-dev
- libevdev-dev
- libwacom-dev
- check
- valgrind
add a comment |
Your Answer
StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "106"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});
function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});
}
});
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f384886%2fhot-to-disable-3-finger-tap-libinput%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
I have also searched a lot how to disable the 3 finger tap, because I was using libinput-gestures and it fired the tap when I wanted to swipe. But I think that libinput doesn't provides for now a configuration to disable one of the TappingButton.
If you really want to disable the 3 finger tap, you can download your version of libinput from the gitlab https://gitlab.freedesktop.org/libinput/libinput (be sure to download the same version as yours by downloading it from the release list https://www.freedesktop.org/wiki/Software/libinput/).
Then, you will have to modify the line 128 of the evdev-mt-touchpad-tap.c file. Replace
if (nfingers > 3)
By
if (nfingers > 2)
You can now compile and install libinput following the instructions given on https://wayland.freedesktop.org/libinput/doc/latest/building.html
Be sure to download all the dependencies that meson needs.
In my case (Ubuntu 18.04 Gnome 3.28.3), I had to install
- libudev-dev
- libmtdev-dev
- libevdev-dev
- libwacom-dev
- check
- valgrind
add a comment |
I have also searched a lot how to disable the 3 finger tap, because I was using libinput-gestures and it fired the tap when I wanted to swipe. But I think that libinput doesn't provides for now a configuration to disable one of the TappingButton.
If you really want to disable the 3 finger tap, you can download your version of libinput from the gitlab https://gitlab.freedesktop.org/libinput/libinput (be sure to download the same version as yours by downloading it from the release list https://www.freedesktop.org/wiki/Software/libinput/).
Then, you will have to modify the line 128 of the evdev-mt-touchpad-tap.c file. Replace
if (nfingers > 3)
By
if (nfingers > 2)
You can now compile and install libinput following the instructions given on https://wayland.freedesktop.org/libinput/doc/latest/building.html
Be sure to download all the dependencies that meson needs.
In my case (Ubuntu 18.04 Gnome 3.28.3), I had to install
- libudev-dev
- libmtdev-dev
- libevdev-dev
- libwacom-dev
- check
- valgrind
add a comment |
I have also searched a lot how to disable the 3 finger tap, because I was using libinput-gestures and it fired the tap when I wanted to swipe. But I think that libinput doesn't provides for now a configuration to disable one of the TappingButton.
If you really want to disable the 3 finger tap, you can download your version of libinput from the gitlab https://gitlab.freedesktop.org/libinput/libinput (be sure to download the same version as yours by downloading it from the release list https://www.freedesktop.org/wiki/Software/libinput/).
Then, you will have to modify the line 128 of the evdev-mt-touchpad-tap.c file. Replace
if (nfingers > 3)
By
if (nfingers > 2)
You can now compile and install libinput following the instructions given on https://wayland.freedesktop.org/libinput/doc/latest/building.html
Be sure to download all the dependencies that meson needs.
In my case (Ubuntu 18.04 Gnome 3.28.3), I had to install
- libudev-dev
- libmtdev-dev
- libevdev-dev
- libwacom-dev
- check
- valgrind
I have also searched a lot how to disable the 3 finger tap, because I was using libinput-gestures and it fired the tap when I wanted to swipe. But I think that libinput doesn't provides for now a configuration to disable one of the TappingButton.
If you really want to disable the 3 finger tap, you can download your version of libinput from the gitlab https://gitlab.freedesktop.org/libinput/libinput (be sure to download the same version as yours by downloading it from the release list https://www.freedesktop.org/wiki/Software/libinput/).
Then, you will have to modify the line 128 of the evdev-mt-touchpad-tap.c file. Replace
if (nfingers > 3)
By
if (nfingers > 2)
You can now compile and install libinput following the instructions given on https://wayland.freedesktop.org/libinput/doc/latest/building.html
Be sure to download all the dependencies that meson needs.
In my case (Ubuntu 18.04 Gnome 3.28.3), I had to install
- libudev-dev
- libmtdev-dev
- libevdev-dev
- libwacom-dev
- check
- valgrind
answered Sep 27 '18 at 19:03
JoachimJoachim
1
1
add a comment |
add a comment |
Thanks for contributing an answer to Unix & Linux Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f384886%2fhot-to-disable-3-finger-tap-libinput%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown