feh – a fast and light image viewer

feh is an X11 image viewer aimed mostly at console users. Unlike most other viewers, it does not have a fancy GUI, but simply displays images. It is controlled via commandline arguments and configurable key/mouse actions.

It is released under a variant of the MIT license. For anything feh-related, you're welcome to join #feh on irc.oftc.net.

feh v2.18.3


feh-2.18.3.tar.bz2 (signature)

  • Fix double-free/OOB-write in E17 IPC. This only affects the background setting options and requires a malicious X11 app to run alongside feh and pretend to be an E17 window manager. (patch by Tobias Stoeckmann)
  • Fix image-specific format specifiers not being updated correctly in thumbnail mode window titles
  • Fix memory leak when closing images opened from thumbnail mode
  • Fix a possible out of bounds read caused by an unterminated string when using --output to save images in long paths. (patch by Tobias Stoeckmann)
  • Fix out of bounds read/write when handling empty or broken caption files. (patch by Tobias Stoeckmann)
  • Fix memory leak when saving a filelist or image whose target filename already exists. (patch by Tobias Stoeckmann)

Archive - Bugs - Release feed



The feh manual explains the various operation modes and options in detail.
You might also be interested in the Changelog.
There is a growing list of examples and screenshots.


Download the source code of the latest release here: feh v2.18.3 (signature). Or check out the latest development version: feh git.

feh is also shipped by many Linux/BSD distributions, including Arch Linux, Debian, FreeBSD, Gentoo, OpenBSD and Ubuntu.

Building from source

You can easily compile feh from source, e.g. to try out the latest changes in the git repository. All you need is GNU make, a C compiler (gcc/clang) and some libraries.

Example for Debian:

First, install the dependencies:
apt-get install libcurl4-openssl-dev libx11-dev libxt-dev libimlib2-dev libxinerama-dev libjpeg-progs

Then, either get the latest tarball:
wget http://feh.finalrewind.org/feh-2.18.3.tar.bz2
tar -xjf feh-2.18.3.tar.bz2
cd feh-2.18.3

or check out the git version:
git clone git://git.finalrewind.org/feh || git clone git://github.com/derf/feh.git
cd feh

Now, compile and install feh:
sudo make install


Please report bugs, feature requests or any other source code related stuff on the GitHub issue tracker. You can also poke derf0 on #feh (irc.oftc.net) or send a mail to derf+feh at finalrewind dot org, though GitHub issues are preferred.

famfamfam iki