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

Move mozilla data folder ~/.mozilla on Linux

  • 3 replies
  • 1 has this problem
  • 144 views
  • Last reply by Kevin

more options

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.

Chosen solution

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

Did you try to create a symlink ?

Read this answer in context 👍 2

All Replies (3)

more options

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.

Helpful?

more options

Chosen Solution

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

Did you try to create a symlink ?

Helpful?

more options

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.

Helpful?

Ask a question

You must log in to your account to reply to posts. Please start a new question, if you do not have an account yet.