It's the default image viewer for Ubuntu, and apparently it's called Eye of Gnome. I would like to be able to launch it from the command line, passing it a file name to open.
The command to use is
eog (Eye of GNOME). And you call it like so:
which opens a file or URL in the user's preferred application.
- Xfce (
- Gnome (
gnome-open "$1"with fallback to generic open),
- KDE (
kde-open "$1"with fallback to
kfmclient exec "$1"),
- Mate (
- LXDE (
pcmanfm $1with fallback to generic open),
- Enlightenment (
- Cinnamon (
open_gnome3 $1, which is
gvfs-open "$1"with fallback to generic open),
- Cygwin (
- Darwin (
and tries its luck with other desktop environments (called generics).
$1 is your image filename.
$ locate xdg-open /usr/bin/xdg-open /usr/share/man/man1/xdg-open.1.gz $ less /usr/bin/xdg-open