Originally Posted by
lllSpylll
...
1) Go to the folder where your icon theme is installed. Mine is in ~/.icons/Vista-Inspirate_1.0
hi lllSpylll,
I am using Fedora 9
There is nothing in ~/.icons folder:
Code:
$ ls -la ~/.icons
total 12
drwxrwxr-x 2 quanta quanta 4096 2007-12-22 04:35 .
drwx------ 107 quanta quanta 4096 2008-05-23 23:09 ..
I have followed your way except for manipulate with /usr/share/icons folder, but not succeed.
I found the topic.
Nothing in ~/.local/share/mime/packages folder except for Override.xml.
I have inserted some code like below:
Code:
<mime-type type="application/x-chm2">
<comment>chm document</comment>
<glob pattern="*.chm"/>
</mime-type>
In /usr/share/mime/packages/freedesktop.org.xml, I changed:
Code:
<mime-type type="application/x-chm">
<comment>CHM document</comment>
<acronym>CHM</acronym>
<expanded-acronym>Compiled Help Modules</expanded-acronym>
<glob pattern="*.chm"/>
</mime-type>
to:
Code:
<mime-type type="application/x-chm2">
<comment>CHM document</comment>
<acronym>CHM</acronym>
<expanded-acronym>Compiled Help Modules</expanded-acronym>
<glob pattern="*.chm"/>
</mime-type>
after that I copied kchmviewer icon to: /usr/share/icons/Fedora/48x48/mimetypes and renamed it to gnome-mime-application-x-chm2.png, logout and login back but nothing happen. Everything icons of *.chm file not change.
Is there any other way to change file type icon?
Bookmarks