Reflect Image Viewer Code
Brought to you by:
jpl1990
Reflect Image Viewer 0.9.2010.05.15 ----------------------------------- Reflect is an image viewer for Linux that provides only basic features while minimizing bloat and user effort. The interface is simple, driven by intuitive keyboard commands. Reflect performs well even on an old (300 Mhz) computer. These instructions are known to work on an i386 machine running Debian 4.0 Etch. If you install Reflect on a different architecture or operating system, please tell me about any successes or difficulties you may have. John Lindgren <john.lindgren@tds.net> July 9, 2009 Update (January 27, 2010): Also tested on Debian 5.0 Lenny i386, Debian testing i386, and Debian testing amd64. Building -------- Building Reflect is only a matter of compiling all the C source files in this folder and linking them with the right libraries. You will need GCC and headers for the following libraries (listed by their Debian names): libc6 (of course!) libx11 libfontconfig1 libfreetype6 libjpeg62 libexif libpng12 Now run the following script: ./build This will produce a binary named "reflect". If you like, you can now run another script to create a nice .deb package. This script must be run as root so that the files in the package are owned by root: ./build-debian This will create a package named "reflect_<VERSION>_i386.deb". If your computer is a different architecture than i386, the package should still be created fine; you will just need to rename it. I haven't tested this, though. Update (January 27, 2010): ./build-debian now detects amd64 correctly. Installing ---------- Any installation, of course, must be done by root. If you created a .deb package, you can just install that. Otherwise, the following script will copy the necessary files into place: ./install There is a similar script to remove these files: ./remove Running ------- You should now be able to open images in Reflect from your file manager or from a terminal. The program does not accept any command-line switches. The interface is very simple. Pressing Enter goes immediately to the next image. The Up and Down keys navigate through a list of images. Alt-F4 (depending on your window manager) quits.