userchrome.css + user.js files -> Location + How to create

Configuration Files

Some tips and tricks require that you edit configuration files manually. There are three files you should know about:

userChrome.css
Used to change the appearance of the browser.
userContent.css
Used to change the appearance of web pages.
user.js
Used to change various preferences.

All these files are plain text files you need to create in your profile folder and can be edited using a standard text editor, such as Notepad on Windows and gedit or kate on Linux

(explanation found @ http://www.mozilla.org/support/thunderbird/edit#content )

____________________________________________________________________________________________________________

  1. THUNDERBIRD userchromes.css & user.js LOCATIONS
  2. How to CREATE & EDIT a Thunderbird usrchrome.css file
  3. How to CREATE & EDIT a Thunderbird user.js file

____________________________________________________________________________________________________________

1. userchromes.css & user.js LOCATIONS:

Thunderbird userchrome.css location:

VISTA: C:\users\[User Name]\AppData\Roaming\Thunderbird\Profiles\xxxxxxxx.default\chrome
XP / 2000: C:\Documents and Settings\[User Name]\Application Data\Thunderbird\Profiles\xxxxxxxx.default\crhome

Thunderbird user.js location:

VISTA: C:\users\[User Name]\AppData\Roaming\Thunderbird\Profiles\xxxxxxxx.default
XP / 2000: C:\Documents and Settings\[User Name]\Application Data\Thunderbird\Profiles\xxxxxxxx.default

____________________________________________________________________________________________________________

The userChrome.css and user.js files aren’t there by default, so you must create them.

2. How to CREATE & EDIT a Thunderbird usrchrome.css file:

1. Open xplorer2 or explorer and Navigate to your Firefox profile folder:

(MAKE SURE HIDDEN FILES ARE SHOWN)

  • VISTA: C:\users\[User Name]\AppData\Roaming\Thunderbird\Profiles\xxxxxxxx.default
  • XP / 2000: C:\Documents and Settings\[User Name]\Application Data\Thunderbird\Profiles\xxxxxxxx.default

2. Open the folder called “chrome”

3. Create a new file — (In xporer2: select F7 or right click an empty spot, and choose “new file”.)

4. Name it: userchrome.css

* To open and edit the userchrome.css file: double click.

____________________________________________________________________________________________________________

3. How to CREATE a Thunderbird user.js file:

1. Open xplorer2 or explorer and Navigate to your Firefox profile folder:

(MAKE SURE HIDDEN FILES ARE SHOWN)

  • VISTA: C:\users\[User Name]\AppData\Roaming\Thunderbird\Profiles\xxxxxxxx.default
  • XP / 2000: C:\Documents and Settings\[User Name]\Application Data\Thunderbird\Profiles\xxxxxxxx.default

2. Create a new file — (In xporer2: select F7 or right click an empty spot, and choose “new file”.)

3. Name it: user.js

* To open and edit the user.js file: right-click it and select “edit”

____________________________________________________________________________________________________________

2 Responses to “userchrome.css + user.js files -> Location + How to create”

  1. Stephen Says:

    For this being so much for stupid people like myself, I would just like to inform you that the chrome folder is NOT in the user profile. It is located in the C:\Program Files\Mozilla Thunderbird\ directory.

  2. wimsical Says:

    The above information is for the Thunderbird userChrome.css

    From Mozilla (http://www.mozilla.org/support/thunderbird/edit#css):
    “userChrome.css

    This file sets the display rules for various elements in the Thunderbird user interface and is located in the sub-folder called chrome in your profile folder. This folder does not exist by default, so you need to create it before you can start adding your preferences”


Leave a Reply