Version: (using KDE 4.0.2) Installed from: Debian testing/unstable Packages You should change a file icon if you don't want. In KDE3 you could change it, but now in systemsettings when you try to replace an icon with another, systemsettings doesn't allow you.
Do you mean the icons for the file associations (the mime types)?
yes
That's really bad, I agree! It should be up to the user to use own icon associations without having to change the whole theme or replace the icon in the theme!
*** Bug 167481 has been marked as a duplicate of this bug. ***
*** Bug 176534 has been marked as a duplicate of this bug. ***
See also downstream Fedora bug report: https://bugzilla.redhat.com/show_bug.cgi?id=477489
Yes I had to disable that functionality for kde-4.0 because shared-mime-info didn't allow this. It does now, but not everyone is using shared-mime-info >= 0.40, and the addition of <icon> in the xml files makes shared-mime-info < 0.40 barf errors. So the code is mostly ready, but I have to wait until everyone is using shared-mime-info >= 0.40 before I can enable this functionality. (I know, I could do a runtime check of the version with `update-mime-database -v`... it just makes the whole thing more complex than expected so I didn't have time to finish it yet). Planned for KDE-4.3.
David, could you please attach a patch if you get a chance? I suppose distributions which ship with shared-mime-info >= 0.40 could patch it into 4.2 :)
Seconded. FYI, koji latest-pkg tells me: Build Tag Built by ---------------------------------------- -------------------- ---------------- shared-mime-info-0.51-6.fc11 dist-f11 hadess shared-mime-info-0.51-5.fc10 dist-f10-updates belegdol shared-mime-info-0.30-3.fc9 dist-f9-updates hadess so Fedora >= 10 have a version high enough. Fedora 9 doesn't, we'd have to talk to the maintainers to see if we can get shared-mime-info upgraded, but we could ship this feature in at least Fedora 10 and Rawhide (future Fedora 11).
The code isn't fully finished so my current patch wouldn't help you (unless you want to finish the coding ;) I'll work on finishing this, hmm, somewhen (various crash reports keep coming in, meanwhile...)
SVN commit 928753 by dfaure: Support for letting the user change mimetype icons. The GUI part is done but has to wait until Monday since it will use this new API. CCBUG: 158895 M +14 -2 kdecore/services/kmimetype.cpp M +17 -10 kdecore/services/kmimetype.h M +20 -11 kdecore/services/kmimetype_p.h M +1 -1 kdecore/sycoca/ksycoca.cpp M +14 -6 kded/kbuildmimetypefactory.cpp M +4 -0 kio/kio/kfileitem.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=928753
SVN commit 930394 by dfaure: Allow users to change mimetype icons if they use shared-mime-info >= 0.40 BUG: 158895 M +1 -0 konqueror/settings/filetypes/CMakeLists.txt M +23 -22 konqueror/settings/filetypes/filetypedetails.cpp M +3 -6 konqueror/settings/filetypes/filetypedetails.h D konqueror/settings/filetypes/filetypes-config.h M +7 -8 konqueror/settings/filetypes/mimetypedata.cpp M +0 -1 konqueror/settings/filetypes/mimetypedata.h M +7 -10 konqueror/settings/filetypes/mimetypewriter.cpp A konqueror/settings/filetypes/sharedmimeinfoversion.cpp [License: GPL (v2/3+eV)] A konqueror/settings/filetypes/sharedmimeinfoversion.h [License: GPL (v2/3+eV)] M +6 -1 konqueror/settings/filetypes/tests/CMakeLists.txt M +1 -1 nsplugins/CMakeLists.txt M +1 -1 nsplugins/pluginscan.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=930394
*** Bug 186747 has been marked as a duplicate of this bug. ***
*** Bug 187460 has been marked as a duplicate of this bug. ***
*** Bug 167031 has been marked as a duplicate of this bug. ***
Has this definitely been fixed? I am currently unable to change some file type icons in system preferences as of kde sc 4.4.