LinuxCommandLibrary

eog

View image files

TLDR

Open an image file

$ eog [path/to/image.png]
copy

Open multiple images
$ eog [image1.jpg image2.png ...]
copy

Open images in fullscreen mode
$ eog --fullscreen [path/to/image.jpg]
copy

Start a slideshow
$ eog --slide-show [path/to/directory]
copy

Open a single image without image collection
$ eog --single-window [path/to/image.jpg]
copy

Open an image in a new window instance
$ eog --new-instance [path/to/image.jpg]
copy

SYNOPSIS

eog [OPTION...] [FILE...]

PARAMETERS

-?, --help
    Show basic help options

--help-all
    Show all help options

--help-gtk
    Show GTK-specific options

--help-gapplication
    Show GApplication options

--version
    Print version information

--new-window
    Open files in a new window

--new-instance
    Run a new single-instance

--fullscreen
    Start in fullscreen mode

--slide-show
    Start slideshow immediately

--scroll-tool
    Enable scroll tool

--only-show-decorations
    Show only window decorations

--always-show-image-nav
    Always display image navigation

--disable-dark-mode
    Disable dark mode support

--display=DISPLAY
    Specify X display to use

--class=CLASSNAME
    Set window class name

DESCRIPTION

EOG (Eye of GNOME) is the default image viewer application for the GNOME desktop environment on Linux and Unix-like systems. It provides a simple, intuitive interface for viewing single images or entire directories of images.

EOG supports numerous popular formats such as JPEG, PNG, GIF, BMP, ICO, XPM, XBM, TIFF, WebP, and SVG. Users can zoom in/out with mouse wheel or keyboard shortcuts, rotate and flip images, view EXIF metadata, and navigate collections via thumbnails.

Key features include fullscreen mode, automatic slideshow playback, image scaling options (fit to window, best fit), and basic plugins for extensions like color management. It handles multiple files by opening them in tabs or separate windows, and integrates with file managers like Nautilus for drag-and-drop and thumbnail previews.

Designed for speed and minimalism, EOG avoids heavy editing tools, focusing on quick viewing. Recent versions support Wayland compositing, dark mode adaptation, and accessibility features like screen reader integration.

FILE HANDLING

Opening a directory starts a thumbnail browser; supports drag-and-drop from Nautilus.
Multiple files open in tabs by default.

KEYBOARD SHORTCUTS

Zoom: + / - or Ctrl+mousewheel
Fullscreen: F11
Rotate: Ctrl+R (CW), Ctrl+L (CCW)
Close tab: Ctrl+W

HISTORY

Introduced with GNOME 2.0 in 2002 as a replacement for earlier viewers like Eye of Gnome 0.x. Maintained by GNOME project, it transitioned to GTK3 in GNOME 3 (2011) and gained Wayland support in GNOME 40+ (2021). Widely used in Ubuntu, Fedora, and other distros.

SEE ALSO

gthumb(1), feh(1), evince(1), gimp(1)

Copied to clipboard