PDF-XChange Viewer Tips

Tuning PDF XChange Viewer

First, there is a linux-native alternative

Okular is a KDE application that can view and annotate PDF files (and other formats as well). However, Okular's annotations can only be viewed by Okular while PDF XChange Viewer's annotations are displayed correctly in Adobe Reader. Also, Okular depends on many of the KDE libraries, so if you use a Gnome environment (as I do), there is no particular advantage gained from Okular being linux-native.

Loss of menu configuration

There are two variants of PDF XChange Viewer, the standard installable and portable. In the standard variant something about the way the application uses the windows registry means that any modification of the tool bars is lost, This is not the case for the portable variant.

desktop/menue shortcus and file association

The command to run a wine application has two parts; you need to launch wine and direct it to the .exe you want to run. For me, these are:
To run crossover-wine: “/opt/cxoffice/bin/wine”
The path to the .exe: “/home/bessie/.cxoffice/xp/drive_c/Program Files/PDFV_Portable/PDFXCView.exe” this is the path as it is shown in nautilus when viewing the file.

Linux-native-firefox plugin

While I never did get the plugin of the installable version working in linux-native-firefox, the the potential to do so stuck in my mind. A little bit of looking uncovered mozplugger, which uses external applications and makes them behave like plugins. To add PDF XChange you need to add the appropriate flags and command to mozpluggerrc. More information at http://www.linuxmanpages.com/man7/mozplugger.7.php
I found adding
ignore_errors swallow(PDFXCview.exe) fill: /opt/cxoffice/bin/wine "/home/bessie/.cxoffice/xp/drive_c/Program Files/PDFV_Portable/PDFXCview.exe" "$file"
worked. The stream flag also works, but I didn't care for it.


by Unknown on 2009-07-17 11:30:31
Important Information Tips are provided by the CrossOver Community and Advocates. They are not intended to be used for official CodeWeavers Support. For that, please visit our official support pages.
CodeWeavers or its third-party tools process personal data (e.g. browsing data or IP addresses) and use cookies or other identifiers, which are necessary for its functioning and required to achieve the purposes illustrated in our Privacy Policy. You accept the use of cookies or other identifiers by clicking the Acknowledge button.
Please Wait...
eyJjb3VudHJ5IjoiVVMiLCJsYW5nIjoiZW4iLCJjYXJ0IjowLCJ0enMiOi02LCJjZG4iOiJodHRwczpcL1wvbWVkaWEuY29kZXdlYXZlcnMuY29tXC9wdWJcL2Nyb3Nzb3Zlclwvd2Vic2l0ZSIsImNkbnRzIjoxNzMxNDM1MjAzLCJjc3JmX3Rva2VuIjoiOHVXZnB2a0ZrTHQ3VXZ5ciIsImdkcHIiOjB9