Package: fbi
Version: 2.07-1
Severity: minor
File: /usr/lib/mime/packages/fbi

AFAIK, fbi will work iff it is run by root, or run from a
securetty(5).  In particular, this does not include GNU Screen
sessions.  Please extend lines such as this:

    image/jpeg; fbi '%s'; test=test -z "$DISPLAY"; needsterminal;

A crappy but simple extension is to check for the screen session (STY)
as is done for the X session (DISPLAY):

    image/jpeg; fbi '%s'; test=test -z "$DISPLAY$STY"; needsterminal;

Maybe it is possible for test to be something more complicated and
accurate, like this:

    test -z "$DISPLAY" &&
    ( test 0 -eq $EUID  ||
      fgrep -qx `tty | cut -d/ -f3` /etc/securetty )

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.30-1-686 (SMP w/1 CPU core)
Locale: LANG=en_AU.utf8, LC_CTYPE=en_AU.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages fbi depends on:
ii  ghostscript            8.64~dfsg-12      The GPL Ghostscript PostScript/PDF
ii  libc6                  2.9-12            GNU C Library: Shared libraries
ii  libcurl3-gnutls        7.19.5-1          Multi-protocol file transfer libra
ii  libexif12              0.6.17-1          library to parse EXIF files
ii  libfontconfig1         2.6.0-4           generic font configuration library
ii  libfreetype6           2.3.9-4.1         FreeType 2 font engine, shared lib
ii  libgif4                4.1.6-6           library for GIF images (library)
ii  libjpeg62              6b-14             The Independent JPEG Group's JPEG 
ii  libpcd2                1.0.1-2           library for reading PhotoCD images
ii  libpng12-0             1.2.37-1          PNG library - runtime
ii  libtiff4               3.8.2-13          Tag Image File Format (TIFF) libra
ii  zlib1g                 1:1.2.3.3.dfsg-13 compression library - runtime

fbi recommends no packages.

Versions of packages fbi suggests:
ii  imagemagick            7:6.3.7.9.dfsg2-1 image manipulation programs

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to