EnglishFrenchSpanish

Ad


OnWorks favicon

gvfs-mime - Online in the Cloud

Run gvfs-mime in OnWorks free hosting provider over Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

This is the command gvfs-mime that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator

PROGRAM:

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.

Use gvfs-mime online using onworks.net services


Free Servers & Workstations

Download Windows & Linux apps

Linux commands

Ad