Even after all these years firefox keeps using mozilla hidden directory instead of XDG base directories. For how long will this continue?

Watch https://bugzilla.mozilla.org/show_bug.cgi?id=259356 for updates to this request.

~/.mozilla/firefox/ is a mish-mash of data, config, and cache. It's not simple to unravel that. Beyond that, it would be a breaking change, and that requires more caution.

credit: u/yo_99 on Reddit.

original link: https://old.reddit.com/r/firefox/comments/vkgk78/why_does_firefox_keeps_using_mozilla_directory/

all 7 comments

sorted by: hot top controversial new old
[–] 3 points 3 years ago (1 child)

Reminds me of when Windows made a designated folder for game saves.

And then every dev decided to keep placing saves in the Documents folder or AppData folder

  • source
  • hideshow 2 child comments
  • [–] 2 points 3 years ago*

    This is one of the reasons I use Flatpak whenever I can. I've revoked all Flatpak apps the permission to access the root of my home directory via a global override, so anything they wanted to do in there (e. g. create folders, place malicious code in my ~/.bashrc, etc.), actually happens in ~/.var/app//.

  • source
  • [–] 1 point 3 years ago (1 child)

    Many rather treat standards as suggestions 😒.
    Jokes aside, I have wondered what prevents them from doing it too, I guess they probably don't think it's important enough to really work out how to split up the files.
    Then again, moving the whole folder to ~/.local/share/mozilla would have been decent enough as a temporary solution

  • source
  • hideshow 2 child comments
  • [–] 0 points 3 years ago (1 child)

    I think moving the folder under ~/.local before splitting the cache folders out is a bad idea. Many people will have specific backup or sync solutions in place that want to include config, recreate data, and exclude cache, so the XDG spec has separate locations for them.

  • source
  • parent
  • hideshow 2 child comments
  • [+] -1 points 2 years ago