NAME

gvfs-open – Open files with the default handler  

SYNOPSIS

gvfs-open [OPTION…] [FILE…]
 

DESCRIPTION

gvfs-open

opens files with the default application that is registered to handle files of this 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.  

OPTIONS

The following options are understood:

-h, –help

Prints a short help text and exits.

–version

Shows the version number and exits.
 

EXIT STATUS

On success 0 is returned, a non-zero failure code otherwise.  

Willie has over 15 years of experience in Linux system administration and DevOps. After managing infrastructure for startups and enterprises alike, he founded Command Linux to share the practical knowledge he wished he had when starting out. He oversees content strategy and contributes guides on server management, automation, and security.