gvfs-mime
manages MIME type associations in GNOME
TLDR
Show default handler
$ gvfs-mime --query [text/plain]
Set default handler$ gvfs-mime --set [text/html] [firefox.desktop]
Query image handler$ gvfs-mime --query [image/jpeg]
SYNOPSIS
gvfs-mime [options] mimetype [handler]
DESCRIPTION
gvfs-mime manages MIME type associations in GNOME. It queries and sets default applications for opening different file types.
The tool modifies the user's MIME database to associate applications with content types. Changes affect how files are opened in GNOME.
PARAMETERS
MIMETYPE
MIME type to query or set.HANDLER
Desktop file for handler.--query
Query default handler.--set
Set default handler.--help
Display help information.
CAVEATS
Deprecated in favor of gio mime. GNOME specific. Uses desktop file names.
HISTORY
gvfs-mime was developed as part of GVFS for GNOME, now largely replaced by the gio command.
SEE ALSO
gio(1), xdg-mime(1), update-mime-database(1)
