gvfs-mime gvfs Developer Bastien Nocera hadess@hadess.net gvfs-mime 1 User Commands gvfs-mime Get or set mime handlers gvfs-mime --query MIMETYPE gvfs-mime --set MIMETYPE HANDLER Description gvfs-mime can query information about applications that are registered to handle a mime-type, or set the default handler for a mime-type. Gvfs obtains this information from the shared-mime-info database. The default handler is stored per-user, in the file $XDG_DATA_HOME/applications/mimeapps.list. MIMETYPE should be a mime-type such as text/plain or application/mbox. HANDLER should be the name of an existing desktop file such as gedit.desktop. Options The following options are understood: , Prints a short help text and exits. Shows the version number and exits. Query the handler for MIMETYPE. Set the default handler for MIMETYPE to HANDLER. Exit status On success 0 is returned, a non-zero failure code otherwise. See Also gvfs-open1, Shared MIME-Info specification