Ubuntu – Unable to open PDF

pdf

I can't open a downloaded PDF file with Document Viewer. I get:

Unable to open document “file:///home/myuser/myfile.pdf”. File type
Perl script (application/x-perl) is not supported

The same file opens fine with Print Preview (GNOME Document Previewer) as well as on my son's Windows 7 box with Acrobat.

What's missing?

Best Answer

Based on the information you provided, the mentioned file is a perl application, despite being saved as pdf file.

Just to make sure what is the true type of your file, use the file command like this:

file /home/myuser/myfile.pdf

and make sure it is the result be something like this:

/home/myuser/myfile.pdf: PDF document, version x
Related Question