Profiles.ini file: Difference between revisions

From MozillaZine Knowledge Base
Jump to navigationJump to search
mNo edit summary
(Opening the Run box; example path: replaced WinXP with Win7)
Line 3: Line 3:
:''This article does not apply to Mozilla Suite or SeaMonkey 1.x''
:''This article does not apply to Mozilla Suite or SeaMonkey 1.x''


The ''profiles.ini'' file contains information used to keep track of  [[profile folder |profiles]] in  Firefox, Thunderbird, and {{SeaMonkey}} (2.0 and above). Whenever you use the [[Profile Manager]] to create, rename or delete a profile in these applications, the changes are reflected in the profiles.ini file.  The profiles.ini file is located inside the "Firefox" "Thunderbird" or "SeaMonkey" folder in the [[profile folder]] path for each application.  
The ''profiles.ini'' file contains information used to keep track of  [[profile folder |profiles]] in  Firefox, Thunderbird, and {{SeaMonkey}} (2.0 and above). Whenever you use the [[Profile Manager]] to create, rename or delete a profile in these applications, the changes are reflected in the profiles.ini file.  The profiles.ini file is located inside the "Firefox" "Thunderbird" or "SeaMonkey" folder in the [[profile folder]] path for each application.


Note that in Windows 7/Vista/XP/2000 you can use "Start -> Run" (you can press "Windows key+R" to open the Run box), then type in one of the following and click "OK"  to quickly open the appropriate folder:
'''On Windows:''' You can use "Start -> Run" or press [Windows key]+[R] to open the Run box, then type in one of the following and click "OK"  to quickly open the appropriate folder:
*'''Firefox:''' <tt>%APPDATA%\Mozilla\Firefox</tt>
*'''Firefox:''' <tt>%APPDATA%\Mozilla\Firefox</tt>
*'''Thunderbird:''' <tt>%APPDATA%\Thunderbird</tt>
*'''Thunderbird:''' <tt>%APPDATA%\Thunderbird</tt>
Line 53: Line 53:
|}
|}


'''IsRelative=1''' refers to the expected or "default" folder path that would be relative to the operating system, e.g.,   <tt>Path=Profiles/xxxxxxxx.default</tt> would be <tt>C:\Documents and Settings\<user name>\Application Data\Mozilla\Firefox\Profiles\xxxxxxxx.default</tt> for a [[Profile_folder#Firefox |Firefox profile folder]] in Windows XP.
'''IsRelative=1''' refers to the expected or "default" folder path that would be relative to the operating system.<br>
For example, <tt>Path=Profiles/xxxxxxxx.default</tt> would be <tt>C:\Users\<user name>\AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxxxx.default</tt>  
for a [[Profile_folder#Firefox |Firefox profile folder]] on Windows 7.


'''IsRelative=0''' refers to a custom profile location such as <tt>Path=D:\Mozilla\Firefox\Profiles\MyProfile</tt>  
'''IsRelative=0''' refers to a custom profile location such as <tt>Path=D:\Mozilla\Firefox\Profiles\MyProfile</tt>  

Revision as of 16:11, 1 February 2017

This article does not apply to Mozilla Suite or SeaMonkey 1.x

The profiles.ini file contains information used to keep track of profiles in Firefox, Thunderbird, and SeaMonkey (2.0 and above). Whenever you use the Profile Manager to create, rename or delete a profile in these applications, the changes are reflected in the profiles.ini file. The profiles.ini file is located inside the "Firefox" "Thunderbird" or "SeaMonkey" folder in the profile folder path for each application.

On Windows: You can use "Start -> Run" or press [Windows key]+[R] to open the Run box, then type in one of the following and click "OK" to quickly open the appropriate folder:

  • Firefox: %APPDATA%\Mozilla\Firefox
  • Thunderbird: %APPDATA%\Thunderbird
  • SeaMonkey 2.0+: %APPDATA%\Mozilla\SeaMonkey

Since the profiles.ini file is a plain-text file, it can be easily opened, viewed and edited, if necessary, with a text editor such as Notepad. Caution: An "already running but is not responding" error can occur as a result of incorrect editing of the "profiles.ini" file (bug 278860). Always make a backup copy before editing the profiles.ini file.

If you delete the profiles.ini file, a new default profile will be created the next time you start the application and a new profiles.ini file will be generated that references the new profile. The Profile Manager will only show the newly-created profile and the old profiles will no longer be listed. For information about adding profiles to the Profile Manager or accessing profiles that are no longer listed, see the articles, Moving your profile folder and Starting your Mozilla application with a specified profile.

Here are two examples of the profiles.ini file contents [1]:

  • A profiles.ini file for a single profile in the "default" or expected profile location:
[General]

StartWithLastProfile=1

[Profile0]
Name=default
IsRelative=1
Path=Profiles/qioxtndq.default

  • A profiles.ini file when multiple profiles exist, including an original "default" profile and additional profiles in "custom" locations:
[General]

StartWithLastProfile=1

[Profile0]
Name=default
IsRelative=1
Path=Profiles/default.cta

[Profile1]
Name=alicew
IsRelative=0
Path=D:\Mozilla\Firefox\Profiles\alicew
Default=1

[Profile2]
Name=sheldon
IsRelative=0
Path=D:\Mozilla\Firefox\Profiles\sheldon

IsRelative=1 refers to the expected or "default" folder path that would be relative to the operating system.
For example, Path=Profiles/xxxxxxxx.default would be C:\Users\<user name>\AppData\Roaming\Mozilla\Firefox\Profiles\xxxxxxxx.default for a Firefox profile folder on Windows 7.

IsRelative=0 refers to a custom profile location such as Path=D:\Mozilla\Firefox\Profiles\MyProfile

StartWithLastProfile=1 indicates that the "Don't ask at startup" option is selected.

Default=1 refers to the last selected profile.

See also

External links