New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add <launchable/> into the .appdata.xml file #269
Comments
Hi @mcrha , I'm sorry for delay - I've applied the change into branch Do you know how to verify whether the fix works? I've tried |
My test was to edit |
@mcrha arggh... bad Friday, I was adding to the bad file... but still I don't see the icon:
Clicking on magnifying glass and look for Do you know what is wrong or how to debug? I use Fedora 35 and gnome-software-41.5-1.fc35 |
I'm afraid the 41.5.fc35 is dull, doesn't contain certain fix (which I do not have a link to), because I can reproduce what you see with it, but when I try the same changes in Fedora 36 with gnome-software 42.1, then it shows the icon after adding the |
/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.
The text was updated successfully, but these errors were encountered: