• ulterno@programming.dev
    link
    fedilink
    English
    arrow-up
    50
    ·
    edit-2
    2 days ago

    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

      • ulterno@programming.dev
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 day ago

        I have manually made .directory files (using a bash script) to set icons on folders.

        It feels good when programs let you know what they intend on doing.

    • lengau@midwest.social
      link
      fedilink
      arrow-up
      43
      ·
      2 days ago

      FWIW Dolphin only does it if the filesystem doesn’t provide a way to add that metadata directly to the directory and you change the view configuration for that directory away from your standard configuration. Which is how the standard describes to do it. (Some file managers incorrectly add those .directory files to every directory you visit.)

      A mac will add a .DS_Store file to any directory just by breathing on it.

      • ulterno@programming.dev
        link
        fedilink
        English
        arrow-up
        8
        ·
        2 days ago

        Well, those are different specifications. Apple(who wants everything for themselves) vs FDO(whose main goal seems to be interoperability)