How to disable middle mouse button in linux?

As I plugged in my Microsoft Bluetooth Wireless Mouse 5000 into my working laptop, I had the unplesant surprise that the middle button was causing text to be pasted in eclipse editor whenever I would scroll upr or down a page.

To fix this I added the foolowing line in my /etc/profile:

xmodmap -e "pointer = 1 0 3 4 5"

More information about mouse configuration can be found at:

http://linuxreviews.org/howtos/xfree/mouse/

 

Rate: 

0
No votes yet