Where did you install Firefox from? Help Mozilla uncover 3rd party websites that offer problematic Firefox installation by taking part in our campaign. There will be swag, and you'll be featured in our blog if you manage to report at least 10 valid reports!

Eheka Pytyvõha

Emboyke pytyvõha apovai. Ndorojeruremo’ãi ehenói térã eñe’ẽmondóvo pumbyrýpe ha emoherakuãvo marandu nemba’etéva. Emombe’u tembiapo imarãkuaáva ko “Marandu iñañáva” rupive.

Learn More

Create DEFAULT firefox profile via command line before the first run

  • 1 Mbohovái
  • 1 oguereko ko apañuái
  • 30 Hecha
  • Mbohovái ipaháva 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?

Moambuepyre droidus rupive

Opaite Mbohovái (1)

more options