home :: technology :: linux :: FireFoxMiddleClick.txt

May 31, 2004

HowTo: Close Tabs in Firefox with a Middle Click on Linux

This simple little fix saved me a lot of headaches on Linux.

When using Firefox on windows, you open an close tabs with a simple middle click. Once you try it, you'll never go back to regular browsing again.

On Linux, Firefox inherits the default "middleclick" action from the desktop environment for all actions. When you middle-click on the tabs, instead of closing, the "contentLoadURL" action is invoked, causing mild chaos.

To make Firefox behave like it does on Win32, simply go to the advanced options page by entering "about:config" in the URL bar in Firefox.

You'll see more options than you know what to do with. Don't panic. Simply type "middle" in the "Filter" bar under your tabs. Now change middleclick.contentLoadURL to false.

That's it. The tabs should now work just as they do on Windows, closing when you middle click on them, and making your life easy!.

Writebacks:

TrackBack ping me @ http://www.glitchnyc.com/static/technology/linux/FireFoxMiddleClick.trackback

Writebacks have been temporarily diabled due to comment spam. I'll try to get it figured out in the next month or so, but for now, you can comment on recent articles on my syndicated livejournal account

You can also email me at comments2005 A T glitchnyc D 0 T com