feh is a lightweight, configurable image viewer and cataloguer aimed primarily at command-line users. It provides a fast way to display pictures without the overhead of a conventional image management application. It can also be launched from graphical file managers.
Rather than relying on an elaborate interface, feh uses specialised viewing modes selected through command-line options. This makes it particularly useful for keyboard-driven workflows, inspecting collections of photographs and integrating image viewing into shell scripts.
feh uses Imlib2 for image loading and rendering. It is designed for X11, although it can run through XWayland on Wayland desktops. Its desktop background functionality is intended for X11 sessions.
This is free and open source software.
Key Features
- Image formats – opens JPEG, PNG, TIFF, BMP, PNM and other formats supported by Imlib2. Animated GIFs display their first frame.
- Slideshow mode – browse images manually or automatically advance through pictures at configurable intervals.
- Thumbnail mode – display clickable thumbnails for browsing image collections, with optional thumbnail caching.
- Montage and index modes – generate image grids and contact sheets with filenames, dimensions and other information.
- Multiwindow mode – open multiple images simultaneously in separate windows.
- List and custom list modes – display image information including dimensions, file sizes and formats, with configurable output.
- Filelist management – save and load collections of image paths for subsequent viewing.
- Directory browsing – recursively search directories and sort images by filename, dimensions, file size and other criteria.
- Viewing controls – fullscreen display, automatic scaling, zooming, panning and borderless windows.
- Image adjustments – rotate, mirror, sharpen and blur images. Optional editing mode saves rotation and mirroring changes to files.
- Image information – display filenames, captions and optional EXIF metadata as overlays.
- Custom actions – execute shell commands on selected images for tasks such as organising or processing files.
- Keyboard and mouse controls – extensive configurable shortcuts, including support for mouse-free operation.
- Remote images – optional HTTP and FTP support through libcurl.
- Automatic reloading – periodically reload displayed images at configurable intervals.
- Wallpaper setting – configure X11 desktop backgrounds with scaling, centring and tiling options.
Website: feh.finalrewind.org
Support:
Developer: Tom Gilbert, Birte Kristina Friesel and contributors
License: MIT License

