gvfs-mime(1) centos man page | unix.com

Man Page: gvfs-mime

Operating Environment: centos

Section: 1

GVFS-MIME(1)							   User Commands						      GVFS-MIME(1)

NAME
gvfs-mime - Get or set mime handlers
SYNOPSIS
gvfs-mime --query {MIMETYPE} gvfs-mime --set {MIMETYPE} {HANDER}
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: -h, --help Prints a short help text and exits. --query Query the handler for MIMETYPE. --set Set the default handler for MIMETYPE to HANDLER.
EXIT STATUS
On success 0 is returned, a non-zero failure code otherwise.
SEE ALSO
gvfs-open(1), Shared MIME-Info specification[1]
NOTES
1. Shared MIME-Info specification http://freedesktop.org/wiki/Specifications/shared-mime-info-spec gvfs GVFS-MIME(1)
Related Man Pages
gvfs-info(1) - opensolaris
gvfs-trash(1) - centos
xdg-mime(1) - centos
update-mime-database(1) - sunos
update-mime-database(1) - debian
Similar Topics in the Unix Linux Community
Set hard block limit for user using quota
Best performance UNIX just for HOST Virtualization?
DB2 convert digits to binary format
Docker learning Phase-I
Shopt -s histappend