[MATE][SOLVED] How to disable middle mouse button simulation?

Questions about hardware,drivers and peripherals
Forum rules
Before you post please read how to get help
Post Reply
User avatar
eiver
Level 5
Level 5
Posts: 565
Joined: Fri Jan 23, 2009 5:51 am

[MATE][SOLVED] How to disable middle mouse button simulation?

Post by eiver » Wed May 23, 2018 2:20 pm

Using Linux Mint 18.3 x64 Mate

My mouse does have a middle button/wheel, which works, so I do not need middle click simulation, when I press left+right buttons. How can I disable that?
I actually found a ton of answers to this problem over the Internet, but most of them seem outdated and none of them work, like:

- Setting Emulate3Buttons to "no" in xorg.conf
I do not have that file. I do have files in /usr/share/X11/xorg.conf.d, but setting Emulate3Buttons there had no effect

- Looking for some GUI way
Any packages that I found are not in the repos any more

- Using xinput command
I found a way to disable button completely or remap a button, but that's not what I want

Many answers are mixed between this and another problem people seem to have, that is disabling middle click paste. That is also not what I want to fix. I want to disable left+right=middle. But middle itself should work normally.
Last edited by eiver on Thu May 24, 2018 5:17 am, edited 1 time in total.

User avatar
xenopeek
Level 24
Level 24
Posts: 22873
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: [MATE] How to disable middle mouse button simulation?

Post by xenopeek » Thu May 24, 2018 12:27 am

On MATE you can disable middle mouse button emulation with this command run from the terminal:
gsettings set org.mate.peripherals-mouse middle-button-enabled false

It's added to the MATE mouse settings in a future version of MATE. See this change from 10 days ago: https://github.com/mate-desktop/mate-co ... r/pull/347
Image

User avatar
eiver
Level 5
Level 5
Posts: 565
Joined: Fri Jan 23, 2009 5:51 am

Re: [MATE] How to disable middle mouse button simulation?

Post by eiver » Thu May 24, 2018 5:17 am

Oh wow. That totally worked. Thank you so much. I was starting to pull my hair out with this problem. :D

microw
Level 1
Level 1
Posts: 5
Joined: Mon May 14, 2018 1:07 pm

Re: [MATE][SOLVED] How to disable middle mouse button simulation?

Post by microw » Sat Jul 21, 2018 5:59 pm

Can I enable the middle mouse button by typing true and the end of the command? I need my middle mouse button for blender... Thanks ahead of time!!

User avatar
xenopeek
Level 24
Level 24
Posts: 22873
Joined: Wed Jul 06, 2011 3:58 am
Location: The Netherlands

Re: [MATE][SOLVED] How to disable middle mouse button simulation?

Post by xenopeek » Sun Jul 22, 2018 12:52 am

Yes, if it is not already true. Check first what its current value is with:
gsettings get org.mate.peripherals-mouse middle-button-enabled

If it's already true something else is the matter.
Image

Post Reply

Return to “Hardware Support”