Release version: Ubuntu 16.04.3 LTS Package version: 3.18.2-1ubuntu4.1
/usr/share/applications/evince-previewer.desktop comes from the evince package. It has an empty entry in mime types between application/x-ext-cb7 and application/oxps.
===8<=== ... MimeType=application/pdf;application/x-bzpdf;application/x-gzpdf;application/x-xzpdf;application/x-ext-pdf;application/postscript;application/x-bzpostscript;application/x-gzpostscript;image/x-eps;image/x-bzeps;image/x-gzeps;application/x-ext-ps;application/x-ext-eps;application/x-dvi;application/x-bzdvi;application/x-gzdvi;application/x-ext-dvi;image/vnd.djvu;application/x-ext-djv;application/x-ext-djvu;image/tiff;application/x-cbr;application/x-cbz;application/x-cb7;application/x-ext-cbr;application/x-ext-cbz;application/x-ext-cb7;;application/oxps;application/vnd.ms-xpsdocument; ... ===>8===
This entry gets included in /etc/mailcap via update-mime trigger from the package mime-support and the result is a broken line:
===8<=== ... application/x-ext-cb7; evince-previewer %s; test=test -n "$DISPLAY" ; evince-previewer %s; test=test -n "$DISPLAY" application/oxps; evince-previewer %s; test=test -n "$DISPLAY" ... ===>8===
Some programs that use /etc/mailcap get confused by the broken line so it would be nice if the typo it originates from was fixed.
The expected result in /etc/mailcap from running update-mime: ===8<=== ... application/x-ext-cb7; evince-previewer %s; test=test -n "$DISPLAY" application/oxps; evince-previewer %s; test=test -n "$DISPLAY" ... ===>8===
Release version: Ubuntu 16.04.3 LTS
Package version: 3.18.2-1ubuntu4.1
/usr/share/ applications/ evince- previewer. desktop comes from the evince package. It has an empty entry in mime types between application/ x-ext-cb7 and application/oxps.
===8<=== application/ pdf;application /x-bzpdf; application/ x-gzpdf; application/ x-xzpdf; application/ x-ext-pdf; application/ postscript; application/ x-bzpostscript; application/ x-gzpostscript; image/x- eps;image/ x-bzeps; image/x- gzeps;applicati on/x-ext- ps;application/ x-ext-eps; application/ x-dvi;applicati on/x-bzdvi; application/ x-gzdvi; application/ x-ext-dvi; image/vnd. djvu;applicatio n/x-ext- djv;application /x-ext- djvu;image/ tiff;applicatio n/x-cbr; application/ x-cbz;applicati on/x-cb7; application/ x-ext-cbr; application/ x-ext-cbz; application/ x-ext-cb7; ;application/ oxps;applicatio n/vnd.ms- xpsdocument;
...
MimeType=
...
===>8===
This entry gets included in /etc/mailcap via update-mime trigger from the package mime-support and the result is a broken line:
===8<=== x-ext-cb7; evince-previewer %s; test=test -n "$DISPLAY"
...
application/
; evince-previewer %s; test=test -n "$DISPLAY"
application/oxps; evince-previewer %s; test=test -n "$DISPLAY"
...
===>8===
Some programs that use /etc/mailcap get confused by the broken line so it would be nice if the typo it originates from was fixed.
The expected result in /etc/mailcap from running update-mime: x-ext-cb7; evince-previewer %s; test=test -n "$DISPLAY"
===8<===
...
application/
application/oxps; evince-previewer %s; test=test -n "$DISPLAY"
...
===>8===