Linux command
eog 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Open
eog [path/to/image.png]
Example
eog [image1.jpg] [image2.png]
Example
eog --fullscreen [path/to/image.jpg]
Example
eog --slide-show [path/to/directory]
Example
eog --disable-gallery [path/to/image.jpg]
Example
eog --new-instance [path/to/image.jpg]
说明
eog (Eye of GNOME) is the official image viewer for the GNOME desktop environment. It provides a fast, lightweight interface for displaying images in many formats including JPEG, PNG, GIF, SVG, TIFF, BMP, and more. The viewer supports slideshows, fullscreen viewing, zoom, rotation, and basic image operations. The application integrates with GNOME desktop services and file managers, supporting drag-and-drop, thumbnail generation, and EXIF metadata display. While designed for GNOME, eog can run on other desktop environments, though some features may require GNOME libraries.
参数
- -f, --fullscreen
- Open in fullscreen mode.
- -s, --slide-show
- Open in slideshow mode.
- -g, --disable-gallery
- Disable the image gallery panel.
- -n, --new-instance
- Open in a new instance rather than reusing an existing one.
- -w, --single-window
- Force all images to be opened in a single window.
- --display=_DISPLAY_
- X display to use.
- --version
- Display version information.
- -?, --help
- Show help message.
FAQ
What is the eog command used for?
eog (Eye of GNOME) is the official image viewer for the GNOME desktop environment. It provides a fast, lightweight interface for displaying images in many formats including JPEG, PNG, GIF, SVG, TIFF, BMP, and more. The viewer supports slideshows, fullscreen viewing, zoom, rotation, and basic image operations. The application integrates with GNOME desktop services and file managers, supporting drag-and-drop, thumbnail generation, and EXIF metadata display. While designed for GNOME, eog can run on other desktop environments, though some features may require GNOME libraries.
How do I run a basic eog example?
Run `eog [path/to/image.png]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does -f, --fullscreen do in eog?
Open in fullscreen mode.