Windows 10 reached EOS (end of support) on October 14, 2025. If you are on Windows 10, see this article.

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
Hierdie gesprek is in die argief. Vra asseblief 'n nuwe vraag as jy hulp nodig het.
Solved In die argief

Move mozilla data folder ~/.mozilla on Linux

LluisE

I'm trying to move the ~/.mozilla folder to an arbitrary location on my system. I have seen ways to relocate profiles data (with the "--profile" parameter), but firefox keeps creating the ~/.mozilla folder. How can I give firefox a diferent path and avoid haveing ~/.mozilla on my home? I'm using Firefox ESR 68.7 on GNU/Linux Thank you.

I'm trying to move the ~/.mozilla folder to an arbitrary location on my system. I have seen ways to relocate profiles data (with the "--profile" parameter), but firefox keeps creating the ~/.mozilla folder. How can I give firefox a diferent path and avoid haveing ~/.mozilla on my home? I'm using Firefox ESR 68.7 on GNU/Linux Thank you.

All Replies (3)

As far as I know, that folder will always be created (regardless of where your profile folder is actually located). This is because Firefox stores a file in that directory with a list of profiles and where they are located.

Gekose oplossing

Firefox uses profiles.ini (and installs.ini) in the default ~/.mozilla location to find all registered profiles.

Did you try to create a symlink ?

I would have prefered to remove the entry entierly. But as Wesley Branton pointed out, I now see that is not going to be possible.
However, I have created a symlink and it works fine, thanks cor-el.