MIME-types define different file types allowing the operating system to deal with them correctly. Many generic file types are already defined in Puppy such as Jpegs and Mp3s. These are defined by XML description files in the freedesktop.org's package shared-mime-info. If a program only a generic filetype rather than a specific format there is no need to add a MIME-type - instead associate existing MIME-type to that program.

3. This information is then added to various files in using the command update-mime-database /usr/share/mime (files updated include globs, globs2, magic, subclasses, aliases, icons, generic-icons, XMLnamespaces and mime.cache).

Note in standard Puppy as the XML descriptions in /usr/share/mime/... and the command update-mime-database have been removed - this saves about 2.5Mb of space.

All ROX needs is an extra line adding to various files in /usr/share/mime (minimally just globs). The echo and >> commands can do this. For example, observing update-mime-database on audacity.xml the equilavent code is: