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 t… (funda kabanzi)
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:
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:
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?