Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

Ce site disposera de fonctionnalités limitées pendant que nous effectuons des opérations de maintenance en vue de vous proposer un meilleur service. Si un article ne règle pas votre problème et que vous souhaitez poser une question, notre communauté d’assistance est prête à vous répondre via @FirefoxSupport sur Twitter, et /r/firefox sur Reddit.

Rechercher dans l’assistance

Évitez les escroqueries à l’assistance. Nous ne vous demanderons jamais d’appeler ou d’envoyer un SMS à un numéro de téléphone ou de partager des informations personnelles. Veuillez signaler toute activité suspecte en utilisant l’option « Signaler un abus ».

En savoir plus

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

  • 4 réponses
  • 34 ont ce problème
  • 30 vues
  • Dernière réponse par 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.

Toutes les réponses (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

Modifié le par 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.