• Lunya \ she/it@iusearchlinux.fyi
    link
    fedilink
    arrow-up
    6
    ·
    6 months ago

    my favourite part is Steam throwing in a symlink, a broken symlink, and a directory of 4 files and 7 more symlinks that all point to a more reasonable point in ~/.local/share/steam/

  • 5714@lemmy.dbzer0.com
    link
    fedilink
    arrow-up
    3
    ·
    edit-2
    6 months ago

    It’s one thing when they have legacy hardcode mountains preventing a standardisation, but I really dislike developers who just disagree with the standard and take away the choice as well and justify it with some made up problems with that standard.

    https://github.com/minetest/minetest/issues/864

    https://bugzilla.mozilla.org/show_bug.cgi?id=735285

    etc…

    Archlinux Wiki even has an article about those.

    https://wiki.archlinux.org/title/XDG_Base_Directory#Hardcoded

    • merthyr1831@lemmy.world
      link
      fedilink
      arrow-up
      4
      ·
      6 months ago

      who would win?

      dozens of conflicting standards on where to store files over years of poorly enforced linux development practice

      vs

      some symlink bois


      for real tho, I discovered gnu-stow the other day and it looks like the ideal solution for this sorta stuff

  • pathief@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    edit-2
    6 months ago

    If plasma could put all their damn files inside a “plasma” folder that’d be great too.

    • Refurbished Refurbisher@lemmy.sdf.org
      link
      fedilink
      arrow-up
      4
      ·
      6 months ago

      The Windows equivilent would be instead of putting application data in the AppData folder, it throws it in Documents, My Games, or just in the home folder directly.

        • nexussapphire@lemm.ee
          link
          fedilink
          English
          arrow-up
          1
          ·
          6 months ago

          Better, it could be literally anywhere and there’s nothing you can do about it. Also symlinks practically look like regular folders and files to most apps.

          • Fenrisulfir@lemmy.ca
            link
            fedilink
            arrow-up
            1
            ·
            6 months ago

            There’s no game related dirs in your My Documents dir? Most don’t even use My Games they just dump directly into My Documents. I guarantee most game devs don’t understand the difference between local and roaming either. They just put shit randomly wherever they want

              • Fenrisulfir@lemmy.ca
                link
                fedilink
                arrow-up
                0
                ·
                6 months ago

                Linux is just as bad. You actually got anything in $XDG_CONFIG_HOME or is your /home just a dot file dumping ground?

                • Victor@lemmy.world
                  link
                  fedilink
                  arrow-up
                  1
                  ·
                  edit-2
                  6 months ago

                  lol, this almost reads as a personal attack.

                  I have almost nothing in my home directory, no. Been applying this to clean it up even further. I want my chezmoi dotfiles repo to be clean. Especially not games’ files since I run Steam through flatpak. It does put things in ~/.var but at least it’s collected to one point.

                  Not really a problem of “Linux” or “Windows”, but more of “developers”.

  • jeremyparker@programming.dev
    link
    fedilink
    arrow-up
    1
    arrow-down
    1
    ·
    edit-2
    6 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
      2
      ·
      6 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
          2
          ·
          6 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.