Reviews

LINUX PICKS AND PANS

When It Comes to Installation, xPDF Has a Hex on It

If you are looking for a fast, reliable, trouble-free, lightweight PDF viewer, and you stumble upon xPDF in your distro’s app listings, keep stumbling. Chances are it will not run on your Linux configuration.

xPDF

(click to enlarge)

In theory, xPDF is a promising alternative to PDF viewers available for the Linux desktop such as Adobe PDF Viewer, Okular and Evince. It is a fast and light application that does not exhibit sluggish performance in handling bulky PDF files.

Another nice attraction is its cross-platform roots that let you use the same viewing tool whether you view them on Linux, Mac or Windows computers. It also has an interesting set of command-line tools to extend its usefulness.

In practice, however, chances are you will download xPDF to find that it loads but will not work — or it will fail to load at all.

Troublesome Run

xPDF is fraught with uncertainty. If it loads at all, the app displays its blank viewing window. So far that is what it is designed to do. However, when you try to open a pdf file, the xPDF application crashes.

To be kind, xPDF is an example of an open source project that unfairly gives Linux a bad name to new users. xPDF is a freeware program ported to the Linux platform under the GNU GPL version 2 license. Therein lies the problem — bad porting.

xPDF runs nearly perfectly on my Windows 7 test computer. Reboot the same computer into a variety of Linux distros, however, and nada.

Trial and Lots of Errors

Normally I would chalk up ill-performing software to the bad luck that sometimes comes with looking at far too many titles. I would move on in search of yet another Linux package. But I kept trying — almost in vain.

Given the great variety of Linux desktop choices available, someone somewhere might have a similar positive experience. If it runs on your Linux desktop, xPDF might be worth it for you to check out.

xPDF refused to run on nearly every Linux iteration I have. It failed with Linux Mint 14, Ubuntu 12.10 and even Puppy Linux. It also failed to run on a handful of Linux distros I reviewed in recent months. The desktop environment, it seems, made no difference in getting xPDF to do its thing.

However, it did actually run on one distro. Surprisingly, xPDF worked flawlessly on the Knoppix Linux that I reviewed last week.

Telltale Warnings

A notice on foolabs.com that is home for xPDF says that the package runs under the X Window System and should run on mostly any system with a decent C++ compiler. The software should work on nearly any system which runs X11 and has Unix-like (POSIX) libraries.

The operative word in that description, however, is “should.” It does not in most cases. On several instances when I tried installing xPDF, messages warned that several existing libraries may not be compatible and should be removed. The installation routine, however, did not offer to remove them.

When I manually removed them on two different test computers, xPDF still failed to run. I even downloaded an archived package from the home developer’s web site and manually did the installation. When that failed, I used traditional methods such as apt-get install xpdf. That, too, failed to get a working version installed.

Singular Success

I was finally able to open a PDF document using xPDF in Knoppix. I was somewhat impressed with how the PDF viewer performed. If only it worked reliably on the mainstream Linux distros.

xPDF is small and efficient. Its lightweight design is supposed to let it work without Gnome/KDE libraries to run it. As a result, it has few features and a weird interface.

The project includes a utility package that provides command line access to PDF text extractor, a PDF-to-PostScript converter, an image viewer and various other utilities.

Working Rundown

xPDF sports a user interface that is so minimalistic that it does not contain any menu bar or drop-down menus. Most of what you are able to do is ordered through a pop-up menu when you right-click in the document viewing window.

Even opening a PDF file is done from this pop-up menu. You save it in a different file format the same way. The other menu options include viewing the document in fullscreen mode, rotating clockwise, counterclockwise and zooming the selected area.

A few navigational controls are located at the bottom of the xPDF window. These are: next, previous, first and last page. Also located there is an icon to access the print option.

Bottom Panel

Two other functions reside on the bottom panel. One is a button for setting the size of the displayed image in the viewing window.

The options range from 12.5 percent to 1600 percent in 12 increments. There is no custom option to adjust for other percentages. You can also fit to page, width or height.

You can also enter a page number in a window to jump to that location. Enter a number and press the enter key to complete the action.

Bottom Line

xPDF does not allow copying, pasting or printing if the creator of the document imposed those conditions in the original properties of the PDF file. This limitation restricts the usefulness of xPDF for the legitimate use of archiving document content.

The application otherwise would be a handy PDF file viewer. It is much too finicky, however, in running on some of the most popular Linux distros.

The developers should address this issue if they intend to have xPDF be anything more than an orphaned project. Until this problem is solved, distro maintainers should do their users a big favor and remove this package from their repositories.

Want to Suggest a Linux Application for Review?

Is there a Linux software application you’d like to suggest for review? Something you love or would like to get to know?

Please send your ideas to me at [email protected], and I’ll consider them for a future Linux Picks and Pans column.

And use the Talkback feature below to add your comments!

Jack M. Germain has been writing about computer technology since the early days of the Apple II and the PC. He still has his original IBM PC-Jr and a few other legacy DOS and Windows boxes. He left shareware programs behind for the open source world of the Linux desktop. He runs several versions of Windows and Linux OSes and often cannot decide whether to grab his tablet, netbook or Android smartphone instead of using his desktop or laptop gear.

3 Comments

  • I have used xpdf as my preferred PDF viewer for more than 10 years on Mandrake/Mandriva systems.

    It does have problems on my new Mint system, however. I suspect that it’s a problem with Mint (or, more likely Ubuntu on which Mint is based).

  • xPDF is a well established PDF reader that I’ve used for years. Did you happen to check the repo for your distribution and install from there? That would have taken care of the issues you had.

    xPDF was around long before GNOME and KDE even existed. It uses a lot of X libraries that have been replaced by desktop specific libraries. Also distros don’t necessarily put files in the same locations so it isn’t actually a good ideal to download a binary for an application that wasn’t built for your specific distro. The exception would be if the application contained the specific libraries included in some manner.

    For those looking to try xPDF find a compiled version for your distro and you’ll save yourself some hassle. If not be prepared to compile from the source package. Either way its worth the effort.

  • Why are you writing about xPDF as if it is something brand new? It’s been around for well over 15 years.

    newbie hint #1: "freeware" is an objectionable term to many in the Free Software and/or Open Source communities. Especially when used to describe incorrectly Free Software under the GPL.

    newbie hint #2: the leading "x" on a project name is usually a telltale sign that it was first developed for X11/posiX/uniX/LinuX and is *not* a port from windows

Leave a Comment

Please sign in to post or reply to a comment. New users create a free account.

More by Jack M. Germain
More in Reviews

How confident are you in the reliability of AI-powered search results?
Loading ... Loading ...

LinuxInsider Channels