Touchpad - Removing Middle Button Area by enabling Middle Button Emulation (Ubuntu 17.10 - Gnome 3.26 - Wayland)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9GURib1T8z7lCwjOGLQaGtrueEthgQ8LO42ZX8cOfTqDK4jvDDpKkLFwf2J49kYCMNW7d4ABih_XCb_2UXdq5fPJDkoyg7-8g_YfRUot-XnaXkNYycsNp7lA5_TW9td0FFpLQ2APzKcZ/s1600/1.jpg)
![Creative The name of the picture](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhYQ0N5W1qAOxLP7t7iOM6O6AzbZnkXUy16s7P_CWfOb5UbTQY_aDsc727chyphenhyphen5W4IppVNernMMQeaUFTB_rFzAd95_CDt-tnwN-nBx6JyUp2duGjPaL5-VgNO41AVsA_vu30EJcipdDG409/s400/Clash+Royale+CLAN+TAG%2523URR8PPP.png)
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
gnome touchpad 17.10 wayland
add a comment |Â
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
gnome touchpad 17.10 wayland
add a comment |Â
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
gnome touchpad 17.10 wayland
(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
gnome touchpad 17.10 wayland
asked Jan 29 at 4:30
chimeraha
4317
4317
add a comment |Â
add a comment |Â
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
active
oldest
votes
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
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
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
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