Profile Manager 编辑

The software is obsolete and no longer being maintained. See http://kb.mozillazine.org/Profile_Manager for an alternative method of managing profiles.

Firefox and other XULRunner applications store user settings and data in special folders, called profiles.    Firefox provides a built-in applet to manage these profiles, but it will eventually be going away (see bug 214675), so a new standalone Profile Manager application has been created, which works with any XULRunner application, and has many features not found in Firefox's built-in version.

Downloading

Binaries

You can download Profile Manager builds from https://ftp.mozilla.org/pub/mozilla.org/utilities/profilemanager/1.0/

Note: There is no installer; just extract the files from the archive. 

System requirements:

  • Mac: an Intel processor, i386 or x86_64
  • Linux: any version capable of running Firefox 4.0
  • Windows: XP or later

Source code

You can download the source as well:

hg clone http://hg.mozilla.org/automation/profilemanager/

Instructions for building can be found in BUILD.txt.

Reporting Bugs

Profile Manager bugs should be reported in Bugzilla, under Testing -> ProfileManager.

Starting Profile Manager

To start Profile Manager, just launch profilemanager.exe (on Windows) or profilemanager-bin (on Linux and Mac).  By default, Profile Manager will manage Firefox profiles, but you can also use it to work with profiles of other xulrunner apps, like Thunderbird or SeaMonkey.  To use Profile Manager with an application other than Firefox, you need to launch it using the application's name as an argument, for example:

 

profilemanager-bin seamonkey

Profiles and application versions

Profile Manager manages two different lists: one of user profiles, and the other of application versions that can be used with the profiles.  By default, this means it tracks a list of Firefox applications that are installed on your system, and a list of profiles for use by Firefox.

 

An individual profile can be linked to a specific installation of Firefox, so that version of Firefox will be launched when that profile is selected.  For example, ProfileA might be linked with a copy of Firefox 3.6.10, while ProfileB might be linked with a copy of Firefox 3.5.3.

When launched, Profile Manager will look in some default locations for installed versions of Firefox (or other application you're using Profile Manager with).  Additionally, you can manually add Firefox versions by clicking the "Manage Firefox versions..." button:

 

Each Firefox version in the list has the following properties:  path, version, and default.  The default property indicates that this version of Firefox will be used with profiles that don't have a specific application version associated with them.

 

Creating a profile

To create a new profile, just click the New button from Profile Manager's toolbar.  A dialog will appear that allows you to specify the profile's name, and optionally the profile's path, and the version of Firefox (or other application) that will be used with this profile:

 

 

 

Launching Firefox with a profile

To launch Firefox with a specific profile, select the profile in the main window, and hit the "Start Firefox" button:  Firefox will be launched with that profile, and Profile Manager will terminate.  The version of Firefox which will be launched is indicated in the "Firefox version" dropdown in the Launch Options box:

 

 

There are several additional launch options available for Firefox.  These cause Firefox to be launched with various command-line arguments.  See Command Line Options for a description of these.

Launch OptionCommand Line Argument
Run Firefox in offline mode-offline
Run Firefox in safe mode-safe-mode
Start Firefox with a console-console
Start new instance-no-remote

Note: It isn't possible to start a second instance of Firefox without passing it the -no-remote command line argument.  For this reason, if you attempt to launch Firefox using Profile Manager, and it detects that another instance of Firefox is already running, it will automatically add the -no-remote argument for you, regardless of whether this launch option was checked.

 

Locked profiles

Some profiles may be shown as locked in the main window.   Such profiles are currently being used by an instance of Firefox.  If you attempt to perform any operation on a locked profile, you'll get a warning; if you choose to continue despite the warning, you may encounter errors or corrupt a profile.

 

It's strongly recommended to avoid operations on locked profiles.  If you need to do something with a locked profile, close the instance of Firefox which is using the profile first.

 

Backing up and restoring profiles

Profile Manager offers two different mechanisms for backing up and restoring profiles.

 

Backup folder

Profile Manager has a local backup folder where it can manage profile backups.  This is the easiest way to backup and restore profiles. 

To backup a profile:  select the profile you want to backup, and choose "backup to->backup folder" from the toolbar's Backup menu.  The profile will be backed up, and the backup will appear under the backups column in the main display:

 

To restore a profile:  select the backup in the main display, open the context menu, and choose "restore".  When you restore a profile, the backup is retained, so you can restore from the same backup at a later date.

To delete a backup:  select the backup in the main display, open the context menu, and choose "delete".

Profile archives

Profile Manager can also backup to and restore from .zip archives.  Profile Manager does not track these backups in the UI, but using profile archives is an easy way to move profiles between machines.

To backup a profile to an archive:  select the profile you want to backup, and choose "backup to->archive" from the toolbar's backup menu.  You'll be prompted for a name and location for the archive.

To create a profile from a profile archive:  Select "restore from->archive" from the toolbar's backup menu.  You'll be prompted for the location of the archive, and then for the name of the profile you'd like to create from the archive.

 

Other Operations

Context-clicking any profile in the profile list will cause a popup menu to appear with the following commands:

  • Copy - makes a copy of the profile using a name and location of your choice.
  • Delete - deletes the profile, and all files associated with it.
  • Properties - shows a dialog that displays the profile's path and last-modified date.
  • Rename - allows you to specify a new name for the profile.
  • Version - allows you change the default application version to be used with the profile.

 

Future Enhancements

  • Ability to install/uninstall/enable/disable extensions in profiles.
  • Ability to copy certain assets (e.g., bookmarks) between profiles.
  • Add 'Profile Size' to the Properties dialog.
  • Ability to reset a profile (return it to a default state excluding bookmarks and passwords).
  • Add option to specify the location of profiles.ini.

 

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
列表为空,暂无数据

词条统计

浏览:63 次

字数:10958

最后编辑:6年前

编辑次数:0 次

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文