Touchpad - Removing Middle Button Area by enabling Middle Button Emulation (Ubuntu 17.10 - Gnome 3.26 - Wayland)

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








up vote
1
down vote

favorite












(My touchpad is just one big square and the buttons are based on the area that you click)



Goal: I want my touchpad to ONLY have a left and right click and I want to disable the default middle button functionality.



How to accomplish: Although it may seem counterintuitive at first, I want to do this by enabling middle button emulation. This will effectively remove the middle button area from the touchpad and only cause a middle button press event when both the right and left buttons are pressed simultaneously.



Question: How do I enable middle button emulation on a fresh default install of Ubuntu 17.10 (Gnome 3.26.2 & Wayland) ?



Other info / things I've tried:
My touchpad works well by default, but I keep on hitting the middle button by accident and that causes bad things to happen. I've tried switching up the Click-method with the gnome-tweak-tool, but I like those options even less. I've tried using xinput set-button-map and xinput set-int-prop but it seems to me that either it only works within certain applications (not system-wide) or that xinput does not work with Wayland. I've tried looking into libinput, but I'm unsure how use it.



I've read some bug threads on this issue and libinput people say that if you enable middle button emulation, then that will effectively remove the middle button from area and only cause a middle button press event when both the right and left buttons are pressed simultaneously. This is the fix that I want to implement, but I can't figure out how to do it.



https://wayland.freedesktop.org/libinput/doc/latest/middle_button_emulation.html
https://wiki.archlinux.org/index.php/Libinput










share|improve this question

























    up vote
    1
    down vote

    favorite












    (My touchpad is just one big square and the buttons are based on the area that you click)



    Goal: I want my touchpad to ONLY have a left and right click and I want to disable the default middle button functionality.



    How to accomplish: Although it may seem counterintuitive at first, I want to do this by enabling middle button emulation. This will effectively remove the middle button area from the touchpad and only cause a middle button press event when both the right and left buttons are pressed simultaneously.



    Question: How do I enable middle button emulation on a fresh default install of Ubuntu 17.10 (Gnome 3.26.2 & Wayland) ?



    Other info / things I've tried:
    My touchpad works well by default, but I keep on hitting the middle button by accident and that causes bad things to happen. I've tried switching up the Click-method with the gnome-tweak-tool, but I like those options even less. I've tried using xinput set-button-map and xinput set-int-prop but it seems to me that either it only works within certain applications (not system-wide) or that xinput does not work with Wayland. I've tried looking into libinput, but I'm unsure how use it.



    I've read some bug threads on this issue and libinput people say that if you enable middle button emulation, then that will effectively remove the middle button from area and only cause a middle button press event when both the right and left buttons are pressed simultaneously. This is the fix that I want to implement, but I can't figure out how to do it.



    https://wayland.freedesktop.org/libinput/doc/latest/middle_button_emulation.html
    https://wiki.archlinux.org/index.php/Libinput










    share|improve this question























      up vote
      1
      down vote

      favorite









      up vote
      1
      down vote

      favorite











      (My touchpad is just one big square and the buttons are based on the area that you click)



      Goal: I want my touchpad to ONLY have a left and right click and I want to disable the default middle button functionality.



      How to accomplish: Although it may seem counterintuitive at first, I want to do this by enabling middle button emulation. This will effectively remove the middle button area from the touchpad and only cause a middle button press event when both the right and left buttons are pressed simultaneously.



      Question: How do I enable middle button emulation on a fresh default install of Ubuntu 17.10 (Gnome 3.26.2 & Wayland) ?



      Other info / things I've tried:
      My touchpad works well by default, but I keep on hitting the middle button by accident and that causes bad things to happen. I've tried switching up the Click-method with the gnome-tweak-tool, but I like those options even less. I've tried using xinput set-button-map and xinput set-int-prop but it seems to me that either it only works within certain applications (not system-wide) or that xinput does not work with Wayland. I've tried looking into libinput, but I'm unsure how use it.



      I've read some bug threads on this issue and libinput people say that if you enable middle button emulation, then that will effectively remove the middle button from area and only cause a middle button press event when both the right and left buttons are pressed simultaneously. This is the fix that I want to implement, but I can't figure out how to do it.



      https://wayland.freedesktop.org/libinput/doc/latest/middle_button_emulation.html
      https://wiki.archlinux.org/index.php/Libinput










      share|improve this question













      (My touchpad is just one big square and the buttons are based on the area that you click)



      Goal: I want my touchpad to ONLY have a left and right click and I want to disable the default middle button functionality.



      How to accomplish: Although it may seem counterintuitive at first, I want to do this by enabling middle button emulation. This will effectively remove the middle button area from the touchpad and only cause a middle button press event when both the right and left buttons are pressed simultaneously.



      Question: How do I enable middle button emulation on a fresh default install of Ubuntu 17.10 (Gnome 3.26.2 & Wayland) ?



      Other info / things I've tried:
      My touchpad works well by default, but I keep on hitting the middle button by accident and that causes bad things to happen. I've tried switching up the Click-method with the gnome-tweak-tool, but I like those options even less. I've tried using xinput set-button-map and xinput set-int-prop but it seems to me that either it only works within certain applications (not system-wide) or that xinput does not work with Wayland. I've tried looking into libinput, but I'm unsure how use it.



      I've read some bug threads on this issue and libinput people say that if you enable middle button emulation, then that will effectively remove the middle button from area and only cause a middle button press event when both the right and left buttons are pressed simultaneously. This is the fix that I want to implement, but I can't figure out how to do it.



      https://wayland.freedesktop.org/libinput/doc/latest/middle_button_emulation.html
      https://wiki.archlinux.org/index.php/Libinput







      gnome touchpad 17.10 wayland






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jan 29 at 4:30









      chimeraha

      4317




      4317

























          active

          oldest

          votes











          Your Answer







          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "89"
          ;
          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: true,
          noModals: false,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          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%2faskubuntu.com%2fquestions%2f1000853%2ftouchpad-removing-middle-button-area-by-enabling-middle-button-emulation-ubun%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes















           

          draft saved


          draft discarded















































           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1000853%2ftouchpad-removing-middle-button-area-by-enabling-middle-button-emulation-ubun%23new-answer', 'question_page');

          );

          Post as a guest













































































          Popular posts from this blog

          pylint3 and pip3 broken

          Missing snmpget and snmpwalk

          How to enroll fingerprints to Ubuntu 17.10 with VFS491