FIM: a lean, keyboard-first image viewer that runs just about anywhere

April 17, 2026
A person working on a laptop analyzing financial data in a bright indoor setting.
Photo by RDNE Stock project on Pexels

What it is

FIM (fbi IMproved) bills itself as a "swiss army knife" for displaying images on Linux — and it mostly lives up to that billing. Want to view images on the raw Linux framebuffer? Fine. Over SSH with no X forwarding? You can, using aalib or libcaca for ASCII-art output. Under X, it will pick SDL. GTK, dumb, and other output devices are also supported. It has been reported that fim recently resurfaced on Hacker News, drawing warm nods from terminal aficionados who miss the days when tools did one job and did it well.

Key features

Don’t expect mouse menus. FIM is keyboard-oriented, configurable, and scriptable. Key bindings live in an init file; an internal scripting language (with a readline-style command line, autocompletion and history) handles navigation, scaling, autocommands and aliases. It supports many formats natively (BMP, PCX) and via libraries and converters for JPEG, PNG, GIF, TIFF, QOI, AVIF, WEBP, and more — ImageMagick’s convert is the fallback, with converters given a 15-second timeout. Extras include EXIF display and orientation handling, image caching, command recording, and the ability to read images or scripts from stdin for integration into shell workflows.

How it behaves

FIM guesses image formats by content rather than filename by default (changeable via variables). Point it at a directory and it will load supported files; trailing slashes, stat(2) checks and recursion can be tuned through options. If you want raw fun, there’s even an option to render arbitrary binary files as raw pixelmaps — an easter-egg for the curious. In short: it’s fast, low-overhead, and built for people who prefer typed commands to fancy GUIs.

Why it matters

In an era of bloated apps and heavy desktops, tools like FIM feel refreshingly pragmatic. Need to preview images on a headless server? Or want a reproducible, scriptable image workflow in your dotfiles? FIM answers those calls. For users who live in the terminal and like their tools to behave predictably, it’s a small, powerful throwback — and a reminder that not every problem needs a full-blown desktop app.

Sources: nongnu.org, Hacker News