HiveBrain v1.2.0
Get Started
← Back to all entries
snippetbashTip

feh — Lightweight image viewing utility. More information: <https://man.finalrewind.org/1/feh/>.

Submitted by: @import:tldr-pages··
0
Viewed 0 times
commandlightweightcliimageutilityviewingmorefeh

Problem

How to use the feh command: Lightweight image viewing utility. More information: <https://man.finalrewind.org/1/feh/>.

Solution

feh — Lightweight image viewing utility. More information: <https://man.finalrewind.org/1/feh/>.

View images locally or using a URL:
feh {{path/to/images}}


View images recursively:
feh {{[-r|--recursive]}} {{path/to/images}}


View images and display the file name at the top-left of the images:
feh {{[-d|--draw-filename]}} {{path/to/images}}


View images without window borders:
feh {{[-x|--borderless]}} {{path/to/images}}


Set the behavior when reaching the beginning or end of the image list:
feh --on-last-slide {{hold|quit|resume}} {{path/to/images}}


Use a specific slideshow cycle delay:
feh {{[-D|--slideshow-delay]}} {{seconds}} {{path/to/images}}


Use a specific wallpaper mode (centered, filled, maximized, scaled, or tiled):
feh --bg-{{center|fill|max|scale|tile}} {{path/to/image}}


Create a montage of all images within a directory, outputting as a new image:
feh {{[-m|--montage]}} {{[-E|--thumb-height]}} {{150}} {{[-y|--thumb-width]}} {{150}} --index-info "{{%nn%wx%h}}" {{[-o|--output]}} {{path/to/montage_image.png}}

Code Snippets

View images locally or using a URL

feh {{path/to/images}}

View images recursively

feh {{[-r|--recursive]}} {{path/to/images}}

View images and display the file name at the top-left of the images

feh {{[-d|--draw-filename]}} {{path/to/images}}

View images without window borders

feh {{[-x|--borderless]}} {{path/to/images}}

Set the behavior when reaching the beginning or end of the image list

feh --on-last-slide {{hold|quit|resume}} {{path/to/images}}

Context

tldr-pages: common/feh

Revisions (0)

No revisions yet.