AppData folder: am I a joke to you?

  • Matombo@feddit.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 months ago

    fun fact: that dotfiles are hidden on *nix systems was just a bug in the first version of ls (the dev originally only wanted to hide the “.” and “…” entry and not every file starting with .), but before the 2nd version could roll around, people have already deemed it a usefull feature so it was never changed.

  • RubberDuck@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 months ago

    Is there an easy to find style guide of how Windows would like you to use these things, cause I never found one.

    Appdata, my documents, program files… Everyone seems to be all over the place

    • PaintedSnail@lemmy.world
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

      I believe the intent is to use appdata for user-specific configs and programdata for system-wide configs.

      • dan@upvote.au
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 months ago

        A lot of apps mess up local vs roaming AppData too. Roaming is for things that would make sense in a roaming profile (ie to sync to other systems) whereas local is for things that should only exist on this system (caches, machine-specific configs, etc)

  • Matombo@feddit.org
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 months ago

    Man: project zomboid just creates a “Zomboid” folder in home, not even with a leading dot.

  • JTskulk@lemmy.world
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 months ago

    The nice thing about Free software is that distros can fix these programs that store things in the wrong location. My Debian home is a lot cleaner than my Arch.

  • Tarnith@lemmy.ca
    link
    fedilink
    English
    arrow-up
    1
    ·
    3 months ago

    Amazed that no one can figure out a .config/ or .local/ already

    Sure, AppData exists, but do you expect them to… read?

    • Unbecredible@lemm.ee
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

      Why does Redhat auto mount my extra hard drives at /run/media but Debian & Co put it in /media/?

      hmmmm? Exactly. 9/11 was an inside job.

    • ☂️-@lemmy.ml
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      3 months ago

      is it just me or these look a bit arbitrary

      and id love to understand the logic behind whats inside /home cause it seems way too chaotic to me

      • jalkasieni@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 months ago

        The FHS is a real thing, the second picture is some indian techblog nonsense. ”Unix System Resources” lmao.

    • superkret@feddit.org
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      3 months ago

      They are in subfolders of C:\Users\Username\AppData\Roaming or \Local or \LocalLow.
      Or in the program’s installation path in C:\Program Files or \Program Files(x86).
      Or in a separate directory directly under C:\
      Or the settings are handled via Registry keys.
      Or whatever the fuck Microsoft Store apps do.
      Or any combination of the above.

      • daggermoon@lemmy.world
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 months ago

        I remember that much lol. I should have clarified, I was trying to ask why are there dotfiles in the screenshot

  • Sonotsugipaa@lemmy.dbzer0.com
    link
    fedilink
    English
    arrow-up
    0
    ·
    3 months ago

    Everyone here is talking about conventions used on Linux, but this looks like Windows Explorer to me…?
    Why are there so many directory names in there following Linux “hidden file” conventions, if that’s the case?

    • keinBloudsinn@lemmings.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      3 months ago

      This is not a Linux or Windows thing. It’s a lazy developer thing. It’s also another one of the ways that some devs will coddle the end-user because “learning a file directory system is hard.”

      • ToxicWaste@lemm.ee
        link
        fedilink
        English
        arrow-up
        1
        ·
        edit-2
        3 months ago

        for someone regularly using both: it is a convenience feature.

        that way i just know config files are under ~/.myApp. if windows devs would beore consistent, i would be ok with %APPDATA%\myApp. however, too often it is under %APPDATA%\..\Roaming\myApp - which is just a pain. so i prefere linux style on windows.

        edit: copy paste error

  • Ekky@sopuli.xyz
    link
    fedilink
    English
    arrow-up
    0
    ·
    edit-2
    3 months ago

    Meme with the text: The world if everybody used the Filesystem Hierarchy Standard properly.

    I realize that the OP is a Windows case, but I’d be rich if I had a penny for every time a savegame or config file is stored somewhere totally whack.

    • scops@reddthat.com
      link
      fedilink
      English
      arrow-up
      1
      ·
      3 months ago

      I’m completely self-taught when it comes to Linux, so I have some obvious gaps in my knowledge. I’ve looked for good write-ups on how Linux folders are intended for use and been unable to find a good resource. Thank you for sharing the official standard name. Reading up on it now.

      • Ekky@sopuli.xyz
        link
        fedilink
        English
        arrow-up
        1
        ·
        3 months ago

        That’s respectable! But yeah, the FHS is something that’s surprisingly hard to find in-depth information about if you don’t already know about it.

        I think this page from systemd (or this page from the arch wiki, if you prefer formatting) has a decent description of not only the FHS, but also the more standard user/home structures.

    • Elvith Ma'for@feddit.org
      link
      fedilink
      English
      arrow-up
      0
      ·
      3 months ago

      I’d be rich if I had a penny for every time a savegame or config file is stored somewhere totally whack.

      Fun thing of you enable protected folders on windows: No app can get write access your Documents folder (or Images or Videos or…) unless you put them explicitly on the whitelist. That means you get to experience all the programs that are crashing or hanging or… just because they’re simply assuming that that’s the best place to dump data and because these folders always exist, you don’t need proper error handling in case you cannot access them…