FBI(1) | Linux framebuffer imageviewer | FBI(1) |
fbi - Linux framebuffer imageviewer
fbi [options] file ...
Fbi displays the specified file(s) on the linux console using the framebuffer device. PhotoCD, jpeg, ppm, gif, tiff, xpm, xwd, bmp, png and webp formats are supported natively. For other fbi tries to use ImageMagick(1)´s convert(1).
Fbi uses the following environment variables:
The commands take effect immediately; it is not necessary to type a carriage return.
In the following commands, i is a numerical argument.
The RETURN vs. SPACE key thing can be used to create a file list while reviewing the images and use the list for batch processing later on:
fbi file1.gif file2.jpg file3.jpg
> fileimagelist.lst
some RETURN and SPACE...
fbi -l fileimagelist.lst
Fbi also provides some very basic image editing facilities. You have to start fbi with the -e switch to use them.
The delete function actually wants a capital letter D, thus you have to type Shift+d. This is done to avoid deleting images by mistake because there are no safety bells: If you ask fbi to delete the image, it will be deleted without questions asked.
The rotate function actually works for JPEG images only. It does a lossless transformation of the image.
Fbi needs rw access to the framebuffer devices (/dev/fbN), i.e you (our your admin) have to make sure fbi can open the devices in rw mode. The IMHO most elegant way is to use PAM(7) to chown the devices to the user logged in on the console. Another way is to create some group, chown the special files to that group and put the users which are allowed to use the framebuffer device into the group. You can also make the special files world writable, but be aware of the security implications this has. On a private box it might be fine to handle it this way though.
Fbi also needs access to the linux console (/dev/ttyN) for sane console switch handling. That is obviously no problem for console logins, but any kind of a pseudo tty (xterm, ssh, screen, ...) will not work.
convert(1), fbset(1), fc-list(1), imagemagick(1), wrjpgcom(1), fonts-conf(5), PAM(7)
Gerd Hoffmann <gerd@kraxel.org>
Copyright (c) 1999-2012 Gerd Hoffmann <gerd@kraxel.org>
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
(c) 1998-2012 Gerd Hoffmann | FBI 2.09 |