All Projects → derf → Feh

derf / Feh

Licence: other
a fast and light image viewer

Programming Languages

c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to Feh

Imv
Image viewer for X11/Wayland
Stars: ✭ 652 (-14.88%)
Mutual labels:  x11, image-viewer
Meh
🎑 a simple, minimalist, super fast image viewer using raw XLib
Stars: ✭ 113 (-85.25%)
Mutual labels:  x11, image-viewer
Qview
Practical and minimal image viewer
Stars: ✭ 460 (-39.95%)
Mutual labels:  image-viewer
Nomacs
nomacs is a free image viewer for windows, linux, and mac systems.
Stars: ✭ 694 (-9.4%)
Mutual labels:  image-viewer
2bwm
A fast floating WM written over the XCB library and derived from mcwm.
Stars: ✭ 609 (-20.5%)
Mutual labels:  x11
Berry
🍓 A healthy, byte-sized window manager
Stars: ✭ 496 (-35.25%)
Mutual labels:  x11
Oblique
With Oblique explore new styles of displaying images
Stars: ✭ 633 (-17.36%)
Mutual labels:  image-viewer
Agrume
🍋 A lemony fresh iOS image viewer written in Swift.
Stars: ✭ 449 (-41.38%)
Mutual labels:  image-viewer
Photobox
A lightweight CSS3 image viewer that is pretty to look and and easy to use
Stars: ✭ 735 (-4.05%)
Mutual labels:  image-viewer
I3
A fork of the i3 window manager with gaps and some other features
Stars: ✭ 5,512 (+619.58%)
Mutual labels:  x11
Viewerjs
JavaScript image viewer.
Stars: ✭ 6,270 (+718.54%)
Mutual labels:  image-viewer
Jgmenu
A simple X11 menu
Stars: ✭ 523 (-31.72%)
Mutual labels:  x11
Penrose
A library for writing an X11 tiling window manager
Stars: ✭ 495 (-35.38%)
Mutual labels:  x11
Yabar
A modern and lightweight status bar for X window managers.
Stars: ✭ 646 (-15.67%)
Mutual labels:  x11
Ffcast
Run command on rectangular screen regions
Stars: ✭ 478 (-37.6%)
Mutual labels:  x11
Qimgv
Qt5 image viewer with optional video support
Stars: ✭ 714 (-6.79%)
Mutual labels:  image-viewer
Node X11
X11 node.js network protocol client
Stars: ✭ 453 (-40.86%)
Mutual labels:  x11
Howm
A lightweight, X11 tiling window manager that behaves like vim
Stars: ✭ 619 (-19.19%)
Mutual labels:  x11
Simplelightbox
Touch-friendly image lightbox for mobile and desktop
Stars: ✭ 744 (-2.87%)
Mutual labels:  image-viewer
Quicktile
Adds window-tiling hotkeys to any X11 desktop. (An analogue to WinSplit Revolution for people who don't want to use Compiz Grid)
Stars: ✭ 719 (-6.14%)
Mutual labels:  x11

build status

Feh – Image viewer and Cataloguer

feh is a light-weight, configurable and versatile image viewer. It is aimed at command line users, but can also be started from graphical file managers. Apart from viewing images, it can compile text and thumbnail listings, show (un)loadable files, set X11 backgrounds, and more.

Features include filelists, various image sorting modes, custom action scripts, and image captions. feh can be controlled by configurable keyboard and mouse shortcuts, terminal input and signals. When no file arguments or filelists are specified, feh displays all files in the current directory.

For more information, please refer to the feh website or read the feh manual.

Dependencies

  • Imlib2
  • libcurl (disable with make curl=0)
  • libpng
  • libX11
  • libXinerama (disable with make xinerama=0)

If built with exif=1:

  • libexif-dev
  • libexif12

Recommended Binaries

  • convert (supplied by ImageMagick, can be used to load image formats not supported by Imlib2)

Installation

For end users:

$ make
$ sudo make install app=1

For package maintainers and users who do not want feh to install its icons into /usr/share:

$ make
$ sudo make install

Explanation: feh ships some icons and an X11 desktop entry, which allow it to be used from file managers, desktop menus and similar. However, installing icons to /usr/local/share/... does not seem to work reliably. Because of this, when using "make install app=1", feh will install its icons to /usr/share/..., even though they technically belong into /usr/local.

ZSH completion for feh is also available.

Make flags

feh's build process uses make flags to enable/disable optional features and fine-tune the build and installation process. They can be passed as make arguments or set as environment variables, like so:

make flag=bool
make install flag=bool

or

export flag=bool
make && make install

The following flags are respected by the makefile. A default value of 1 indicates that the corresponding feature is enabled by default.

Flag Default value Description
app 0 install icons to /usr/share, regardless of DESTDIR and PREFIX, and call gtk-update-icon-cache afterwards
curl 1 use libcurl to view https:// and similar images
debug 0 debug build, enables --debug
exif 0 Builtin EXIF tag display support
help 0 include help text (refers to the manpage otherwise)
inotify 0 enable inotify, needed for --auto-reload
stat64 0 Support CIFS shares from 64bit hosts on 32bit machines
verscmp 1 Whether your libc provides strvercmp(). If set to 0, feh will use an internal implementation.
xinerama 1 Support Xinerama/XRandR multiscreen setups

For example, make xinerama=0 debug=1 will disable Xinerama support and produce a debug build; libcurl and natural sorting support will remain enabled.

Additionally, the standard variables PREFIX and DESTDIR are supported.

PREFIX (default: /usr/local) controls where the application and its data files will be installed. It must be set both during make and make install.

DESTDIR (default: empty) sets the installation root during "make install". It is mostly useful for package maintainers.

Note: Defaults are specified in config.mk. It is designed so that in most cases, you can set environment variables instead of editing it. E.g.:

CFLAGS='-g -Os' make
export DESTDIR=/tmp/feh PREFIX=/usr
make && make install

Builtin EXIF support is maintained by Dennis Real, here.

Testing (non-X)

The non-X11 parts of feh can be automatically tested by running

$ make test

This requires perl >= 5.10 and the perl module Test::Command. Tests are non-interactive and do not require a running X11, so they can safely be run on a headless buildserver.

Contributing

Bugfixes are always welcome, just open a pull request :)

Before proposing a new feature, please consider the scope of feh: It is an image viewer and cataloguer, not an image editor or similar. Also, its option list is already pretty long. Please discuss your ideas in a feature request before opening a pull request in this case.

Please keep in mind that feh's options, key bindings and format specifiers are documented in two different places: The manual (man/feh.pre) and the help text (src/help.raw). Although the help is not compiled in by default, it should be kept up-to-date. On space-constrained embedded systems, it may be more useful than the (significantly larger) man page.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].