Software & Apps Linux The FEH Command Line Image Viewer This quick shell-invoked image viewer offers great thumbnailing capability by Gary Newell Writer Gary Newell was a freelance contributor, application developer, and software tester with 20+ years in IT, working on Linux, UNIX, and Windows. our editorial process Gary Newell Updated on September 11, 2020 Tweet Share Email Linux Switching from Windows The feh lightweight image viewer offers a quick-and-easy way to display images and even to perform a few light edits. It also develops text and thumbnail listings and displays slideshows. In most cases, feh isn't installed by default, so install it according to your package manager's procedure. Invoking 'feh' To run feh, invoke it from a shell prompt specifying a particular image: feh teal-cat.jpeg The command—which occupies the shell in the foreground—displays the image in a simple frame. When you close feh, the shell prompt returns. Using the 'feh' Graphical Interface While an image displays, right-click on it to reveal a flyout menu. From it, you're free to perform very basic edits like setting the image as the desktop background, rotating it, resizing it and saving it with a different filename. Options are limited, however. This utility is optimized for fast viewing, not for detailed graphics editing. Using 'feh' from the Shell Run man feh from the shell to reveal the entire set of man pages for this program. When you invoke feh, use the following flags and options to extend the utility's performance: -Z: Zoom pictures to the screensize in full-screen mode-x: Use a borderless window-d: Overlay the filename at the top-left edge of the image--edit: Allows for rotating/mirroring the image using the <, >, | and _ keys.-F: Displays the window in fullscreen mode-g widthxheight: Uses a fixed-size window—e.g., -g 640x480 fixes the size as 640-pixels-by-480-pixels.-i: Enables index mode to create an index of thumbnails with the image name beneath the thumbnail-l: Instead of displaying an image, it analyzes them and prints a directory listing with additional metadata.-m: Montage mode, which creates a new image consisting of a grid of thumbnails of the images in the fileset.-z: Randomize files in a slideshow-r: Recursively expand all directories in the command-line argument to include those directories, all the way to the bottom-most level-S type: Sort images according to parameters; valid types include name, filename, dirname, mtime, width, height, pixels, size, format Was this page helpful? Thanks for letting us know! Get the Latest Tech News Delivered Every Day Email Address Sign up There was an error. Please try again. You're in! Thanks for signing up. There was an error. Please try again. Thank you for signing up. Tell us why! Other Not enough details Hard to understand Submit