feh is written in C. Learn C with our recommended free books and free tutorials.
Related Software
| Graphical Image Viewers | |
|---|---|
| feh | Fast and light Imlib2-based image viewer |
| Regards | Modern image viewer with OpenGL/OpenCL support |
| Loupe | Written with GTK 4, Libadwaita and Rust |
| PhotoQT | Good looking, highly configurable, yet easy to use and fast |
| gThumb | Advanced image viewer and browser |
| Geeqie | Lightweight Gtk+ based image viewer |
| qimgv | Qt5 image viewer with video support |
| Vooki | Lightweight viewer with fast image preview |
| Gwenview | Simple image viewer for KDE |
| QuickViewer | Graphic image viewer for comfortable browsing |
| nomacs | Handles most image formats including RAW images |
| qView | Image viewer designed with minimalism and usability in mind |
| Oculante | Hardware-accelerated image viewer |
| GPicView | Simple and fast image viewer |
| Tacent View | Image and texture viewer |
| FIM | Viewer which is highly customizable and scriptable |
| Eye of Gnome | Fast and functional image viewer |
| vipsdisp | Tiny GTK+ image viewer |
| Pineapple Pictures | Lightweight image viewer with Stay-on-Top window |
| Viewnior | Designed with usability in mind |
| sxiv | Simple X Image Viewer |
| PreviewQt | Preview all kinds of files |
| pqiv | Powerful image viewer with minimal UI |
| Ristretto | View and scroll through images |
| QIV | Quick Image Viewer |
| Fotema | Simple photo gallery software |
| CoreImage | Lightweight image viewer; part of the C suite |
| swayimg | Image viewer for Wayland |
| ParaPara | Lightweight and high-speed operation |
| Eye of MATE | Simple graphics viewer for the MATE Desktop Environment |
| LXImage-Qt | LXQt image viewer and screenshot tool |
| Mirage | Fast and simple GTK+ image viewer |
| PixelViewer | .NET based cross-platform image viewe |
| Pix | Image viewer and browser utility which is based on gThumb |
| ImageFan Reloaded | Tab-based image viewer |
| BeeRef | Simple reference image viewer |
| Ephoto | Image viewer based on the EFL |
| SphereView | 360° equirectangular photospheres and panoramas |
| Imagot | Basic graphical image viewer |
| flxvwr | Image viewer written in Go using the Fyne toolkit |
| Blackbody | Thermogram viewer. It allows viewing FLIR and TIFF images |
| Lightning Image Viewer | Fast and lightweight desktop image viewer |
| roseate | Simple image viewer |
| ImageGlass | Versatile image viewer |
| nsxiv | Fork of sxiv |
Read our verdict in the software roundup.
| Wallpaper Setters | |
|---|---|
| Fantascene | Play video wallpapers on your background |
| Variety | Highly configurable utility that offers a great range of features |
| WallpaperDownloader | Download, change, manage wallpapers with this Java tool |
| Superpaper | Advanced multi monitor wallpaper manager |
| wpgtk | Colorscheme, wallpaper and template manager |
| Waywallen | Dynamic wallpaper manager for Wayland desktop environments |
| Picture Of The Day | Grabs a picture of the day from a variety of sources |
| HydraPaper | Gtk utility to set different backgrounds for each monitor on GNOME |
| Waypaper | Lightweight graphical wallpaper manager |
| pacwall | Live wallpaper showing dependency graph and installed packages |
| chwall | Tiny automatic wallpaper changer |
| swaybg | Wallpaper utility for Wayland compositors |
| mpvpaper | Video wallpaper software |
| Komorebi | Fully customisable image, video, and web page wallpapers |
| Azote | GTK+3 based picture browser and background setter |
| WSelector | Wallpaper selector manager |
| Wall Changer | Automatic wallpaper changer |
| Hyprpaper | Wallpaper utility designed for Hyprland |
| Fondo | Quickly find beautiful wallpapers from Unsplash |
| feh | Mode-based image viewer and cataloger aimed at console users |
| xwallpaper | Wallpaper setting utility |
| Damask | Automatically set wallpaper images |
| wpaperd | Lightweight wallpaper daemon with automatic image rotation |
| Walt | Wallpaper manager for Hyprland |
| awww | Wallpaper daemon for Wayland |
| flowy | Lean privacy-preserving dynamic wallpaper changer |
| hpaper | Advanced wallpaper management for Wayland |
| chwp | Changes the wallpaper from the command line |
| Wallrus | Generate colorful abstract wallpapers |
| awtwall | Fast TUI wallpaper picker for Wayland |
| Tinte | Wallpaper utility and theme generator |
| Nitrogen | Background browser and setter |
| gSlapper | Wallpaper utility for Wayland |
| wewa | Renders web content as desktop wallpaper |
| Walldo | Simple graphical wallpaper changer for Linux desktops |
| randwall | Randomly changes the desktop wallpaper |
| Matuwall | Fast graphical wallpaper picker for Wayland desktops |
| Icebg | Lightweight wallpaper setter for Wayland compositors |
| Clockwork Orange | Manage wallpapers and lock screen backgrounds |
Read our verdict in the software roundup.
Explore our carefully curated directory of recommended free and open source software, covering every major software category.The directory forms part of our extensive collection of articles for Linux enthusiasts. It includes hundreds of detailed reviews, together with free and open source alternatives to proprietary software from companies such as Google, Microsoft, Apple, Adobe, IBM, Cisco, Oracle, and Autodesk. LinuxLinks also covers interesting projects worth exploring, Linux-compatible hardware, free programming books and tutorials, and much more. Know a useful free and open source Linux application that we haven’t covered? Tell us about it using our submission form. |


Please read our Comment Policy before commenting.