Just to update this. /etc/mailcap is created by update-mime which gets its data from /usr/lib/mime/packages
the libreoffice files in there come from the libreoffice packages dpkg-query -S /usr/lib/mime/packages/libreoffice-writer libreoffice-writer: /usr/lib/mime/packages/libreoffice-writer So mailcap gets overwritten that way. No point in manually edting that. And, although it works, modified files in that directory probabaly get overwritten when libreoffice gets updated so it won't work for long A workaround would be to put a file in that directory and then add it to /etc/mailcap.order. For alpine, the problem came back for me, so I've put a couple of scripts in ~/bin/ that run soffice and libreoffice with a sleep 10 command after. alpine then waits the 10 seconds to delete the file which by then is engaged by libreoffice and won't really go away until libreoffice lets it go. I would like to see alpine add a sleep before deleting the temp file. If I find where that is in the source, I'll post ithere. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/905468 Title: View attachment fails in Alpine when attachment is an image: image Viewer cannot find file To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/alpine/+bug/905468/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs