לאתר זה תהיה פונקציונליות מוגבלת בזמן שאנו מתחזקים אותו לשיפור החוויה שלך. אם מאמר מסויים לא פותר את הבעיה שלך וברצונך לשאול שאלה, קהילת התמיכה שלנו מחכה לעזור לך ב־Twitter תחת ‎@FirefoxSupport וב־Reddit תחת ‎/r/firefox.

חיפוש בתמיכה

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

מידע נוסף

Create DEFAULT firefox profile via command line before the first run

  • 1 תגובה
  • 1 has this problem
  • 30 views
  • תגובה אחרונה מאת cor-el

more options

Hi,

I want to setup a number of addons via command line on a completely fresh Firefox ESR installation on Linux (i.e. while Firefox hasn't been opened yet for the first time by the user). To do this, I first need a default profile directory, but the .mozilla folder is missing from the home path when I install Firefox (it is only created when I run the browser for the first time).

So I tried to create a profile immediately after installing FF:

firefox -createprofile default-esr

This creates the .mozilla folder containing a XXXXXXXX.default-esr directory and the profiles.ini file with the following contents:

[Profile0] Name=default-esr IsRelative=1 Path=XXXXXXXX.default-esr

[General] StartWithLastProfile=1 Version=2

However when I run FF for the first time later on, it completely skips this profile and instead generates a new default one, YYYYYYYY.default-esr-1, and profiles.ini is edited with the following contents:

[Profile1] Name=default-esr-1 IsRelative=1 Path=YYYYYYYY.default-esr-1

[Profile0] Name=default-esr IsRelative=1 Path=XXXXXXXX.default-esr Default=1

[General] StartWithLastProfile=1 Version=2

[Install3B6073811A6ABF12] Default=YYYYYYYY.default-esr-1 Locked=1

I can revert to the profile that I explicitly created by going to about:profiles and setting it again as the default, but this defeats the purpose because I want to prepare my profile via the command line without having to open FF to change a setting. Is this possible?

Hi, I want to setup a number of addons via command line on a completely fresh Firefox ESR installation on Linux (i.e. while Firefox hasn't been opened yet for the first time by the user). To do this, I first need a default profile directory, but the .mozilla folder is missing from the home path when I install Firefox (it is only created when I run the browser for the first time). So I tried to create a profile immediately after installing FF: firefox -createprofile default-esr This creates the .mozilla folder containing a XXXXXXXX.default-esr directory and the profiles.ini file with the following contents: [Profile0] Name=default-esr IsRelative=1 Path=XXXXXXXX.default-esr [General] StartWithLastProfile=1 Version=2 However when I run FF for the first time later on, it completely skips this profile and instead generates a new default one, YYYYYYYY.default-esr-1, and profiles.ini is edited with the following contents: [Profile1] Name=default-esr-1 IsRelative=1 Path=YYYYYYYY.default-esr-1 [Profile0] Name=default-esr IsRelative=1 Path=XXXXXXXX.default-esr Default=1 [General] StartWithLastProfile=1 Version=2 [Install3B6073811A6ABF12] Default=YYYYYYYY.default-esr-1 Locked=1 I can revert to the profile that I explicitly created by going to about:profiles and setting it again as the default, but this defeats the purpose because I want to prepare my profile via the command line '''without having to open FF''' to change a setting. Is this possible?

השתנתה ב־ על־ידי droidus

כל התגובות (1)

more options