4

How do I disable pasting when clicking the middle mouse button/wheel?

view full story
linux-howto

http://askubuntu.com – I use the mouse wheel a lot to scroll up and down in my documents and files. Having moved from Windows, I didn't realise that the middle mouse button/wheel, when clicked, pastes highlighted text where the mouse is pointing. I've been hit with this several time, where my scripts have failed because of a paste that takes me a while to discover. After several attempts at disabling the middle mouse button, I succeedded with: xmodmap -e "pointer = 1 25 3 4 5 6 7 8 9" I found this on this site, which also states how to persist it. The problem with this feature, is that I rely on other elements (HowTos)