It's very annoying especially when closing tabs in a browser. If a middle mouse button is pressed to often then you accidentally minimize a browser's window. That's not ok.
Ubuntu – How to disable window minimizing on middle mouse button click in xubuntu
mousexubuntu
Best Answer
To disable window minimizing on middle mouse button, run the following command in terminal:
To revert it back, run:
To disable browser's tab to close on middle click, see: https://superuser.com/questions/113048/how-do-i-prevent-firefox-from-closing-tabs-on-middle-click
You can also to use
xbindkeys
. To install it, run in terminal:Then the next two lines must be placed in
~/.xbindkeysrc
file:And finally, you must to clear current bindings with
killall xbindkeys
and then just executexbindkeys
to restart it.