I'm trying to change the icon for application/x-hwp files. I've added the icons to the proper places, and checked it with assoGiate (after reading this thread). It shows that my desired icon is associated with the file type. Nevertheless, Nautilus is still showing the old icon. How can I make Nautilus show the correct icon?
|
|
|||||||||
|
|
Here is a set of instructions that should get you a custom icon for hwp files. Open a terminal :
(don't forget to replace PathToIcon) Got the information from here |
|||||
|
|
I hope you tried logout and login to refresh icon cache. See also if your icon is available in proper size (the one you're using to display file type in nautilus). You also might missed running Try this tutorial: http://swik.net/Ubuntu/Only+Ubuntu/How+To+Change+File-Type+(mimetype)+Icons+in+Ubuntu/chcrf Try to manually create icon.theme, here is an example I have from awn:
Manual is here: http://live.gnome.org/GnomeArt/Tutorials/IconThemes |
|||||||
|
|
1)
follow this good tutorial with nice pictures http://lordamit.blogspot.com/2010/07/change-file-type-icons-mime-type-icons.html 2) If file type is not detected correctly, or showing incorrect file type find your file type identifying characters EX: rar go to http://filext.com/file-extension/rar identifier "Hex: 52 61 72 21 1A 07 00 , ASCII: Rar!" open file in a bless or any hex editor and find the identifier and offset (where your keywords starts) in our case it the firs bit so offset is "0". Then go "File types Editor" edit or make a new item, then select edit and under file contents select "string" from drop down, input "Rar!" and set offset "0". Done |
|||||
|
