Biju Chacko wrote:
>>>>>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?

Yes. Check the generated glob file to see if the changes were applied.

> -- b

Benedikt
_______________________________________________
Thunar-dev mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/thunar-dev

Reply via email to