Posts

Showing posts from March, 2019

How to Disable Middle Mouse Button in Ubuntu / Debian Linux

Image
Like many things in Linux+GNU some  users absolutely love the middle click - close-tab or paste feature of the mouse being set by default. Others absolutely hate it! The problem in this case is:  apparently there is no easy way to disable the mouse middle-click through any graphical settings tools of Ubuntu. But as always, with Linux+GNU - there is a way. Here's a quick post about disabling the middle mouse button in Ubuntu or Debian Linux. This method would likely work with non Debian based distros as well, but I haven't tested it. I've seen a few approaches to accomplish the disabling but the one I was able to get working is by using a custom xorg.conf file in Ubuntu 18.10. The first thing one needs to figure out to disable the middle click is what button it's numbered as on in the 'xinput' command. Once we find that out, we set that number position to '0'. You may need to install xinput with: $ sudo apt install xinput  Try this...