The Haiku/BeOS Tip Server
Tips and tricks for Haiku/BeOS users

FileTypes overview

Contributed by: Scot Hacker
This tip is valid for: Both BeOS and Haiku

BeOS’ file-type handling is based on MIME types — the Internet standard for identifying file formats by their extensions. But you can also dial in file types on the individual or directory level. In other words, every HTML file on your system doesn’t have to be associated with a single application, as it does on Windows.

As on the Mac, files will by default inherit the filetype of the application that created them. If that app can’t be found, as is often the case with files you download from the Net, a filetype will be guessed by the file extension (if there is one). In other words, you get the best of both worlds: Mac-like intelligence about knowing who created what, and Windows-like convenience of having files from alien systems automatically associated as long as they have an extension (like .txt or .html).

To change the filetype of a single file, right-click it and choose Addons | Filetype. When the dialog pops up, drag a file that already has the association you want on top of the dialog. Alternatively, if you know what you’re doing, you can edit the MIME type manually.

When you close the panel, you’ll be asked if you want to save the new association. Say yes and you’re all set.

Posted in Tracker & Deskbar

(comments are closed).