how to disable mouse wheel paste function on linux.

Anonymous
Topic 197695

This might be useful to those of us running Linux.

Tired of scrolling the mouse wheel only to have it do a paste. Depending on your "preferences" in Firefox this can result in opening a new tab or in resetting your current url. You can disable the action by using your favorite editor (vi in my case) and doing the following in your home directory:

1. vi .Xmodmap (note the dot at the beginning)
2. add the following line:
pointer = 1 6 3 4 5 2
save the file
3. log out of the desktop and log back in.

Please note that while this will fix "paste" problem it might also effect some other "wheel" functions in other applications.

This had been a real pain in the past. Not any more.

Note: I am using a Microsoft mouse on Linux.