Annotate PDFs with XChange Viewer

14/02/16: Since the following is just a very tiny bit of information meant for more experienced users I am currently writing a new more thorough version of this article. You will find the link to it here soon.


Ubuntu needs a good native PDF annotation solution! But meanwhile we still have to work with something. Thanks to gnurou.org for pointing out a good interim solution: PDF-X-Change.

Warning: Having PDF-X-Change installed regularly, it will crash every time you hit save (but saves changes nonetheless).

As a reader of gnurou pointed out in a comment: the portable version of PDF-X-Change does not crash.

To add PDF-X-Change to the "open with" dialog:

Step 1: Add a executable bash script e.g. to you /usr/local/bin/pdfxchange folder:

#!/bin/bash
PDFXVIEWER=~/".wine/drive_c/[PATH TO EXE]/PDFXCview.exe"

if (($# != 1)); then
  echo "usage: $0 filename"
  exit 1
fi

cd "$(dirname "$1")"
wine "$PDFXVIEWER" "$(basename "$1")"

Code taken from the nice guys at ubuntuusers.de.

Step 2: Add a *.desktop file in ~/.local/share/applications/

[Desktop Entry]
Name=PDFXChange
Exec=/usr/local/bin/pdfxchange %U
Terminal=false
Type=Application
# Original Image
# Icon=C055_PDFXCview.0
Icon=/usr/share/icons/Humanity/mimes/48/gnome-mime-application-pdf.svg
MimeType=application/postscript;application/pdf
The author

Written by Per

Free software enthusiast and transhumanist residing in Stuttgart, Germany.


comments powered by Disqus