It turns out that there is a third bug in the vendor supplied startup script. It is in the third line. If you make a link on your desktop to this command, and click on the link, you always get an error since $* is null.
So, changing the script again: #!/bin/bash # cd ~/MyDocuments [ -z "$*" ] && /usr/Acrobat5/bin/acroread || /usr/Acrobat5/bin/acroread "$*" Joel On Sat, Nov 01, 2003 at 09:57:37AM -0500, Joel Hammer wrote: > 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 > > > _______________________________________________ > Linux-users mailing list > [EMAIL PROTECTED] > Unsubscribe/Suspend/Etc -> http://smtp.linux-sxs.org/mailman/listinfo/linux-users _______________________________________________ Linux-users mailing list [EMAIL PROTECTED] Unsubscribe/Suspend/Etc -> http://smtp.linux-sxs.org/mailman/listinfo/linux-users
