xdg-mime

Command line tool for querying information about file type handling and adding descriptions for new file types

Subcommands

NameDescription
queryReturns information related to file types
defaultAsk the desktop environment to make application the default application for opening files of type mimetype
installAdds the file type descriptions provided in mimetypes-file to the desktop environment
uninstallRemoves the file type descriptions provided in mimetypes-file and previously added with xdg-mime install from the desktop environment

Options

NameDescription
--helpShow command synopsis
--manualShow manual page
--versionShow the xdg-utils version information