LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices

Reply
 
Search this Thread
Old 08-01-2004, 12:52 AM   #1
Linux24
Member
 
Registered: Aug 2004
Distribution: Mandrake 10.1
Posts: 204

Rep: Reputation: 30
Configuring Adobe Acrobat5


I just installed Adobe Acrobat 5.09. It came as a tarball, and when extracted, there was an installer built in.

I ran the installer (following the readme file).

Acrobat installed to

/usr/local/Acrobat5

However, I cannot find the actual executable in there. There is a file called

/usr/local/Acrobat5/bin/acroread

which is a shell script that launches the file.

What I am trying to figure out are the steps to take to make PDF files, when double-clicked, automatically be passed to Acrobat for reading. Currently they are linked to KGhostViewer or something like that, and it cannot view them.

When I execute the shell script acroread, Acrobat launches. When I use the open function in Acrobat, PDF's will display properly. However, when trying to associate PDF's with the application...

1. Do I associate them with the shell script or with the raw binary (assuming I can find it)?

2. How do I do that? When I right click on a PDF file, I can choose OPEN WITH... and attempt to define a link between PDF and Acrobat, but I have no idea what data to put in there to make it work.

Any suggestions?

Using Gnome 2.4 under Mandrake 10 Linux.
 
Old 08-01-2004, 01:35 AM   #2
jax8
Member
 
Registered: Feb 2004
Location: Australia
Distribution: Ubuntu, Fedora 10
Posts: 632

Rep: Reputation: 31
there will be something in the menus somewhere that allows you to change preferred applications.

I use KDE and that is easy because you just right click on the file and choose "Open With" and choose the acroread script and check the "remember this file association checkbox".

When I first installed Linux I used Gnome and like you I found it very unintuitive. I sould recommend installing KDE and using that.


Oh and yes you do point to the acroread script file.

You may want to add it to the /usr/bin directory with

ln -s /usr/local/Acrobat5/bin/acroread /usr/bin/acroread

Last edited by jax8; 08-01-2004 at 01:38 AM.
 
Old 08-01-2004, 10:03 AM   #3
Linux24
Member
 
Registered: Aug 2004
Distribution: Mandrake 10.1
Posts: 204

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by jax8
ln -s /usr/local/Acrobat5/bin/acroread /usr/bin/acroread [/B]
Thank you so much! Following this command, Gnome added Acrobat to my "View With" right click menu, and I was able to choose the script.

For those who will later search and read this article to solve the same problem...

For those who don't know why this fixed the problem: The problem was that my $PATH environment variable. Every user, when they log on, has a configuration setting called $PATH that is loaded with directories where executable system files live.

My path looks like this:

/usr/bin:/bin:/usr/bin:/usr/local/bin:/usr/X11R6/bin/:/usr/games:/home/me/bin

When you type a command like "ls" on the command line, it works from everywhere because in one of those directories in your path, there is a link or the actual program for ls.

If a program is not in your path, and no link to it is in your path, then when you try to run it from somewhere, the system won't find it.

So, the solution is to either add the Acrobat5 directory to my path (ill-advised), or to put a symbolic link (sort of like a command line version of a Windows shortcut) in a directory that is in the $PATH.

To understand this command

ln -s /usr/local/Acrobat5/bin/acroread /usr/bin/acroread

I recommend the following for more info about what your $PATH is.

http://www.linux-tutorial.info/modul...ial&pageid=329

This page describes the ln command and why this worked to solve this problem:

http://www.linux-tutorial.info/modul...rial&pageid=55

Good luck!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Acrobat5.06 as a Mozilla Helper App raypen Slackware 1 02-08-2006 12:09 AM
Adobe CS is it possible ? TheHushedCaskeT Linux - Software 1 02-06-2005 11:01 AM
Adobe premiere delta_simon Linux - Software 2 10-18-2004 11:06 AM
Adobe pdf 1.5 Belegdol Linux - Software 2 01-28-2004 01:11 AM
Adobe - Acroread 5.0.x Deffe Linux - Software 3 08-27-2003 04:53 PM


All times are GMT -5. The time now is 06:08 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration