feh Fast image viewer
Light · Postcard
102 × 152 mm · PDF
Dark · Postcard
102 × 152 mm · PDF
Ink saver · Postcard
102 × 152 mm · PDF
Light · A4 landscape
297 × 210 mm · PDF
Dark · A4 landscape
297 × 210 mm · PDF
Ink saver · A4 landscape
297 × 210 mm · PDF
Light · A3 landscape
420 × 297 mm · PDF
Dark · A3 landscape
420 × 297 mm · PDF
Ink saver · A3 landscape
420 × 297 mm · PDF
Start here
feh <dir>feh -rz <dir>
feh -t <dir>
feh --bg-fill <img>
Concepts
- Files args, dirs, -f list
- Filter + sort -r, -S, -z
- Mode slideshow, -w, -m, -t
- Actions keys, -A, --info
Navigate
View and zoom
Mouse
Opening files
feh <file...>
feh -r <dir>
feh -F <dir>
feh -z <dir>
feh -S <sort> <dir>
feh -nfeh --version-sort
feh -Zfeh -g <W>x<H>
feh -xfeh -w <files>
feh -. <files>
feh -f <list>
feh --min-dimension <W>x<H>
feh -B <style>
feh -pfeh -T <theme>
feh --class <name>
Slideshow
feh -D <sec>
feh --on-last-slide <hold|quit|resume>
feh -R <sec>
feh --start-at <file>
feh -dfeh --draw-exiffeh --info '<cmd>'
kill -USR1 <pid>
Montage and index
feh -t <dir>
feh -m <dir>
feh -i <dir>
feh -O <out.png> -m <dir>
feh -o <out.png> -m <dir>
feh -W <px>
feh -y <px> -E <px>
feh --index-info '<fmt>'
Wallpaper
feh --bg-fill <img>
feh --bg-scale <img>
feh --bg-max <img>
feh --bg-center <img>
feh --bg-tile <img>
feh --bg-fill <img1> <img2>
feh --no-fehbg~/.fehbgfeh --image-bg <color> --bg-max <img>
Actions and format
feh -A '<cmd> %F'
feh --action1 '<cmd> %F'
feh -A ';<cmd> %F'
feh -A '[Title]<cmd> %F'
feh -Gfeh -L '<fmt>' <dir>
feh -l <dir>
feh -U <dir>
| Code | Means |
|---|---|
%F |
escaped path (actions) |
%N |
escaped name (actions) |
%f / %n |
path / name (not in actions) |
%w x %h |
width / height |
%S |
human file size |
%u / %l |
number / total files |
%t |
image format |
%z |
zoom |
Config
~/.config/feh/themes
~/.config/feh/keys
~/.config/feh/buttons
Recipes
feh -rzFd --action1 'mv %F ~/keep/' --action2 'rm %F' ~/Pictures# 1 moves, 2 deletes the file on screen
feh -O sheet.png -m -W 1600 -y 200 -E 200 ~/Pictures/trip# no window, writes sheet.png
feh --no-fehbg --bg-fill --randomize ~/Pictures/walls/*# add to xinitrc or your WM autostart
feh -r --min-dimension 1920x1080 -S mtime -n ~/Pictures# newest files come first



