AppData folder: am I a joke to you?

    • superkret@feddit.org
      link
      fedilink
      English
      arrow-up
      0
      ·
      5 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.

    • pivot_root@lemmy.world
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      5 months ago

      No. Hiding files is still just an attribute.

      Actually, technically, it’s two. Files marked as system files are treated as hidden as well…

      • Bruno Finger@lemm.ee
        link
        fedilink
        English
        arrow-up
        0
        ·
        5 months ago

        With the downside that files marked as hidden on windows generally can’t be read by tools and scripts in the way you expect it.

  • waigl@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    Files and directories starting with a dot are hiden by default. You are aksing for this stuff if you manually unhide them.

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

        only if you are a power user. for most people its just clutter in the way of the files they are looking for.

    • Magnetic_dud@discuss.tchncs.deOP
      link
      fedilink
      English
      arrow-up
      0
      ·
      5 months ago

      Screenshot is from Windows where dotfiles aren’t hidden by default. And all the lazy developers that created those directories, didn’t bother to set the hidden attribute (See appdata is greyed, because it has the hidden attribute set)

      • sik0fewl@lemmy.ca
        link
        fedilink
        English
        arrow-up
        0
        ·
        5 months ago

        To be fair, those Windows directories might have a space in them and break things anyway.

        • dan@upvote.au
          link
          fedilink
          English
          arrow-up
          0
          ·
          edit-2
          5 months ago

          Directories can have spaces in their name on other platforms too. On Linux, you can set the XDG environment variables to whatever you want, so eg. instead of using ~/.config for config files, you could use ~/My Config Files

          Is it a good idea? No. Should every well-behaved app handle it? Definitely.

  • RubberDuck@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 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
      0
      ·
      5 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
        0
        ·
        5 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)

    • ILikeBoobies@lemmy.ca
      link
      fedilink
      English
      arrow-up
      0
      ·
      5 months ago

      Program files require admin

      Appdata doesn’t

      Documents doesn’t either but in theory it’s for files you want the user to edit or backup

  • thesmokingman@programming.dev
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    If you’re on a Windows box, the apps you’re calling out are assuming some level of FHS or XDG compatibility, neither of which are Windows things.

    If you’re on a mac, macOS uses its own thing but can play well with dotdirs. However, you’ll find a mix of assuming XDG and weird macOS storage locations depending on how the tool determines storage location priority.

    If you’re on Linux, there are too many standards.

  • ronflex@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    I hate it. I think a lot of devs who write cross-platform open-source software just use the %userprofile% automatic env variable to dump dotfiles in Windows since it can basically directly replace $HOME. In my opinion using something like %localappdata% is definitely preferred.

  • sgibson5150@slrpnk.net
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    I think ~ is the appropriate folder at least for the . folders, but I’ve often wondered why they’re not attrib +h. 🤷‍♂️

    • DaFuqs@feddit.org
      link
      fedilink
      English
      arrow-up
      0
      ·
      5 months ago

      True on linux, but not on Windows. There is the “Appdata” (Application Data) sub folder for that. The users profile is meant for the users personal files - but way too many apps ignore that.

      Makes me think that probably a multiplatform-compat library points the apps there?

      • FooBarrington@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        5 months ago

        No, not true on Linux. We have the XDG folder specifications to specifically not have our ~ cluttered with random shit.

        Doing this on Linux is no better than doing it on Windows.

  • Buffalox@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

    AFAIK appdata are stored in ~/.local/share, but you don’t even have that folder!?!?!
    It’s not the Linux convention that’s fucked up in this regard, but your system.
    If you want it stored in ~/AppData, you need to make a link to it from ~/.local/share.

    I’m no expert, so there may be other ways to do it. but apparently your system doesn’t follow conventions.

      • Buffalox@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        edit-2
        5 months ago

        WHAT? So he chose an OS that doesn’t follow Linux standard on PURPOSE?!?! That doesn’t make much sense. 😋

    • LainTrain@lemmy.dbzer0.com
      link
      fedilink
      English
      arrow-up
      0
      ·
      edit-2
      5 months ago

      He’s using windows.

      But while we’re on the subject, ~/.local/share is cancer and shouldn’t exist.

      The appropriate path is /usr/share.

      I have a SystemD service that will erase anything written to that godforsaken .local folder, and if that breaks your shitty software then I’ll assume your shitty software doesn’t work and delete it and spam issues about it until you fix it or find a different career doing something productive, like cooking McRibs.

      • corsicanguppy@lemmy.ca
        link
        fedilink
        English
        arrow-up
        0
        ·
        5 months ago

        I have a SystemD service

        The irony is how lennart and his cancer approached standards, top to bottom.

        Now I want McRibs.

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

        I’m a little confused by that statement. Where should locally installed (non-sudo) applications, such as virtual python envs who are accessed by multiple other not-necessarily-python apps or perhaps baloo, flatpak, etc, store their shared data? I’m rather convinced that giving all users write access to /usr/share is a terrible idea.

      • Buffalox@lemmy.world
        link
        fedilink
        English
        arrow-up
        0
        ·
        5 months ago

        The appropriate path is /usr/share.

        That’s a global folder, and not proper for storing “per user” data.

  • JTskulk@lemmy.world
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 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
    0
    ·
    5 months ago

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

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

  • Matombo@feddit.org
    link
    fedilink
    English
    arrow-up
    0
    ·
    5 months ago

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