gvfs-mime(1)


NAME

   gvfs-mime - Get or set mime handlers

SYNOPSIS

   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:

   -h, --help
       Prints a short help text and exits.

   --version
       Shows the version number 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


More Linux Commands

manpages/XDisplayKeycodes.3.html
XDisplayKeycodes(3) - manipulate keyboard encoding and keybo
The XChangeKeyboardMapping function defines the symbols for the specified number of KeyCodes starting with first_keycode. The symbols for KeyCodes outside this

manpages/getnetent_r.3.html
getnetent_r(3) - get network entry (reentrant) (Man Page)...
The getnetent_r(), getnetbyname_r(), and getnetbyaddr_r() functions are the reentrant equivalents of, respectively, getnetent(3), getnetbyname(3), and getnetbyn

manpages/fonts-config.1.html
fonts-config(1) - configures installed X11 fonts. (ManPage)
Configures installed X11 fonts. Basically it does the following things: creates fonts.scale and fonts.dir files fonts-config currently assumes all fonts install

manpages/FcFontSetPrint.3.html
FcFontSetPrint(3) - Print a set of patterns to stdout.......
This function is useful for diagnosing font related issues, printing the complete contents of every pattern in set. The format of the output is designed to be o

manpages/Tcl_InitObjHashTable.3.html
Tcl_InitObjHashTable(3) - procedures to manage hash tables
A hash table consists of zero or more entries, each consisting of a key and a value. Given the key for an entry, the hashing routines can very quickly locate th

manpages/FcPatternAdd-Type.3.html
FcPatternAdd-Type(3) - Add a typed value to a pattern.......
These are all convenience functions that insert objects of the specified type into the pattern. Use these in preference to FcPatternAdd as they will provide com

manpages/flux.1.html
flux(1) - flux fields and stuff. (Commands - Linux man page)
From Terry Walsh (http://reallyslick.com): This screensaver rocks. Ported to Linux by Tugrul Galatali. OPTIONS --root Draw on the root window. --maxfps number S

manpages/ccoshf.3.html
ccoshf(3) - complex hyperbolic cosine - Linux manual page...
The complex hyperbolic cosine function is defined as: ccosh(z) = (exp(z)+exp(-z))/2 VERSIONS These functions first appeared in glibc in version 2.1. CONFORMING

manpages/systemd.timer.5.html
systemd.timer(5) - systemd timer configuration files........
A unit configuration file whose name ends in .timer encodes information about a timer controlled and supervised by systemd, for timer-based activation. This man

manpages/hufo_tunnel.1.html
hufo_tunnel(1) - tunnel saver. (Commands - Linux man page)
From Jeremie Allard (http://hufo.planet-d.net/codefr_us.php): A rewrited version of my first OpenGL Challenge entry. Something like a rebirth :) After too much

manpages/ber_get_stringa.3.html
ber_get_stringa(3) - OpenLDAP LBER simplified Basic Encoding
These routines provide a subroutine interface to a simplified implementation of the Basic Encoding Rules of ASN.1. The version of BER these routines support is

manpages/XrmSetDatabase.3.html
XrmSetDatabase(3) - retrieve and store resource databases...
The XrmGetFileDatabase function opens the specified file, creates a new resource database, and loads it with the specifications read in from the specified file.





We can't live, work or learn in freedom unless the software we use is free.