Public bug reported:
The entry for application/pdf in my /etc/mailcap reads as follows:
application/pdf; evince '%s'; test=test -n "$DISPLAY";
nametemplate=%s.pdf
If I try to open an attachment called "two words.pdf" (with a space in
the name) in my mail client (mutt), I get two evince windows with
errors. One says "Unable to open document “file:///home/slucy/two” and
the other says "Unable to open document “file:///home/slucy/words.pdf”".
If I change the mailcap line to include single quotes around the %s.pdf
as below, mutt can successfully open a pdf attachment with a space in
the name:
application/pdf; evince '%s'; test=test -n "$DISPLAY";
nametemplate='%s.pdf'
I'm running Ubuntu 14.04.3 LTS, with mime-support 3.54ubuntu1.1 and mutt
1.5.21-6.4ubuntu2.1 and evince 3.10.3-0ubuntu10.2.
** Affects: odt2txt (Ubuntu)
Importance: Undecided
Status: Invalid
** Changed in: odt2txt (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1494493
Title:
mailcap entry for application/pdf needs quote marks
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/odt2txt/+bug/1494493/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs