Mozilla Firebird Help

Creating A Brand New Tomorrow, Today!

Editing Configuration Files

Many of the tips and tricks mentioned on this site require you to edit configuration files for Mozilla Firebird. There are three files that you should know about:

All these files are plain text files stored in your profile folder, and can be edited using a standard text editor. For example, Notepad or Texturizer on Windows and gedit or kate on Linux.


The Profile Folder

Before the configuration files are presented, you should know how to find your "profile folder", as it is commonly called. The profile folder is where Mozilla Firebird saves all your settings and refers to a location on your hard drive.

On Windows 95/98/Me, the path is usually C:\WINDOWS\Application Data\Phoenix\Profiles\default\xxxxxxxx.slt\, where xxxxxxxx is a random string of 8 characters. Just browse to C:\WINDOWS\Application Data\Phoenix\Profiles\ and the rest should be obvious.

On Windows 2000/XP, the path is usually %AppData%\Phoenix\Profiles\default\xxxxxxxx.slt\.

On Linux, the path is usually ~/.phoenix/default/xxxxxxxx.slt.

On MacOS X, the path is usually ~/Library/Phoenix/Profiles/default/xxxxxxxx.slt.

Note: Mozilla Firebird is capable of handling more than one user and thus, more than one profile. The path examples above refers to the default profile that is automatically created when you start Mozilla Firebird for the first time. You can manage any number of profiles by using the Profile Manager.

%AppData% is a shorthand for the Application Data path on Windows 2000/XP. To use it, simply enter %AppData% in a normal Explorer address field and press Enter. You will be instantly taken to the "real" folder, which is normally C:\Documents and Settings\[User Name]\Application Data.


user.js

This is the main preferences file for Mozilla Firebird and is located in your profile folder. The file does not exist by default, so you need to create it before you can start adding your preferences.

Windows users: If you know how to create a file, just skip this section. Before you can create the file, you must make sure that you can see the file type extensions in Windows. Start Explorer (just click on the My Computer icon on your desktop) and select File > Tools > Folder Options.... Click the View tab and uncheck the Hide extensions for known file types option. Now, go to your profile folder and select File > New > Text Document. The default name New Text Document.txt should be displayed. Change the name to user.js (click Yes on the file type warning that appears).

Linux users: I assume that you know how to create a file if you're running Linux. Just create user.js in your profile folder.

It's also possible to edit the preferences normally stored in user.js by entering about:config in the address bar and press Enter. You will see a list of all available preferences in Mozilla Firebird (many of them are derived from Mozilla and are not used but not yet removed). Double-click on a preference to change its value. The changes you make here will be immediately stored in prefs.js, which is a file automatically generated by Mozilla Firebird.


userChrome.css

This file sets the display rules for various elements in the Mozilla Firebird user interface and is located in the sub-folder called chrome in your profile folder. As with user.js, this file does not exist by default, so you need to create it before you can start adding your preferences. There's actually an example file that exists by default, called userChrome-example.css. Basically, you can just rename that file by removing the -example part.


userContent.css

This file sets the display rules for web content and is located in the sub-folder called chrome in your profile folder. As with user.js, this file does not exist by default, so you need to create it before you can start adding your preferences. As with userChrome.css, there is an example file that exists by default, called userContent-example.css. Basically, you can just rename that file by removing the -example part.

© 2002-2003 David Tenser.