[Thunar-dev] Changing the mimetype of a file.

Biju Chacko botsie at xfce.org
Thu Jul 27 15:02:15 CEST 2006


On Thu, 27 Jul 2006 14:44:27 +0530, Benedikt Meurer  
<benedikt.meurer at unix-ag.uni-siegen.de> wrote:

> Biju Chacko wrote:
>>>> Hi,
>>>>
>>>> I have a kind of file: *.tjp that is plain text with a C-like syntax.
>>>> Thunar thinks it's a C header and associates it accordingly. I'd like  
>>>> to
>>>> change it's association without modifying the C header association.  
>>>> How
>>>> do
>>>> I do that?
>>>
>>> Add a glob rule for *.tjp to the shared-mime-database (see the
>>> freedesktop.org website for details).
>>
>> Well, I knew of *that* method -- I was hoping to be able to do it within
>> thunar itself since that is what a non-technical user would expect. Oh
>> well, time to read some docs ...
>>
>> :-/
>
> No, that's not really the job of the file manager. But feel free to
> contribute a MIME database editor. ;-)

I know that this is getting OT, sorry:

I tried adding a glob rule for *.tjp and it's not working either nautilus  
or thunar. Is there more to it than adding an xml file in the  
$XDG_DATA_DIR/mime/packages dir and then running update-mime-database?

-- b


-- 
Using Opera's revolutionary e-mail client: http://www.opera.com/mail/



More information about the Thunar-dev mailing list