为提升您的使用体验,本站正在维护,部分功能暂时无法使用。如果本站文章无法解决您的问题,您想要向社区提问的话,请到 Twitter 上的 @FirefoxSupport 或 Reddit 上的 /r/firefox 提问,我们的支持社区将会很快回复您的疑问。

搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

How to force Firefox to use a default profile on startup?

  • 4 个回答
  • 34 人有此问题
  • 30 次查看
  • 最后回复者为 Lyndhurst

more options

I have two profiles for firefox. But sometimes Firefox starts with the first active, sometimes with the second. The question is: How can I force firefox to use the profile "default" as the default profile on startup when there is no other instance running? When I want to use a second profile in parallel I use the command "firefox -P --no-profile" to start the profile selector.

I have two profiles for firefox. But sometimes Firefox starts with the first active, sometimes with the second. The question is: How can I force firefox to use the profile "default" as the default profile on startup when there is no other instance running? When I want to use a second profile in parallel I use the command "firefox -P --no-profile" to start the profile selector.

所有回复 (4)

more options

Use the profile manager to set the default profile that you want to use and tick the box to always use that choice. After having set that you need to revert from using the Profile Manager and only use desktop shortcut that specifies the profile to use to avoid changing that setting.

The default profile set in profiles.ini is used when you click a link in an external program and Firefox isn't open yet. Be careful with using the -no-remote switch as that makes that Firefox instance invisible to links clicked in external programs.

http://kb.mozillazine.org/Opening_a_new_instance_of_Firefox_with_another_profile

more options

Also, the Profile with the line Default=1 in the profiles.ini file is the Profile that Firefox will use as the "default" Profile for external programs; the "name" of the Profile has nothing to do with it.

more options

Also be sure that StartWithLastProfile is set 0 in profiles.ini so firefox does not change default profile every time shuts down.


[General]

StartWithLastProfile=0

由zarezadeh于修改

more options

You will need to open "profiles.ini" in Wordpad or Notepad and edit it. Please note that I am runnig Windows 7 and Firefox 11. On my computer, the path to my profile.ini file is: "c:\Users\Lyndhurst\AppData\Roaming\Mozilla\Firefox". When you open the file you should see your profiles (1 or more) and the profile that opens first has an extra line that says "Default=1". You need to move that line to the profile that you want to open first, either by using "cut and paste" or by deleting it and re-typing it. Hope this helps.