1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Kghostview

Discussion in 'Linux and Unix' started by dalani, Feb 9, 2005.

Thread Status:
Not open for further replies.
Advertisement
  1. dalani

    dalani Thread Starter

    Joined:
    Jan 6, 2005
    Messages:
    73
    i am using Mandrake 10 and would like to view PDF files using Kghostview loaded in the Unix commands. Does anyone know how to use this via the console?

    any help would be appreciated
     
  2. Headrush

    Headrush

    Joined:
    Feb 9, 2005
    Messages:
    2,609
    I'm a little confused by
    Do you mean how to start it from the command line?

    Just
    Code:
    kghostview [i]filename[/i]
    This is assumming your PATH variable is set correctly.
     
  3. dalani

    dalani Thread Starter

    Joined:
    Jan 6, 2005
    Messages:
    73
    I did use that syntax at the console; but instead of getting a view of the pdf file, I get lines of postscript text. So I think it's the command line switches that i'm missing.
     
  4. Headrush

    Headrush

    Joined:
    Feb 9, 2005
    Messages:
    2,609
    My guess it is the version or contents of the pdf file then.

    Kghostview isn't as robust as some of the other pdf readers.

    I generated a pdf using the PDF output of cups and used that syntax, and all I got was a blank page. I created the same page as a ps file and kghostview opened it fine.

    It's a only at beta2 right now, but the new kpdf support in KDE 3.4 betas is amazing and opens everything I have throw at it and blazingly fast.

    Can you use the older kdpf or acrobat reader in the mean time?
     
  5. dalani

    dalani Thread Starter

    Joined:
    Jan 6, 2005
    Messages:
    73
    ACROBAT FOR LINUX? I use that alot on windows where can I download the Mandrake10 rpm of acrobat reader? kpdf isn't loaded in my kde 3.2 but i'll look for that.

    kde 3.4 I'm scared to even ask. I bet that would use up and tax all my cpu and mem on my PII.
     
  6. Squashman

    Squashman Trusted Advisor

    Joined:
    Apr 4, 2003
    Messages:
    19,786

    You can download Acrobat Reader for Linux from Adobe's website. I dont know about an rpm but someone probably made one.
     
  7. Headrush

    Headrush

    Joined:
    Feb 9, 2005
    Messages:
    2,609
    You can get acrobat reader from the adobe web site. Instructions are included with it how to install. Just look for acrobat reader and select Linux as OS.

    KDE 3.3 and 3.4 tend to be less resource intense than earlier KDEs.
    Many people on lower spec machines noted dramatic increases with KDE 3.3.

    I'm pretty sure Mandrake includes kpdf. Try this as root
    Code:
    urpmi kdegraphics-kpdf
     
  8. Headrush

    Headrush

    Joined:
    Feb 9, 2005
    Messages:
    2,609
  9. lynch

    lynch

    Joined:
    Aug 3, 2002
    Messages:
    1,961
    I just open pdf docs with Konqueror. It's installed by default in MDK 10.1.
    HTH
    lynch
     
  10. Headrush

    Headrush

    Joined:
    Feb 9, 2005
    Messages:
    2,609
    Depending on how its is configured, konqueror just uses kpdf or kghostview. (Inline)
     
  11. dalani

    dalani Thread Starter

    Joined:
    Jan 6, 2005
    Messages:
    73
    is that so? I'm using MDk10 but i'll look into how konq. is configured for handling pdf files. Hopefully that should solve the problem. thanks
     
  12. dalani

    dalani Thread Starter

    Joined:
    Jan 6, 2005
    Messages:
    73
    Here's the run down of pdf options on my MDK10 kde 3.2:

    # urpmi kdegraphics-kpdf
    no package named kdegraphics-kpdf

    kghostview is loaded but no man pages for it.
    if I knew the switches then Konq. can be configured to use it.

    otherwise I will download Acrobat reader.....
     
  13. Headrush

    Headrush

    Joined:
    Feb 9, 2005
    Messages:
    2,609
    In Konqueror: Settings Menu -> Configure Konqueror -> File Associations -> Application -> PDF

    If kghostview is listed but not first, move it up in the order using up button.
    If kghostview is not there, click add and add it.

    I just checked Mandrake's site and kdegraphics-kdf is the right file name.
    Could be your urpmi sources aren't configured right.

    If you can mount your Mandrake CD, go to directory containing all the file ending in rpm. ( I think it is i586/RPMS)
    And type
    Code:
    rpm -Uvh kdegraphics-kpdf-3.2.3-16mdk.i586.rpm 
    That should install it.
     
  14. lynch

    lynch

    Joined:
    Aug 3, 2002
    Messages:
    1,961
    Go to http://easyurpmi.zarb.org/ to configure urpmi sources.
    HTH
    lynch
     
  15. Sponsor

As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Thread Status:
Not open for further replies.

Short URL to this thread: https://techguy.org/328555

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice