搜尋 Mozilla 技術支援網站

防止技術支援詐騙。我們絕對不會要求您撥打電話或發送簡訊,或是提供個人資訊。請用「回報濫用」功能回報可疑的行為。

了解更多

Move mozilla data folder ~/.mozilla on Linux

  • 3 回覆
  • 1 有這個問題
  • 291 次檢視
  • 最近回覆由 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.

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)

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.

more options

選擇的解決方法

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

Did you try to create a symlink ?

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.