Re: mime type not associating with gui application

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




> - 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_Cache correctly, I need to create an icon for every theme? ÂIs there a preferred way to just set a custom icon for all themes?
--
packaging mailing list
packaging@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/packaging

[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Forum]     [KDE Users]

  Powered by Linux