I have installed Unity 3d Linux version, but the icon associated with the .unitypackage
is not showing correctly. It always shows the wine icon. I have totally removed Wine, but the icon is still showing. I really appreciate any help.
To get the file extension you can use:
file -b --mime-type FILENAME
in this case : application/x-wine-extension-unitypackage
After that, copy the icon you need to use to /usr/share/icons/ICONTHEME
in the mimetypes folder with this file name application-x-wine-extension-unitypackage
Rebuild the icon cache using sudo gtk-update-icon-cache -f /usr/share/icons/ICONTHEME
and the new icon will be used.
-
Thank you very much, successfully changed the icon. anyway still need to fix the mime type, up-voted :) – Praveen Mar 23 '16 at 16:31
-
The mime type is related to the application you're using; Pantheon files (File manager) just shows the icon associated to the mimetype, maybe Unty 3D is not saving the files correctly. Trying reporthing that upstream. – Bilal Elmoussaoui Mar 23 '16 at 16:51
file -b --mime-type FILENAME
? – Bilal Elmoussaoui Mar 2 '16 at 14:42