On Wednesday 31 March 2010 15:31:40 Adam Tauno Williams wrote:
On Wed, 2010-03-31 at 08:45 -0400, Hans Krueger wrote:
On 03/30/2010 09:26 PM, David C. Rankin wrote:
On 03/29/2010 03:23 PM, David C. Rankin wrote:
Something has screwed up the mime database in gnome so that now gnome things all documents are "plain text document" mime types. I have tried 'update-mime-database /usr/share/mime' and it returned the following errors: [15:17 alchemy:/usr/share/mime] # update-mime-database /usr/share/mime Unknown media type in type 'all/all'
<snip>
Unknown media type in type 'interface/x-winamp-skin'
I suspect that the above type don't exist and that is causing the whole mime
database update to fail leaving everything set to 'plain text document'. What do I do to fix this? Thanks.
Nobody?
I've use a GNOME desktop since the Ximian days and never seen this issue. If I run "update-mime-database /usr/share/mime" it completes without error. Did you install any packages, etc... before this broke? [Maybe KDE4 or vlc?]
If you update with the "-v" option does it say anything interesting?
A quick Bing search finds a couple posts relating this to KDE4 packages. Do you have KDE4 installed? If so try hacking /usr/share/mime/packages/kde.xml and just remove the related stanza from the XML file (or just try renaming the file to somewhere else).
I checked with vuntz (the upstream maintainer of shared-mime-info) and these mime types are indeed invalid wrt. spec, but update-mime-database notices this, outputs the warning and continues, so they should not be responsible for your messed up file type identification. I'll push upstream KDE to put its mimetypes in order, anyway. Will -- Will Stephenson, KDE Developer, openSUSE Boosters Team SUSE LINUX Products GmbH - Nürnberg - AG Nürnberg - HRB 16746 - GF: Markus Rex -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org