Hello David, Am Samstag, 4. Juni 2022, 09:51:34 CEST schrieb David C. Rankin:
I have worked to create a .desktop file for small editor package. The desktop file creates the entry in the menu in the proper category/subcategory, but the icon isn't shown. The minimal .desktop file is:
[Desktop Entry] Name=GtKate GenericName=GtKate Text Editor Comment=Open Source-Code & Text Files Exec=gtkate Icon=gtkate Terminal=false Type=Application Categories=Qt;KDE;TextEditor;Utility; MimeType=text/plain;
The icon is installed to /usr/share/gtkwrite/img
I've noticed some apps use /usr/share/appname/icons
Hm, not sure that is required. Did you try: mkdir -p %{buildroot}%{_datadir}/pixmaps cp <path>/gtkate.png %{buildroot}%{_datadir}/pixmaps/gtkate.png (for example?) HTH Axel