• raspberriesareyummy@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    6 个月前

    honestly - while a Mac is certainly less painful to use than winshit, putting rubbish files recursively into each(!!) accessed folder, on all thumbdrives ever inserted, that’s something Jobs deserves to burn in hell for.

    • ulterno@programming.dev
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      6 个月前

      You’d want that, but a lot of programs do that, both in Windows and Linux.

      e.g. The .directory files with the [Desktop Entry] spec by freedesktop.org
      Dolphin has the option to enable/disable the feature

      • vvv@programming.dev
        link
        fedilink
        arrow-up
        2
        ·
        6 个月前

        the macos file browser, Finder, lets you set a background for a folder, move file icons around to arbitrary positions, other shenanigans. in order for this to work across systems on removable storage media and network mounts, they have this.

          • filcuk@lemmy.zip
            link
            fedilink
            arrow-up
            1
            ·
            6 个月前

            I don’t think the code is available for people to figure out whether there’s a reason or if it’s completely arbitrary.

  • cm0002@lemmy.world
    link
    fedilink
    arrow-up
    2
    ·
    6 个月前

    See also: Let’s roll our own .zip implementation that only Mac can reliably read for…reasons

  • Lazycog@sopuli.xyz
    link
    fedilink
    arrow-up
    0
    ·
    edit-2
    6 个月前

    Hmm… Smells like a windows user aswell… Look at that:

    .desktop desktop.ini

    Edit: fixed the filename

  • FQQD@lemmy.ohaa.xyz
    link
    fedilink
    arrow-up
    0
    ·
    6 个月前

    you should do this with every one of these cases. btw, where does .Trash-1000 actually come from?

    • Lucy :3@feddit.org
      link
      fedilink
      arrow-up
      1
      ·
      6 个月前

      I had a long and frustrating conflict with this, on this post.

      As @d_k_bo@feddit.org (An dem Punkt könnten wir auch einfach Deutsch labern) noted, it’s a freedesktop.org specification.

      I still stand the point that it’s not very thought through (a hidden dir? Why?), and that blindly implementing it is annoying. It shouldn’t be a universal standard for all systems, as it’s only relevant if you use a file manager which can then use that dir as Trash dir - which I don’t. That could be tested by only allowing filemanagers to create the dir, and if it doesn’t exist, discard the data. That’s probably how some programs work, as only Prismlauncher has created the dir.

      Workaround: ln -s .Trash-1000 /dev/null