Using Gnome desktop, nautilus, on debian sid.

In windows if its xxx.wrd then wordpad starts it, etc etc.

In nautilus on sid associations work in very much the same way, very nice, however linux does something that windows doesnt do, yeah I know a hellava lot more :) , it has the ability to decipher file types without an extension. As I understand it, it peeks at the data and then from a mime-magic file, as far as I can tell, it allocates the file type... and finds the right application.

I've noticed that some of the howto's show as "type unknown", in nautilus. I've tried forcing an association with say text/plain but it wont do it. These files have no extension, ie just a filename. Now if I change the name to say howtodo.TXT, then I can get it associated.
Its because the text standard in the file is slightly different, possibly a russian guy wrote it in english... I think.


If I look at the offending file with "file" it confirms an unknown type, and I guess nautilus uses "file" as well.

So... the question, how can I take an unknown, no extension type and make "magic" happy?



--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to