Skip to content

Add <launchable/> into the .appdata.xml file #269

@mcrha

Description

@mcrha

/usr/share/applications/system-config-printer.desktop

corresponds to

/usr/share/metainfo/system-config-printer.appdata.xml

, which has

<id>org.fedoraproject.systemconfigprinter</id>
and
<provides><id>system-config-printer.desktop</id></provides>.

The .desktop file and the .appdata.xml file are not matched by GNOME Software, thus the application doesn't show correct (printer) icon in the Installed page.

To have it properly working, add

<launchable type="desktop-id">system-config-printer.desktop</launchable>

into the .appdata.xml file.

The related documentation is here (important part is the note about merging data):
https://www.freedesktop.org/software/appstream/docs/sect-Metadata-Application.html#tag-dapp-launchable

This had been discussed in the GNOME Software here:
https://gitlab.gnome.org/GNOME/gnome-software/-/merge_requests/1322#note_1437223

Note this is not only about GNOME Software, any appstream consuming application can be affected.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions