Don't know the component for this 2 or 3 days ago I create this file everything was fine this morning i startup the computer (notice that there was no change in installation or update or anything yesterday) and there is no icon for a kexi database file Note that it is not a dolphin only related problem :using a directory preview widget will not show the icon either Reproducible: Always
Created attachment 70567 [details] see the kexi database file at the middle has no icon BTW : kubuntu 11.10 32 bit KDE 4.8.2 Calligra 2.4.0
It looks like an empty icon for "kexi" got stored in the quick-lookup cache. I haven't figured out a cause to this, but a fix is possible: Remove the cache file (which KDE will re-generate). This should be as easy as changing a different icon theme (from System Settings -> Application Appearance -> Icons) and clicking Apply. You can select your original icon theme again afterwards. If you don't want to go this route or don't have any alternate icon themes, you can remove the file yourself. From a Konsole terminal, type the command "cd $(kde4-config --path cache)" (without the quotes). This should place you in the cache directory. You can type "dolphin" to run Dolphin and remove the file "icon-cache.kcache", or you can just run "rm icon-cache.kcache" directly in Konsole. After you restart Dolphin the icon should be corrected, if it's an issue with the icon cache. If that doesn't fix it I would recommend looking into the .desktop file itself to make sure its icon is set correctly.
Hi Michael ! So I have done this way cd $(kde4-config --path cache) rm icon-cache.kcache It solved another problem (when syncing /home directory between two PC) I lost some of my icons (that i had defined with png pictures). Also thanks for the tipps! The problem for the .kexi files icons however remains. Can you expand a little bit about the .desktop file? especially which one I should look at: I had a look at /usr/share/applications/kde4/kexi.desktop, it is the following. But I guess this one is for the kexi application itself while my problem is for .kexi files [Desktop Entry] Name=Kexi Name[bg]=Kexi Name[br]=Kexi Name[ca]=Kexi Name[cs]=Kexi Name[cy]=Kexi Name[da]=Kexi Name[de]=Kexi Name[el]=Kexi Name[en_GB]=Kexi Name[eo]=Kexi Name[es]=Kexi Name[et]=Kexi Name[eu]=Kexi Name[fi]=Kexi Name[fr]=Kexi Name[fy]=Kexi Name[ga]=Kexi Name[gl]=Kexi Name[he]=Kexi Name[hi]=केक्साई Name[hne]=केक्साई Name[hr]=Kexi Name[hu]=Kexi Name[is]=Kexi Name[it]=Kexi Name[ja]=Kexi Name[kk]=Kexi Name[lt]=Kexi Name[lv]=Kexi Name[ms]=Kexi Name[nb]=Kexi Name[nds]=Kexi Name[ne]=केक्सी Name[nl]=Kexi Name[pl]=Kexi Name[pt]=Kexi Name[pt_BR]=Kexi Name[ro]=Kexi Name[ru]=Kexi Name[se]=Kexi Name[sk]=Kexi Name[sl]=Kexi Name[sv]=Kexi Name[ta]=கெக்ஸி Name[tg]=Kexi Name[tr]=Kexi Name[ug]=Kexi Name[uk]=Kexi Name[uz]=Kexi Name[wa]=Kexi Name[x-test]=xxKexixx Name[zh_CN]=Kexi Name[zh_TW]=資料庫_Kexi Type=Application Exec=kexi Icon=kexi MimeType=application/x-kexiproject-sqlite;application/x-kexiproject-shortcut;application/x-kexiproject-sqlite3;application/x-sqlite3;application/x-kexi-connectiondata;application/x-msaccess; Terminal=false GenericName=Database Creator GenericName[bg]=Създаване на бази от данни GenericName[br]=Aozer ar stlennvon GenericName[ca]=Creador de bases de dades GenericName[cs]=Tvůrce databází GenericName[cy]=Creuydd Cronfa Ddata GenericName[da]=Opretter af databaser GenericName[de]=Datenbank-Erstellung GenericName[el]=Δημιουργός βάσης δεδομένων GenericName[en_GB]=Database Creator GenericName[eo]=Datumbazkreilo GenericName[es]=Creador de bases de datos GenericName[et]=Andmebaaside imelihtne loomine GenericName[eu]=Datu-base sortzailea GenericName[fa]=ایجادکننده دادگان GenericName[fi]=Tietokannan luoja GenericName[fr]=Créateur de base de données GenericName[fy]=Databank oanmeitsje GenericName[ga]=Cruthaitheoir Bunachar Sonraí GenericName[gl]=Criación de Bases de Datos GenericName[he]=יוצר מסדי נתונים GenericName[hi]=डाटाबेस सृजक GenericName[hne]=डाटाबेस सृजक GenericName[hr]=Dizajner baza podataka GenericName[hu]=Adatbázis-kezelő GenericName[is]=Gagnagrunns hönnuður GenericName[it]=Creatore di banche dati GenericName[ja]=データベース作成 GenericName[kk]=Деректер қорының құрастырғышы GenericName[lt]=Duomenų bazių kūrimo programa GenericName[lv]=Datu bāzu veidotājs GenericName[ms]=Pencipta Pangkalan Data GenericName[nb]=Databaseoppretting GenericName[nds]=Datenbank-Opstellen GenericName[ne]=डेटाबेस सर्जक GenericName[nl]=Database aanmaken GenericName[pl]=Asystent tworzenia baz danych GenericName[pt]=Criação de Bases de Dados GenericName[pt_BR]=Criação de bancos de dados GenericName[ro]=Creator de baze de date GenericName[ru]=Базы данных GenericName[se]=Diehtovuođđoráhkadeaddji GenericName[sk]=Správa databázy GenericName[sl]=Ustvarjanje zbirk podatkov GenericName[sv]=Databasskapare GenericName[ta]=தரவுத்தளம் உருவாக்கி GenericName[tr]=Veritabanı Üreticisi GenericName[uk]=Створення баз даних GenericName[uz]=Maʼlumot baza yaratuvchi GenericName[wa]=Ahiveu di båze di dnêyes GenericName[x-test]=xxDatabase Creatorxx GenericName[zh_CN]=数据库创建器 GenericName[zh_TW]=資料庫建立程式 Comment=Develop desktop database applications Comment[ca]=Aplicacions de desenvolupament de bases de dades d'escriptori Comment[cs]=Vyvíjejte databázové desktopové aplikace Comment[da]=Udvikl databaseprogrammer for desktoppen Comment[de]=Desktop-Datenbankanwendungen entwickeln Comment[el]=Ανάπτυξη εφαρμογών βάσεων δεδομένων Comment[en_GB]=Develop desktop database applications Comment[eo]=Evoluigi tabulajn datumbaz-aplikaĵojn Comment[es]=Desarrollo de aplicaciones de bases de datos para el escritorio Comment[et]=Töölaua andmebaasirakenduste arendamine Comment[fa]=توسعه کاربردهای دادگان رومیزی Comment[fi]=Kehitä tietokantasovelluksia Comment[fr]=Développer des applications de bases de données de bureau Comment[fy]=Untwikkel databankapplikaasjes Comment[ga]=Forbair feidhmchláir bhunachair sonraí don deasc Comment[gl]=Desenvolve aplicacións de base de dados de escritorio Comment[hi]=डेस्कटॉप डाटाबेस अनुप्रयोग डेवलप करें Comment[hne]=डेस्कटाप डाटाबेस अनुपरयोग डेवलप करव Comment[hu]=Adatbázist kezelő alkalmazások fejlesztése Comment[it]=Sviluppa applicazioni per banche dati da desktop Comment[ja]=デスクトップ データベース アプリケーションを開発 Comment[kk]=Деректер қорлар қолданбаларын құрастыру Comment[lt]=Programa leidžia kurti darbastalio duomenų bazes Comment[lv]=Darbvirsmas datu bāzu programmu veidošanai Comment[nb]=Utvikle databaseprogrammer for skrivebordet Comment[nds]=Datenbankprogrammen för den Schriefdisch opstellen Comment[ne]=डेस्कटप डेटाबेस अनुप्रयोग विकास गर्नुहोस् Comment[nl]=Ontwikkel databasetoepassingen Comment[pl]=Rozwój aplikacji bazodanowych Comment[pt]=Desenvolver aplicações de bases de dados para o utilizador Comment[pt_BR]=Desenvolve aplicativos de bancos de dados para o usuário Comment[ro]=Dezvoltă aplicații cu baze de date pentru birou Comment[ru]=Работа с базами данных Comment[sk]=Vytvárať databázové aplikácie Comment[sl]=Razvijte namizne programe za delo z zbirkami podatkov Comment[sv]=Utveckla databasprogram för skrivbordet Comment[ta]=முகப்பு தரவுத்தள நிரல்களை உருவாக்கு Comment[tr]=Masaüstü veritabanı uygulamaları geliştir Comment[ug]=ئۈستەلئۈستى ساندان پروگراممىلىرىنى ئىشلەش Comment[uk]=Розробка програм для баз даних Comment[uz]=Maʼlumot bazasi asosida dasturlarni tuzish Comment[wa]=Diswalper des programes di båze di dnêyes d' sicribanne Comment[x-test]=xxDevelop desktop database applicationsxx Comment[zh_CN]=开发桌面数据库应用程序 Comment[zh_TW]=開發桌面資料庫應用程式 X-KDE-ServiceTypes=Calligra/Application X-Calligra-DefaultMimeTypes=application/x-kexiproject-sqlite,application/x-kexiproject-shortcut,application/x-kexiproject-sqlite3,application/x-sqlite3,application/x-kexi-connectiondata,application/x-msaccess X-DocPath=kexi/index.html X-KDE-NativeMimeType=application/x-kexiproject-sqlite X-KDE-NOTKoDocumentEmbeddable=true Categories=Qt;KDE;Office;
You're right that the .desktop file you found refers to kexi itself, not files used by kexi. As it turns out I'm a bit out-of-date, our mime types are tracked using a freedesktop.org standard which doesn't use .desktop files. If you run "kde4-config --path xdgdata-mime" in Konsole then you can see the paths that are looked at for information about file type associations. As far as I can see this is where icons for each file type (including Kexi's) are defined. In my case I had mime information in ~/.local/share/mime from March. This directory holds user customizations to the system-provided mime information. So, you can try removing that directory (or renaming it if you might need the the customizations) and then running "kbuildsycoca4 --noincremental" to rebuild the KDE mimetype cache. If even that doesn't give icons for Kexi files then it's probable that the system mimetypes from your distro's packages are lacking the icon definition as well (which might be a Kexi or a distro bug, I don't have Kexi installed to confirm myself. :-/)