Making Firefox Not Suck

(in X Windows / X11 / Unix)

Note that all these preferences are in ~/.mozilla/firefox/????????.default/prefs.js

To be able to scroll with a middle-click, like in IE 4.0:

user_pref("general.autoScroll", true);

This makes it so you can middle click in a page without causing the browser to load the [non]URL you have on your clipboard. Without this, the above will not work very well.

user_pref("middlemouse.contentLoadURL", false);

This one just irks me:

user_pref("browser.enable_automatic_image_resizing", false);

Turn off IPv6 DNS. The world is not ready for it. This also prevents stalling on DNS idiocy.

user_pref("network.dns.disableIPv6", true);

Install webfonts / corefonts and do:

user_pref("", "Courier New");
user_pref("", "Arial");
user_pref("", "Times New Roman");

This will make things look more like a certain other kind of Windows but since we're talking about X11 and fonts here, that's actually a good thing.

To prevent the download manager window from opening when you're saving something you've already downloaded/cached:

user_pref("", true);
user_pref("", 1000);

This delays opening the download manager by 1000msec. If saving takes less time, the closeWhenDone kicks in before the downloads window is even opened.

Tip: Did you know that you can make your Linux/BSD look like Mac OS X by completely disabling font hinting and anti-aliasing all your text instead?

Add the following to your ~/.fonts.conf:

<?xml version="1.0"?>
<!DOCTYPE fontconfig SYSTEM "fonts.dtd">
 <match target="font">
  <edit mode="assign" name="hinting">

Anti-aliasing should be enabled by default. If it's not, add:

 <match target="font">
  <edit mode="assign" name="antialias">

You might want to enable sub-pixel antialiasing:

 <match target="font">
  <edit mode="assign" name="rgba">

This is turned on by default by the nv driver (but not the proprietary nvidia driver) when it detects that the screen is connected via DVI.

If you don't have an LCD screen, or it's not connected by DVI, you probably won't want to use the above as it will make things look worse instead of better.

Note that in order for .fonts.conf to take effect, you will need to re-start Firefox, or whatever other app is using fontconfig.

Valid XHTML 1.1
Copyright © 2006 Emil Mikulic.
$Date: 2007-09-04T13:05:22.366119Z $