Bug#901541: more MIME types in xpdf.desktop
Package: xpdf
Version: 3.04-7
Severity: wishlist
Currently xpdf.desktop file contains just one MIME type in the 
application description
MimeType=application/pdf;
Xpdf supports several types of compressed files so I suggest to add them 
to the xpdf.desktop file
MimeType=application/pdf;application/x-pdf;application/x-gzpdf;application/x-bzpdf;application/x-xzpdf;
Some documentation .pdf files are gzipped and additional MIME types will 
remove an obstacle in opening such files using xpdf from GUI. Actually 
the wrapper may be modified for one more type, namely 
application/x-lzpdf using the lzcat utility.
Originally I faced a problem in Ubuntu-16.04, I could not select xpdf at 
all from firefox dialog. It uses gtk application chooser now that lacks 
ability to select particular executable as file type handler or just 
specify the path to the desired application. Unexpected side effect of 
attempt to be user-friendly. It is pleasant surprise to see fix with 
"%f" in Exec field in Debian upstream package. Extended list of MIME 
types may be next step to desktop integration that can not be ignored now.
Reply to: