LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Adobe PDF (https://www.linuxquestions.org/questions/linux-newbie-8/adobe-pdf-235107/)

Little Dump 09-25-2004 11:38 AM

Adobe PDF
 
I installed Adobe's PDF viewer.

I go to open a PDF file and I goto open with and then other application. acroread isnt in that list. How do I add it?

Thanks.

MartinN 09-25-2004 11:41 AM

What distribution are we talking about? They are all pretty different.

Martin

Komakino 09-25-2004 11:41 AM

It depends which window manager you're using. I expect you can just type acroread into the box or something. Or failing that, use a console window and do it that way.

You probably have a couple of PDF readers already installed anyway...gpdf or xpdf depending on your distro.

Little Dump 09-25-2004 12:34 PM

using gnome on debian

cant add anything in that box

mirradric 09-25-2004 12:49 PM

Quote:

cant add anything in that box
What do you mean? Adobe acrobat reader is not in debian but from what i remember adobe do have linux versions of their reader for free download. Go take a look at their website.

mirradric 09-25-2004 12:58 PM

By the way, I forgot to mention that debian do come with quite a few pdf viewers like xpdf, gv, gnome-gv....

MartinN 09-25-2004 01:03 PM

I use Gnome on RedHat8 and Fedora Core 2. Hope it's close enough. I haven't got any Debian box, I'm afraid. :o

o Right-click on icon "Open With" > "Other Application"

o There is a section called "File Types and Programs" and a button labeled "Go There". Click it.

o In the new window there is a section "Actions" and a drop down menu "Default action". Select "Custom"

o Now you can type a new program name in the field "Program to run:"

You should probably give the full search path there e.g. /usr/bin/acroread. If you don't know the path, try this:

o Open a terminal window and type acroread. If that works, then acroread is in your search path. Get the path with:
which acroread

o Otherwise, search for it!
find / -name 'acroread'

Did this solve your problem?

Good luck!
Martin

Little Dump 09-25-2004 01:15 PM

I did that but it still doesnt open with acroread

No where in my /etc/mailcap file does it say acroread

mirradric 09-25-2004 01:25 PM

Did you manage to find arcoread? Can you run it from a menu or a xterm?

Komakino 09-25-2004 04:34 PM

Have you tried using a different pdf viewer...maybe xpdf or gpdf?

Little Dump 09-26-2004 09:10 AM

yeah i can run it from a terminal no problem.

Heres where I have the mime type set.

http://img.photobucket.com/albums/v3...Screenshot.jpg

MartinN 09-26-2004 09:40 AM

That looks pretty much correct. Just to rule out that, try entering the full search path for acroread in the "Program to run" field. Type
which acroread
in a terminal to see the full path. A full search path always starts with / e.g. /usr/bin/acroread

Martin

Little Dump 09-26-2004 09:44 AM

Ok I did that.

It still tries to open with gnome pdf.

Little Dump 09-26-2004 05:55 PM

I fixed it.

I added application/pdf; /usr/local/Acrobat5/bin/acroread %s

to my ~/.mailcap

and in the file types thing, I had to put /usr/local/Acrobat5/bin/acroread %s

not just

/usr/local/Acrobat5/bin/acroread

archtoad6 11-25-2006 07:16 AM

I know this is an old thread, but it is very close to the solution to a problem I have.

My Q: What did you mean by "the file types thing"?

And BTW, your link:
http://img.photobucket.com/albums/v3...Screenshot.jpg
has, understandably, gone stale.


All times are GMT -5. The time now is 02:41 AM.