LinuxCommandLibrary

gvfs-open

opens files and URIs with their default applications

TLDR

Open file with default app

$ gvfs-open [file.pdf]
copy
Open URL
$ gvfs-open [https://example.com]
copy
Open remote file
$ gvfs-open smb://server/share/document.docx
copy
Open directory in file manager
$ gvfs-open [directory]
copy

SYNOPSIS

gvfs-open location

DESCRIPTION

gvfs-open opens files and URIs with their default applications. It uses GVFS and MIME type associations to determine the appropriate application.
The tool handles local files, remote URIs, and URLs. It's the command-line equivalent of double-clicking in GNOME file manager.

PARAMETERS

LOCATION

File, directory, or URI to open.
--help
Display help information.

CAVEATS

Deprecated in favor of gio open. GNOME specific. Requires proper MIME associations.

HISTORY

gvfs-open was developed as part of GVFS for GNOME, now largely replaced by the gio and xdg-open commands.

SEE ALSO

gio(1), xdg-open(1), open(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community