Registered Member
|
Hello
I'm new here and have a little question to ask, about icons. I searched, but didn't find... Hope this is the right place to ask this. I'm making an icon theme for KDE4, at the moment, and I'm a FrugalWare user, so we use .fpm archives (not .rpm or .deb). My question is where and/or how can I make my kde use a specific icon for these? Is there a file to edit or something? I tried to name a mimetype something like application-x-fpm.png, but with no success. Please lighten me. Thanks Regards, Centuri0. |
KDE Developer
|
I am no expert on icons, but the approach looks about right.
Where did you install the icon to? default hicolor fallback theme, your own theme? Did you touch the top level directory after installing? Did you try xdg-icon-resource for installing? Cheers, _
anda_skoa, proud to be a member of KDE forums since 2008-Oct.
|
Registered Member
|
Hi
Actually, I'm building my own complete theme (is on kde-look btw). I didn't touch the top level directory, and didn't use xdg-icon-resource. I managed to install the new mimetype using "assogiate", that I didn't know before. It's a gnome app, but worked for me under Kde. The problem is I don't know what changes it did (I just saw there was a new hicolor directory: ~/.local/share/icons/hicolor/48x48/mimetypes/, containing application-x-fpm.png) so I can't include it in the system. Well, I'll keep searching. Thank you Centuri0 |
KDE Developer
|
I think the icon spec requires something like touching the top level directory or a specific file in there so icon cache implementations know that they have to rebuild the cache.
Right, since you are installing you own icon theme you don't want to use the hicolor theme directory. However, this gives a good indication where the icon should go to: $prefix/icons/$themename/48x48/mimetypes Cheers, _
anda_skoa, proud to be a member of KDE forums since 2008-Oct.
|
Registered users: Bing [Bot], claydoh, Google [Bot], markhm, rblackwell, sethaaaa, Sogou [Bot], Yahoo [Bot]