I'm using Mathematica 9.0 on Lubuntu 11.10 and its icons on menus work well. But nb files (note book files) does not have a nice icon. They appears with a king of engine icon (like configuration ...
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"> ...
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 ...