Patrick, who has the Krita logo overlaid on him, and Man Ray have a back and forward pointing out that desktop files can have multiple file types associated with a programme by setting the mime type field. It ends with Man Ray insisting on Krita making one desktop file, but instead shows a list of desktop files with the format org.kde.krita.format.desktop.
you are viewing a single comment's thread
view the rest of the comments
[–] 10 points 5 months ago (6 children)

That would be a valid complaint, however, I just installed krita for testing on arch running with KDE and there's only one entry. image However, there's also only a single krita entry in the list of .desktop files so idk what exactly is going on there. Maybe under KDE, it behaves differently, no clue.

  • source
  • parent
  • hideshow 6 child comments
  • [–] [S] 19 points 5 months ago (5 children)

    It won't show up there because the files have NoDisplay set to true, which hides them from the desktop app view, but they still show up in other places. Here's Nautilus' open with dialogue (where I noticed this):

    Short video showing a scrolling list of apps showing many entries for Krita

  • source
  • parent
  • hideshow 5 child comments
  • [–] 7 points 5 months ago (2 children)

    https://bugs.kde.org/show_bug.cgi?id=403194

    They says it's freedesktop standard, and gnome is at fault for not implementing the standard properly. I don't have this issue in KDE. I don't understand what it meant different files are supported by different plugins, but maybe internals depend on that structure.

    Anyway gnome should be supporting that standard everywhere in all their apps

  • source
  • parent
  • hideshow 2 child comments
  • [–] [S] 5 points 5 months ago* (last edited 5 months ago) (1 child)

    https://gitlab.gnome.org/GNOME/gtk/-/work_items/7776#note_2560841

    I honestly agree with the GTK devs here. The app chooser isn't what was meant by the spec and it should show all the apps available to the user. And if KDE respects NoDisplay in the app chooser, but still shows it if the MimeType matches, then I think that's an even more conjectural reading of the spec.

  • source
  • parent
  • hideshow 1 child comment
  • I would like to see what are differences in content for thoose different desktop files. Is there any difference in launch options? Do they contain mimetype feilds? It seems like specification explicitly states it(Nodisplay) being useful for mime types so it probably is expected feature within the spec. Also spec says nodisplay should hide from "menus" which i'm not sure if its just app launcher or all menus

    The argument I see all over here (from kde side) is that support for mimetypes are optional plugins, and within the spec making multiple desktop entries is the only choice when doing so.

  • source
  • parent
  • [–] 3 points 5 months ago (1 child)

    Okay but that would mean you have to open /etc/share/applications in a file explorer which you - usually - don't really do. Or maybe I'm just too much of a terminal guy to do it.

  • source
  • parent
  • hideshow 1 child comment