Hot to disable 3 finger tap (Libinput)

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP











up vote
3
down vote

favorite
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



























    up vote
    3
    down vote

    favorite
    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

























      up vote
      3
      down vote

      favorite
      1









      up vote
      3
      down vote

      favorite
      1






      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 at 12:56

























      asked Aug 9 '17 at 6:35









      Francesco

      2941513




      2941513




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          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',
            convertImagesToLinks: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            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






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            0
            down vote













            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
























              up vote
              0
              down vote













              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






















                up vote
                0
                down vote










                up vote
                0
                down vote









                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 at 19:03









                Joachim

                1




                1



























                     

                    draft saved


                    draft discarded















































                     


                    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













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Bahrain

                    Postfix configuration issue with fips on centos 7; mailgun relay