• cdombroski
    link
    fedilink
    English
    arrow-up
    5
    ·
    4 hours ago

    Here’s the closest thing we have to a solution: xdg-ninja

    It looks in your home for known files and folders outside of the proper xdg locations and tells you if and how you can move them to their proper place

  • sga@lemmings.world
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 hours ago

    I have recentlly created a data directory in my home dir, and moved almost everything I need to it. Even configs and program data are in it somewhere I find ok, and symlinked to the xdg dirs (I know i can make my new location the xdg dir for config and data, but this way I selectively add stuff to my now main config, so it remains more pristine)

  • JTskulk@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    6 hours ago

    I wish everything was put into ~/.config or whatever the proper place was. Oh you’re used to your ssh config being ~/.ssh as it has for years? So make a symlink! Everyone wins.

  • MouldyCat@feddit.uk
    link
    fedilink
    English
    arrow-up
    44
    ·
    16 hours ago

    fraid I generated a tl;dr for this rather verbose article:

    “Home directories are a mess because too many apps ignore XDG spec and dump dotfiles everywhere. The problem isn’t just legacy software—new apps do it too, often out of ignorance or laziness. Windows has similar issues with profile folders. Fixing it requires devs to actually follow standards, but many resist due to inertia or ‘my way is better’ thinking. Users should push back and demand proper XDG compliance to keep $HOME clean.”

    • HiddenLayer555@lemmy.ml
      link
      fedilink
      English
      arrow-up
      3
      ·
      edit-2
      8 hours ago

      Why would anyone bother writing it like that? That just seems like int main() with extra steps. Like does auto enable some compiler optimisation of the return type that I’m not aware of?

      • Sonotsugipaa@lemmy.dbzer0.com
        link
        fedilink
        English
        arrow-up
        2
        ·
        6 hours ago

        Defining the return type that way can be used when dealing with template sorcery - there’s no use for it here though, not even for readability in any way.

          • Feyd
            link
            fedilink
            arrow-up
            1
            ·
            4 hours ago

            They’re useful for templates because the trailing version is resolved later

          • _____@lemm.ee
            link
            fedilink
            English
            arrow-up
            3
            ·
            8 hours ago

            because explicitly declaring types can be redundant, if the compiler knows a lot of the times you should also know

            also because some types are extremely cursed: see std views/ranges

  • umbrella@lemmy.ml
    link
    fedilink
    arrow-up
    32
    arrow-down
    1
    ·
    edit-2
    19 hours ago

    yes please. its a big peeve for me and thats not even exclusive to linux.

    its dumb to be so contrarian about something like where the directory will go. be predictable for us and just respect the fucking standard, it will make everyones lives that little bit easier in the long run. mobile oses simply just force them to write in a specific directory, maybe its necessary here too.

    • Giooschi@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      arrow-down
      1
      ·
      12 hours ago

      I hate all the cruft in my home directory, but I also hate when stuff suddently stop working after an update, or when all the documentation online talks about something that doesn’t work on my system or is not there anymore. Developers are the ones that will have to deal with people with these issues, so I can see why they are reluctant to implement the naive solutions that some ask for.

  • Sonotsugipaa@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    11
    arrow-down
    1
    ·
    edit-2
    17 hours ago

    While I enthusiastically agree with the whole thing, I can somewhat get behind RenderDoc’s “making it configurable would take some work”.

    However, Flatpak’s “fucking cry about it” attitude is why I’ll avoid using Flatpak for as long as possible.