mimetypes is a utility that generates mime.types files for Apache. The standard file does not include many of the common Linux document MIME types (such as StarOffice, and KDE and GNOME apps). This script automates the extraction of MIME type information from the a combination of running KDE and GNOME applications and displays it in a manner appropriate for Apache.