Move mozilla data folder ~/.mozilla on Linux
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.
被選擇的解決方法
Firefox uses profiles.ini (and installs.ini) in the default ~/.mozilla location to find all registered profiles.
Did you try to create a symlink ?
從原來的回覆中察看解決方案 👍 2所有回覆 (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.
選擇的解決方法
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.