On 02/15/2011 01:11 PM, Erik Blankinship wrote: > How do I create my spec file so that I my gui application can be > launched by double clicking a filetype it is associated with via mimetype? > > This is what I've done so far: > - I have updated my .desktop file so that it > includes MimeType=application/x-supes-saved; good. > - 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' -- Rex -- packaging mailing list packaging@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/packaging