• Marmaduke@lemmy.world
    link
    fedilink
    arrow-up
    21
    ·
    edit-2
    2 days ago

    It’s important to note that apparently there’s no automatic migration path and this will be only used for new profiles, so you have to migrate manually.

    • redjard@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      11
      arrow-down
      1
      ·
      2 days ago

      In practice that should mean running mv ~/.mozilla ~/.config/mozilla.
      Of course the old directory will still be detected and used if present, probably for a long time to come.

      • Samueru_sama@programming.dev
        link
        fedilink
        English
        arrow-up
        11
        ·
        edit-2
        2 days ago

        they are not following the spec if this is the solution.

        • data files (like extensions, sessions, etc) need to go in XDG_DATA_HOME.

        • config files (user preferences) need to go in XDG_CONFIG_HOME.

        • cache files need to go in XDG_CACHE_HOME.

        • log files need to go in XDG_STATE_HOME.

        also hopefully they do check the variables and not just hardcoded ~/.config, ~/.local/share, etc

        • redjard@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          9
          arrow-down
          1
          ·
          2 days ago

          I think they mostly are.
          Cache is already in .cache/mozilla, so usually there is no change hence I didn’t mention it. They did move the cache to the XDG_CACHE_HOME by default. And yes they are using the XDG variables including the recommended fallback values.

          The line between data and config has always been blurred, Most data in the browser is “data” until a user overrides it. Even extension files presence is linked with their configured state of being installed.
          For log files I’m not sure anyone follows that. Besides firefox barely has any plain logs, I think having those in the profile is fine.
          Currently it’s all in XDG_CONFIG_HOME

          • soc@programming.dev
            link
            fedilink
            English
            arrow-up
            2
            arrow-down
            4
            ·
            1 day ago

            Always good to know that after sitting on it for 2 decades, shipping some half-assed shit was the best they could do.

            • Ephera@lemmy.ml
              link
              fedilink
              English
              arrow-up
              5
              arrow-down
              2
              ·
              1 day ago

              The implications would be massive and I do not think most power users would benefit from it being broken up like that. Being able to backup or sync your entire Firefox profile by copying one directory is quite useful.