This forum has been archived. All content is frozen. Please use KDE Discuss instead.

KDE 4.2 file Associations are all Plain text

Tags: associations associations associations
(comma "," separated)
Scott1
Registered Member
Posts
3
Karma
0
OS
After installing skrooge from kde-apps which also pulled in a bunch of development packages all my file associations(type) are all plain text document. I'm talking everywhere desktop folder taskbar and dolphin. It even shows the desktop folders as a plain text document. The application launcher is the only thing that works.

The mime type got changed to text/plain for every file that dolphin shows.

Is there way to restore mime types or file associations?

The more I look at it I'm surprised KDE's even working.

KDE 4.2
Fedora-11

Thanks,

Scott
User avatar
bcooksley
Administrator
Posts
19765
Karma
87
OS
If you installed a package from kde-look, then please uninstall it using your package manager, then run "kbuildsycoca4 --noincremental"

If you installed it from source, then please run "make uninstall" or "sudo make uninstall" in the build directory. Use the "sudo" command if you used "sudo" to perform the installation. Then run "kbuildsycoca4 --noincremental"

Finally, if the above have been done, but have not fixed the problem, try the following commands in Konsole. They will not help unless you have already uninstalled it:
Code: Select all
rm -rf ~/.local/share/mime
rm -rf ~/.local/share/applications
rm -rf $(kde4-config --localprefix)/share/applnk
rm -rf $(kde4-config --localprefix)/share/mimelnk
rm -rf $(kde4-config --localprefix)/share/services
rm -rf $(kde4-config --localprefix)/share/servicetypes
rm -rf $(kde4-config --localprefix)/share/kde4/
kbuildsycoca4 --noincremental


Finally, if all fail, please try under a new user.


KDE Sysadmin
[img]content/bcooksley_sig.png[/img]
User avatar
gdebure
Registered Member
Posts
117
Karma
1
OS
I have no idea why installing skrooge would have this kind of side effects... :(

A bit off-topic, but you may want to try fedora's rpms created today by a contributor on kde-apps : http://www.kde-apps.org/content/show.php/skrooge?content=92458
Scott1
Registered Member
Posts
3
Karma
0
OS
I did remove skrooge as soon as I noticed what happen but it also pulled in a bucnch of development packages. I Used the Fedora rpm. I tried all of your suggestions including trying a new user still no joy.

Here's some error's I get when I run it

kbuildsycoca4 running...
kbuildsycoca4(2371) KConfigGroup::readXdgListEntry: List entry Actions in "ServiceMenus/kplayer-actions.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(2371) KConfigGroup::readXdgListEntry: List entry Actions in "ServiceMenus/kplayer-directory.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(2371) KConfigGroup::readXdgListEntry: List entry Actions in "ServiceMenus/kplayer-next.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(2371)/kdecore (KService) KServicePrivate::init: The desktop entry file "ServiceMenus/smplayer_enqueue.desktop" has an empty mimetype!
kbuildsycoca4(2371) KConfigGroup::readXdgListEntry: List entry Actions in "ServiceMenus/kplayer-play-queue.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(2371) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/redhat-audio-player.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(2371)/kdecore (KService) KServicePrivate::init: The desktop entry file "/usr/share/applications/kde/koffice.desktop" has Type= "Application" but no Exec line

kbuildsycoca4(2371)/kdecore (KService) KBuildServiceFactory::createEntry: Invalid Service : "/usr/share/applications/kde/koffice.desktop"
kbuildsycoca4(2371) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/kde/kpresenter.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(2371) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/kde/kword.desktop" is not compliant with XDG standard (missing trailing semicolon).
kbuildsycoca4(2371) KConfigGroup::readXdgListEntry: List entry MimeType in "/usr/share/applications/kde/kspread.desktop" is not compliant with XDG standard (missing trailing semicolon).
Scott1
Registered Member
Posts
3
Karma
0
OS
It's fixed!

After installing these updates that came out today I believe for Fedora-11 all my file associations have been restored.

kdelibs-common-4.2.4-6.fc11.i586
kdelibs3-3.5.10-13.fc11.i586
kdelibs-4.2.4-6.fc11.i586

Everything seems to be working as it used to.


Scott
quanta
Registered Member
Posts
3
Karma
0
OS
I am using Slackware. Yesterday, I got this problem with some signs like:
- When I click on Firefox icon on the panel, it open with Kwrite (display the content of mozilla-firefox.desktop)
- I cannot drag and drop a folder to append it to the playlist in Amarok
- All icons in Pidgin can't be displayed
- Cannot view images with Gwenview
- ...

All file types seem to mark with plain text.

After Googling, I found out that: The shared-mime-info package was uninstalled because of unknown reason. Install it and everything is OK.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]