Making Linux Firefox Ignore the Middle Mouse Button
This may sound kinda silly, but it's possible to make it so that the middle mouse doesn't do what it does in X - namely, paste whatever you selected.
The problem with Firefox is that, frequently, this means you'll be going to some random website. When you type random text into the URL bar, Firefox will run a Google "I'm Feeling Lucky" search on it - effectively taking you to whatever the first result is.
This is kinda cool, in that you can actually find the right website you want by doing this occasionally (try "news for nerds" some time), but if you've got something random selected (text you just deleted, some weird command), you'll wind up going someplace completely random.
So, here's how to make the middle mouse button act like it does under Windows.
about:config in the address bar. (Might want to open a new tab for that.) No, I can't just link it, Firefox ignores "about:" URLs from webpages.
Now, filter on "
middlemouse". Set "
middlemouse.contentLoadURL" to false. (If you want to disable the middle mouse in text fields too, set "
middlemouse.paste" to false too.) Note that middle clicking on tabs will now cause them to close, instead of having the text currently selected navigated to.
Since you've disabled pasting URLs into random pages, you may be interested in enabling autoscroll, which allows you to scroll the page by clicking the middle mouse button and moving the mouse up to scroll up and down to scroll down. This can be easily enabled in the Advanced section of the Preferences window, or you can filter on "
autoscroll" in the "
about:config" window and set "
general.autoScroll" to true.