2
votes
2answers
257 views

What tool to edit the /usr/share/mime/packages/freedesktop.org.xml file

I edited my /usr/share/mime/packages/freedesktop.org.xml (with a text editor) to modify the file icon of application/x-7z-compressed mime type : <mime-type type="application/x-7z-compressed"> ...
3
votes
1answer
482 views

How to get the icon for a MIME type?

How to get the icon for a MIME type? I don't want to use g_file_info_get_icon() because its input parameter is a file, not a MIME type. My use case: I have a wrapper file which embeds a media ...