| Register | FAQ | Calendar | Search | Today's Posts | Mark Forums Read |
|
#1
| |||
| |||
| Hi, I use some mailcap entries to have a previewing of some attachments in mutt. For example for pdf file there is the line: application/pdf; pdftotext -layout %s /dev/stdout; copiousoutput That works very well. But I would like to preview images too. For viewing images on the virtual terminal I use fbi, an image viewer for the framebuffer. I have an entry for this application in my mailcap file and it works well with the w3m browser. If one does not know how this looks, I put a screenshot on http://mherrn.de/shot.png. So I would like to have a similar previewing in mutt. But that does not work. When opening a mail with image attachments in mutt, each attachment is given to fbi, but fbi fails to open that image. When all images are tried, I see the mail where the following info is given: [-- Attachment #2: monitoring.png --] [-- Type: image/png, Encoding: base64, Size: 19K --] [-- Autoview using fbi "'/tmp/monitoring.H5WaDL.png'" --] [-- Autoview stderr of fbi "'/tmp/monitoring.H5WaDL.png'" --] using linux console font "/usr/share/consolefonts/lat1-16.psf.gz" map: vt04 => fb0 open '/tmp/monitoring.H5WaDL.png': No such file or directory So what can be the problem here? Is there even a way to have have the images displayed at the same time with the text as with w3m? If not, I still want to open images with the view-attachments command in mutt and opening each attachment directly. At least that should work. This is my mailcap entry for images: image/*; fbi "%s" ; copiousoutput It would be great if someone has any help to me. Marco -- Marco Herrn herrn@gmx.net (GnuPG/PGP-signed and crypted mail preferred) Key ID: 0x94620736 |
|
#2
| |||
| |||
| On 16 May 2004 12:14:48 GMT, Marco Herrn wrote: > map: vt04 => fb0 > open '/tmp/monitoring.H5WaDL.png': No such file or directory Does fbi 'background' when it runs? mutt will delete the temporary file as soon as the viewer process exits, which looks like what's happening. Search on google groups for previous occasions where attachment viewers have come up, there's various solutions in there. -- Paul Do hungry crows have ravenous appetites? |
![]() |
| Thread Tools | |
| Display Modes | |
In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.