Search Support

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.

Learn More

Lolu chungechunge lwabekwa kunqolobane. Uyacelwa ubuze umbuzo omusha uma udinga usizo.

Where is the default startup profile stored on Linux?

more options

Hello,

I'm creating a Linux distribution, based on Arch. So I have an installer which installs firefox and a .mozilla of a firefox instance I customised for the distro.

The thing is, when the installation is finished and I reboot and start firefox, I have this popup

I'd like to get rid of that and have firefox to start directly on my profile "default". For that, I'd like to modify directly the needed config file in which Firefox writes the default profile, but I can't find it.

So I'd like to know, in this popup, when I click on "Start Firefox" with the "Use the selected profile without asking at startup", what does Firefox do concretly? So that I can do it in advance in my custom installer instead.

(if needed I can send my .mozilla or my whole distro installer)

Thanks!

Hello, I'm creating a Linux distribution, based on Arch. So I have an installer which installs firefox and a .mozilla of a firefox instance I customised for the distro. The thing is, when the installation is finished and I reboot and start firefox, I have this popup I'd like to get rid of that and have firefox to start directly on my profile "default". For that, I'd like to modify directly the needed config file in which Firefox writes the default profile, but I can't find it. So I'd like to know, in this popup, when I click on "Start Firefox" with the "Use the selected profile without asking at startup", what does Firefox do concretly? So that I can do it in advance in my custom installer instead. (if needed I can send my .mozilla or my whole distro installer) Thanks!
Ama-screenshot ananyekiwe

Isisombululo esikhethiwe

I found why Firefox was starting with the profile manager, one of my other configuration files was opening it with -P and an inexistant profile.

Btw, to answer the main question, it is stored in ~/.mozilla/firefox/profiles.ini

Funda le mpendulo ngokuhambisana nalesi sihloko 👍 0

All Replies (6)

more options

You can discover the default location of Firefox profile folders on your system from the about:profiles page.

Regarding that dialog, hmm. I think Mozilla's official builds create a profile named random.default-release and bypass that dialog on first run. Perhaps there is a build or installer parameter for which behavior Firefox uses on first run. However, I have no idea what it would be.

This search didn't turn up the answer, but I can't help feeling it must be here somewhere:

https://firefox-source-docs.mozilla.org/search.html?q=%22profile+manager%22&check_keywords=yes&area=default

more options

I was not talking about the profile folder. The default profile doesn't even seem to be stored in ~/.mozilla because when I delete this folder and restart Firefox, the popup doesn't appear again, as if Firefox stored the information somewhere else. It's a bit uncomprehensible.

I'll check your link, I didn't know Firefox had docs, that's very good to know! Thanks!

more options

See also this thread on how to initialize a profile via autoconfig.cfg.

more options

I think I'll try to migrate to autoconfig then. Are there ways to install extensions with it? I'd like to have two extensions installed by default on my distro.

more options

For installing extensions and other settings supported by policies easiest and best it to use a policies.json file.

more options

Isisombululo Esikhethiwe

I found why Firefox was starting with the profile manager, one of my other configuration files was opening it with -P and an inexistant profile.

Btw, to answer the main question, it is stored in ~/.mozilla/firefox/profiles.ini

Okulungisiwe ngu victor.bonnelle