ies to dithered 8 bit mode only). Default is 1.0. FRAMEBUFFER (just like in fbi) user set framebuffer device file (applies only to the fb mode). If unset, fim probes for /dev/fb0. TERM (only in fim) influences the output device selection algorithm, especially if $TERM=="screen". SSH_TTY if set and no output device specified, assume we’re over ssh, and give precedence to ca, then aa (if present). DISPLAY If this variable is set, then the sdl driver is probed by default. needs read-write access to the framebuffer devices (/dev/fbN or /dev/fb/N), i.e you (our your admin) have to make sure fim can open the devices in rw mode. The IMHO most elegant way is to use pam_console (see /etc/security/console.perms) 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 through.
If using udev, you can edit:
/etc/udev/permissions.d/50-udev.permissions and set
these lines like here:
# fb devices
fb:root:root:0600
fb[0-9]*:root:root:0600
fb/*:root:root:0600
also needs access to the linux
console (i.e. /dev/ttyN) for sane console switch handling.
That is obviously no problem for console logins, but any
kind of pseudo tty (xterm, ssh, screen, ...) will work.
# get help for options -R and
# load files from the directory
# open files found by recursive traversal of directory media, then sorting the list
# read input files list from standard input
# read input files list from standard input, randomly shuffled
# read a script file from standard input before displaying files in the directory
# read the image scanned from a flatbed scanner as soon as it is read
# visualize a slice from an HDF5 dataset file
# output the file names marked interactively with the ’list "mark"’ command in fim to a file
# output the file names marked with ’m’ in fim to a second instance of fim, in which these could be marked again
-c ’pread
"vgrabbj -d /dev/video0 -o
png";reload’
# display an image grabbed from a webcam
-o aa -c
’pread "vgrabbj -d /dev/video0 -o
png";reload;system "fbgrab"
"asciime.png"’
# if running in framebuffer mode, saves a png screenshot
with an ASCII rendering of an image grabbed from a
webcam
-c ’while(1){pread "vgrabbj -d /dev/video0 -o png";reload;sleep 1;};’
# display a sequence of images grabbed from a webcam; circa 1 per second
This manual page is neither accurate nor complete. In particular, issues related to driver selection shall be described more accurately. Also the accurate sequence of autocommands execution, variables application is critical to understanding fim, and should be documented. The filename "<STDIN>" is reserved for images read from standard input (view this as a limitation), and thus handling files with such name may incur in limitations. The SDL driver is quite inefficient, for a variety of reasons. In particular, its interaction with the readline library can be problematic (e.g.: when running in sdl mode without a terminal). This shall be fixed. The GTK driver is still under development. fim has bugs. Please read the file shipped in the documentation directory to discover the known ones. There are also inconsistencies in the way the internal command line works across the different graphical devices.
The directory with fim
documentation files. The system-wide fim
initialization file (executed at startup, after executing
the hardcoded configuration). The personal fim
initialization file (executed at startup, after the
system-wide initialization file). File where to load
from or save. See (man fimrc(5), man
readline(3)). If fim is built with GNU
readline support, it is susceptible to changes in the user
set ~/.inputrc configuration file contents. For details, see
(man readline(3)). Other fim man pages:
fimgs(1), fimrc(1).
Conversion programs: convert(1), dia(1),
xcftopnm(1), fig2dev(1), inkscape(1).
Related programs: fbset(1), con2fb(1),
vim(1), mutt(1), exiftool(1),
exiftags(1), exiftime(1), exifcom(1),
fbi(1), fbida(1), feh(1),
fbgrab(1).
Related documentation: fbdev(4), vcs(4),
fb.modes(8), fbset(8), setfont(8).
Michele Martone <dezperado _CUT_ autistici _CUT_ org>
is the author of fim, "fbi improved".
Copyright (C) 2007-2024 Michele Martone <dezperado
_CUT_ autistici _CUT_ org> (author of fim)
Copyright (C) 1999-2004 Gerd Hoffmann <kraxel _CUT_ bytesex.org> is the author of "fbi", upon which was originally based. 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.