What is a current replacement of gnome-open
command (generic open of files based on the type)?
Before:
gnome-open mydoc.pdf # opened PDF in default application
Now:
gnome-open
The program 'gnome-open' is currently not installed. You can install
it by typing: sudo apt-get install libgnome2-0
You can use
xdg-open
to open documents, like so:This has a bonus of being desktop agnostic so it should work regardless of what desktop the user has installed. In GNOME itself
gnome-open
has been replaced bygvfs-open
.References:
You can use
gio
too. For examplegio open notes.doc
.