Hot to disable 3 finger tap (Libinput)












3















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 TappingButtonMap to 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 ?










share|improve this question
















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.




















    3















    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 TappingButtonMap to 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 ?










    share|improve this question
















    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.


















      3












      3








      3


      1






      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 TappingButtonMap to 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 ?










      share|improve this question
















      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 TappingButtonMap to 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






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      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.
























          1 Answer
          1






          active

          oldest

          votes


















          0














          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






          share|improve this answer























            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
            });


            }
            });














            draft saved

            draft discarded


















            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









            0














            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






            share|improve this answer




























              0














              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






              share|improve this answer


























                0












                0








                0







                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






                share|improve this answer













                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







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Sep 27 '18 at 19:03









                JoachimJoachim

                1




                1






























                    draft saved

                    draft discarded




















































                    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.




                    draft saved


                    draft discarded














                    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





















































                    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







                    Popular posts from this blog

                    Histoire des bourses de valeurs

                    Why is there Russian traffic in my log files?

                    Rename multiple files to decrement number in file name?