View previous topic :: View next topic |
Author |
Message |
fuchsmi Tux's lil' helper
Joined: 11 Jun 2003 Posts: 118
|
Posted: Sat Nov 06, 2004 4:47 pm Post subject: howto use kpdf for firefox? |
|
|
hi!
I'm using KDE with firefox. acroread isn't the best linux software so I want to use kpdf or kghostview as PDF viewer.
Is it possible to use kpdf as firefox plugin?
Michi |
|
Back to top |
|
|
Koroviev n00b
Joined: 06 Nov 2004 Posts: 40 Location: Scotland
|
|
Back to top |
|
|
taurus l33t
Joined: 21 Sep 2004 Posts: 657 Location: I need to be somewhere...
|
Posted: Sat Nov 06, 2004 8:15 pm Post subject: |
|
|
Try this
Edit -> Preferences -> Downloads
Then, hightlight xpdf and click on Change Action... Pick "Open them in this application:" and type in the one that your want or you can browse for it!
Let me know how it turns out.
taurus |
|
Back to top |
|
|
torklingberg Tux's lil' helper
Joined: 30 May 2004 Posts: 86
|
Posted: Mon Dec 06, 2004 7:57 pm Post subject: |
|
|
I do not have xpdf in the list of file types. Just wav. |
|
Back to top |
|
|
SvenFischer Veteran
Joined: 05 Feb 2003 Posts: 1033 Location: Berlin
|
Posted: Fri Feb 18, 2005 3:06 pm Post subject: |
|
|
edit->preferences-> applications (in German called like little application)
enter a new "application/pdf" with the path to kpdf. _________________ Core2Duo, 4GB RAM, AMD/ATI 4850 and nice person in front! |
|
Back to top |
|
|
Phlogiston Veteran
Joined: 27 Jan 2004 Posts: 1925 Location: Europe, Swizerland
|
Posted: Tue Mar 22, 2005 7:24 pm Post subject: |
|
|
could somebody explain this again? I can't get it working...
And the list in downloads is empty in my case... _________________ Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor |
|
Back to top |
|
|
ppurka Advocate
Joined: 26 Dec 2004 Posts: 3256
|
Posted: Wed Mar 23, 2005 6:36 am Post subject: |
|
|
SvenFischer wrote: | could somebody explain this again? I can't get it working...
And the list in downloads is empty in my case... | If you have an action defined in Edit -> Preferences -> Downloads -> Filetypes, by the name of PDF, then you can click on Change Action or you can remove that entry. If you do a "Change Action", then it will ask you to give the name of an application by which firefox should open the pdf file. Change that to kpdf.
If you decide to remove that entry, then the next time you click on a pdf file link, firefox will ask you what you want to do with that file, and you can specify the program name kpdf and also tick on "remember choice" or something similar.
HTH |
|
Back to top |
|
|
seidren n00b
Joined: 29 Sep 2004 Posts: 9
|
Posted: Wed Mar 23, 2005 6:44 am Post subject: |
|
|
If you are trying to get the pdf file to be opened 'inside' firefox. Then you need mozplugger installed and you have to edit the /etc/mozpluggerrc file.
find the line where it says...
Code: |
application/pdf: pdf: PDF file
application/x-pdf: pdf: PDF file
text/pdf: pdf: PDF file
text/x-pdf: pdf: PDF file
repeat swallow(documentShell) fill: acroread -geometry +9000+9000 +useFrontEndProgram "$file"
|
and add this line before the acroread line...
Code: |
repeat swallow(kpdf) fill: kpdf "$file"
|
So the final change would be...
Code: |
application/pdf: pdf: PDF file
application/x-pdf: pdf: PDF file
text/pdf: pdf: PDF file
text/x-pdf: pdf: PDF file
repeat swallow(kpdf) fill: kpdf "$file"
repeat swallow(documentShell) fill: acroread -geometry +9000+9000 +useFrontEndProgram "$file"
|
Now restart firefox and everything should work fine. |
|
Back to top |
|
|
Phlogiston Veteran
Joined: 27 Jan 2004 Posts: 1925 Location: Europe, Swizerland
|
Posted: Wed Mar 23, 2005 5:52 pm Post subject: |
|
|
hey thank you! First I did not work so I commented out the lines below and now it works fine.
Code: |
application/pdf: pdf: PDF file
application/x-pdf: pdf: PDF file
text/pdf: pdf: PDF file
text/x-pdf: pdf: PDF file
repeat swallow(kpdf) fill: kpdf "$file"
# repeat swallow(documentShell) fill: acroread -geometry +9000+9000 +useFrontEndProgram "$file"
# repeat noisy swallow(Xpdf) fill: xpdf -g +9000+9000 "$file"
# repeat noisy swallow(gv) fill: gv -safer -quiet -antialias -geometry +9000+9000 "$file"
|
_________________ Workstation: 5.1 SurroundSound, LIRC remote control; Laptop [IBM-T43]: patched sources, s2disk/ram, fingerprint sensor |
|
Back to top |
|
|
foxcub Tux's lil' helper
Joined: 25 Jun 2002 Posts: 131 Location: North Carolina
|
Posted: Mon Mar 28, 2005 5:25 pm Post subject: |
|
|
Is there a way to make it so that the key presses are passed to kpdf? I've done the changes above, and kpdf shows up perfectly, and I can move through the document with a mouse, but I would like to be able to use the keys as well. Any way to do that?
Thanks. |
|
Back to top |
|
|
|