<div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im"><br>
&gt; - In my spec I have successfully used xdg-mime and xdg-icon-resource so<br>
&gt; that files with my custom extension (.supes) has my custom icon.<br>
<br>
</div>bad.  xdg-* tools are intended for user-space, not system-space (ie, not<br>
to be used in pkg scriptlets).<br>
<br>
See here for details,<br>
<a href="https://fedoraproject.org/wiki/Packaging/ScriptletSnippets" target="_blank">https://fedoraproject.org/wiki/Packaging/ScriptletSnippets</a><br>
<br>
sections on &#39;desktop-database&#39;, &#39;mimeinfo&#39;, and possibly &#39;icon-cache&#39;<br><br></blockquote><div><br></div><div>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.  </div>
<div><br></div><div>However, I am not clear on how I am supposed to associate files with my mime-type with a custom icon.   </div><div><br></div><div><meta charset="utf-8"><span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; ">xdg-icon-resource made it pretty simple to associate an icon with a mimetype, but if I am reading <a href="https://fedoraproject.org/wiki/Packaging/ScriptletSnippets#Icon_Cache">https://fedoraproject.org/wiki/Packaging/ScriptletSnippets#Icon_Cache</a> correctly, I need to create an icon for every theme?  Is there a preferred way to just set a custom icon for all themes?</span></div>
</div>