Acroread: Why it won't open documents

Joel Hammer Joel
Mon May 17 11:55:16 PDT 2004


Just in case you have this problem.

I downloaded acrobat reader from the lindows warehouse (Debian system). It
wouldn't open valid pdf documents or items linked on the internet.

As usual, knowing bash helps.

which acroread shows that the acroread command is really a script:

#!/bin/bash
cd ~/MyDocuments
/usr/Acrobat5/bin/acroread $*


The person who wrote this script must never have tried to use it. Two
errors in this script prevent acroread from working. First, it always
looks for the documents in MyDocuments. Secondly, it can't handle blanks
in file names.

This script works:

#!/bin/bash
# cd ~/MyDocuments
/usr/Acrobat5/bin/acroread "$*"

Geez.

Joel




More information about the Linux-users mailing list