Re: [Thunar-dev] HTML documents falsely recognized as application/x-mozilla-bookmarks

2007-08-03 Thread Mathias Brodala
Hi Erlend & Benedikt.

Erlend Davidson, 03.08.2007 14:12:
> Mathias Brodala wrote:
>> For a few days now Thunar claims that HTML documents are bookmark files with 
>> the
>> MIME type application/x-mozilla-bookmarks instead of text/html.
>>
>> How can I fix this? Grepping ~/.local/share for the wrong MIME type yields 
>> nothing.
>>
>>   
> It's almost certainly that an application you've install recently has 
> decided to change the mimetype.

Seems to be the case. I upgraded my "shared-mime-database" package recently and
this must have introduced this bug. I reported it now, so thanks for your 
pointers.


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] HTML documents falsely recognized as application/x-mozilla-bookmarks

2007-08-03 Thread Erlend Davidson


Mathias Brodala wrote:
> Hi.
>
> For a few days now Thunar claims that HTML documents are bookmark files with 
> the
> MIME type application/x-mozilla-bookmarks instead of text/html.
>
> How can I fix this? Grepping ~/.local/share for the wrong MIME type yields 
> nothing.
>
>   
It's almost certainly that an application you've install recently has 
decided to change the mimetype.  The x-.. means it is non-standard.  
Applications can specify mimetypes for a file under the directory 
/usr/share/mime/packages and also /usr/local/share/mime/packages.

For example dcraw (on some systems) installs dcraw.xml which changes the 
mimetype of all the files it can process to image/x-dcraw.  
Thunar-thumbnailers changes files it can thumbnail (with dcraw) to 
image/x-sony-arw and so on... I don't really understand what happens 
when there is a conflict - I just wish there was a way files could have 
more than one mimetype.
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


Re: [Thunar-dev] HTML documents falsely recognized as application/x-mozilla-bookmarks

2007-08-03 Thread Benedikt Meurer
Mathias Brodala wrote:
> Hi.
> 
> For a few days now Thunar claims that HTML documents are bookmark files with 
> the
> MIME type application/x-mozilla-bookmarks instead of text/html.
> 
> How can I fix this? Grepping ~/.local/share for the wrong MIME type yields 
> nothing.

Well Thunar uses the shared mime database, as said. So, probably some
application registered that mime type for .html files. Check
/usr/share/mime/packages/.

> Regards, Mathias

Benedikt
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev


[Thunar-dev] HTML documents falsely recognized as application/x-mozilla-bookmarks

2007-08-03 Thread Mathias Brodala
Hi.

For a few days now Thunar claims that HTML documents are bookmark files with the
MIME type application/x-mozilla-bookmarks instead of text/html.

How can I fix this? Grepping ~/.local/share for the wrong MIME type yields 
nothing.


Regards, Mathias

-- 
debian/rules



signature.asc
Description: OpenPGP digital signature
___
Thunar-dev mailing list
Thunar-dev@xfce.org
http://foo-projects.org/mailman/listinfo/thunar-dev