> - In my spec I have successfully used xdg-mime and xdg-icon-resource so
> that files with my custom extension (.supes) has my custom icon.
bad. xdg-* tools are intended for user-space, not system-space (ie, not
to be used in pkg scriptlets).
See here for details,
https://fedoraproject.org/wiki/Packaging/ScriptletSnippets
sections on 'desktop-database', 'mimeinfo', and possibly
'icon-cache'
Thanks Rex! I did not notice my icons and mime types associations were
being set on rpmbuild. Now I have my application associated with my custom
mime-type using scriptlets.
However, I am not clear on how I am supposed to associate files with my
mime-type with a custom icon.
xdg-icon-resource made it pretty simple to associate an icon with a
mimetype, but if I am reading
https://fedoraproject.org/wiki/Packaging/ScriptletSnippets#Icon_Cachecorr...,
I need to create an icon for every theme? Is there a preferred
way to just set a custom icon for all themes?