Skip to content
Snippets Groups Projects
feh.pre 30.1 KiB
Newer Older
.Dd $DATE$
.Nm feh
.Nd image viewer and cataloguer
.
.Nm
.Op Ar options
.Ar files or directories ...
This manual documents feh $VERSION$
Compile-time switches: libcurl support $MAN_CURL$, Xinerama support
$MAN_XINERAMA$$MAN_DEBUG$
.Sh DESCRIPTION
is a mode-based image viewer.  It is especially aimed at commandline users who
need a fast image viewer without huge GUI dependencies, though it can also be
started by
file managers to view an image.
supports filelists, various image sorting modes, image captions and more.
Configurable keyboard shortcuts are used to control it; the mouse is also
supported, but only required for very few actions.
.Pp
.
.Nm
can also be used as wallpaper setter.
.
.Nm
is based on various modes, which are selected at startup by comandline
options.
Slideshow mode is the default.  It opens one window and displays the first
image in it, the keyboard and mouse can be used to change slides
.Pq images .
In slideshow mode, images can be deleted either from the filelist or from the
disk, the new filelist can then be saved to the disk and reopened at a later
time.
Montage mode forms a montage from the filelist.  The resulting image can be
viewed or saved, and its size can be limited by height, width or both.
Index mode forms an index print from the filelist.  Image thumbnails are shown
along with the filename, filesize and pixel size, printed using a truetype
font of your choice.  The resulting image can be viewed or saved, and its size
can be limited by height, width or both.
Thumbnail mode is like index mode, but the mini-images are clickable and open
the selected image in a new window.
Multiwindow mode shows images in multiple windows, instead of as a slideshow
in one window.  Don't use with a large filelist ;)
List mode doesn't display images.  Outputs an
.Cm ls - No style
listing of the files in the filelist, including image info such as size,
pixels, type, etc.  Customlist mode will display whatever image info you want,
in the format you choose.
can also list either all the loadable files in a filelist or all the
unloadable files.  Useful for preening a directory.
.
.Bl -tag -width indent
.It Cm -A , --action Oo Ar flag Oc Ns Ar action
Specify a shell command as an action to perform on the image.  In slideshow or
multiwindow mode, the action will be run when the action_0 key is pressed, in
list mode, it will be run for each file.  In loadable/unloadable mode, it will
be run for each loadable/unloadable file, respectively.
If
.Ar flag
is
.Qq \&; ,
.Nm
will reload the current image instead of switching to the next one after
executing the action.
The action will be executed by /bin/sh.  Use format specifiers to refer to
image info.  See
.Sx FORMAT SPECIFIERS
for examples.  E.g.
.Qq feh -A "mv ~/images/%n" * .
In slideshow mode, the next image will be shown after running the action, in
multiwindow mode, the window will be closed.
.It Cm --action1 No .. Cm --action9
Extra actions which can be set and triggered using the appropiate number key.
.It Cm -Z , --auto-zoom
Zoom pictures to screen size in fullscreen / fixed geometry mode.
.It Cm -x , --borderless
Create borderless windows.
.It Cm -P , --cache-thumbnails
Enable thumbnail caching in
Only works with thumbnails <= 256x256 pixels.
.It Cm -K , --caption-path Ar path
Path to directory containing image captions.  This turns on caption viewing,
and if captions are found in
.Ar path ,
which is relative to the directory of each image, they are overlayed on the
displayed image.  E.g. with caption path
.Qq captions/ ,
and viewing image
.Qq images/foo.jpg ,
the caption will be looked for in
.Qq images/captions/foo.jpg.txt .
.It Cm -L , --customlist Ar format
Don't display images, print image info according to
instead.  See
.Sx FORMAT SPECIFIEDRS .
.It Cm --cycle-once
Exit feh after one loop through the slideshow.
.It Cm -G , --draw-actions
Draw the defined actions and what they do at the top-left of the image.
.It Cm -d , --draw-filename
Draw the filename at the top-left of the image.
.It Cm --draw-tinted
.
Show overlay texts
.Pq as created by Cm --draw-filename No et al
on a semi-transparent background to improve their readability
.
.It Cm -f , --filelist Ar file
This option is similar to the playlists used by music software.  If
.Ar file
exists, it will be read for a list of files to load, in the order they appear.
The format is a list of image filenames, absolute or relative to the current
Loading
Loading full blame...