Package: fbi
Version: 2.07-10
Severity: normal
File: /usr/lib/mime/packages/fbi

I had fbi installed but no framebuffer device in the kernel.  The "see"
program selected fbi from the mailcap when it doesn't run.

    open /dev/fb0: No such file or directory
    Warning: program returned non-zero exit code #1

Where I hoped the mailcap test condition would skip fbi when it won't
run.  I don't think the test

    test -z "$DISPLAY"

is enough to tell when it's runnable.  I see other bugs propose cases
from more env vars but I think it would be more reliable if there was
some option on the fbi program which had check whether it can run

    test=fbi --test; ...

I suppose this would mean opening fb0 or $FRAMEBUFFER device, notice if
another program is using it maybe.  More or less whatever is it's usual
initializations but just an exit code instead of actually running.


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-486
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/dash

Versions of packages fbi depends on:
ii  ghostscript      9.05~dfsg-6
ii  libc6            2.13-10
ii  libcurl3-gnutls  7.24.0-1
ii  libexif12        0.6.20-3
ii  libfontconfig1   2.9.0-7
ii  libfreetype6     2.4.9-1
ii  libgif4          4.1.6-9.1
ii  libjpeg8         8d-1
ii  libpng12-0       1.2.47-1
ii  libtiff4         3.9.6-7
ii  zlib1g           1:1.2.7.dfsg-13

fbi recommends no packages.

Versions of packages fbi suggests:
ii  imagemagick  8:6.6.9.7-5+b2

-- no debconf information


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to