LinuxCommandLibrary

feh

lightweight X11 image viewer

TLDR

View images

$ feh [image.jpg]
copy
View directory as slideshow
$ feh -D [5] [directory]
copy
Set wallpaper
$ feh --bg-scale [image.jpg]
copy
Thumbnail mode
$ feh -t [directory]
copy
Fullscreen mode
$ feh -F [image.jpg]
copy

SYNOPSIS

feh [options] [files|directories|URLs]

DESCRIPTION

feh is a lightweight, fast image viewer for X11. It supports slideshows, thumbnail browsing, montages, and setting desktop wallpapers through command-line control.
The viewer handles multiple image formats and provides keyboard and mouse controls for navigation and zooming. It can read images from files, directories, stdin, or URLs.
feh is particularly popular for setting wallpapers in window managers that lack built-in wallpaper support.

PARAMETERS

FILES

Images to display.
-F, --fullscreen
Start in fullscreen mode.
-D SEC, --slideshow-delay SEC
Slideshow delay in seconds.
-t, --thumbnails
Thumbnail browser mode.
--bg-scale IMAGE
Set scaled wallpaper.
--bg-fill IMAGE
Set wallpaper filling screen.
-Z, --auto-zoom
Zoom to fit window.
-r, --recursive
Recurse into directories.
--help
Display help information.

CAVEATS

X11 only (no Wayland native). Large images may load slowly. Wallpaper setting requires running at startup.

HISTORY

feh was created by Tom Gilbert in 1999 as a fast, simple X11 image viewer. It remains widely used in lightweight Linux setups, especially for its wallpaper-setting capabilities.

SEE ALSO

sxiv(1), nsxiv(1), imv(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community