• jeremyparker@programming.dev
    link
    fedilink
    arrow-up
    29
    ·
    edit-2
    9 months ago

    I love you all very much but just please be aware that “the floor” is literally where the files are supposed to go, according to the spec. I don’t like it, you don’t like it, nobody likes it. But that’s why it’s happening.

    Relevant section quoted for the lazy:

    User specific configuration files for applications are stored in the user’s home directory in a file that starts with the ‘.’ character (a “dot file”). If an application needs to create more than one dot file then they should be placed in a subdirectory with a name starting with a ‘.’ character, (a “dot directory”). In this case the configuration files should not start with the ‘.’ character.

    • ZephrC@lemm.ee
      link
      fedilink
      arrow-up
      25
      ·
      9 months ago

      You know everything on that site was written in 2004 or earlier, right? That hasn’t been the relevant spec for a long, long time now. We use xdg for that now. Configs go in xdg_config_home.

        • ZephrC@lemm.ee
          link
          fedilink
          arrow-up
          9
          ·
          9 months ago

          We do have both. That’s the whole complaint. There are still major applications using the decades obsolete standard. It was changed because it leaves your home directory a cluttered, useless mess. Also, if you really want your dotfiles in your home directory you can just set your xdg_config_home to your home directory instead of its default of .config.