Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: open pdf in chromium

  1. #1
    Join Date
    Aug 2012
    Beans
    5

    open pdf in chromium

    Right now when I click on a pdf document in chrome the save dialog shows up, instead I would like to use evince to open pdf documents instead. Is there a way to do it? I have found solutions that involve changing mailcap / xdg-mime but none of them seems to work. Thanks!

  2. #2
    Join Date
    Feb 2010
    Location
    Summerwind
    Beans
    12,159
    Distro
    Ubuntu Development Release

    Re: open pdf in chrome

    When I open a pdf in Chrome it opens in the browser window and then I can save it if I want from the tool bar that appears in the browser window. This appears to be default behavior. Is this what you want or do you want the pdf to open in the document viewer with out saving it ?
    “Start where you are. Use what you have. Do what you can".

    Ubuntu Documentation Search: Popular Pages
    Ubuntu: Security Basics
    Ubuntu: Manual

  3. #3
    Join Date
    Feb 2010
    Location
    Summerwind
    Beans
    12,159
    Distro
    Ubuntu Development Release

    Re: open pdf in chrome

    This is what I see when I open a pdf in chrome.
    “Start where you are. Use what you have. Do what you can".

    Ubuntu Documentation Search: Popular Pages
    Ubuntu: Security Basics
    Ubuntu: Manual

  4. #4
    Join Date
    Aug 2012
    Beans
    5

    Re: open pdf in chrome

    Quote Originally Posted by Frogs Hair View Post
    When I open a pdf in Chrome it opens in the browser window and then I can save it if I want from the tool bar that appears in the browser window. This appears to be default behavior. Is this what you want or do you want the pdf to open in the document viewer with out saving it ?
    I would like it to open in an external document viewer rather than needing to first save it somewhere and then open it. I am hoping that there is a way to do so without installing a plugin since that would open the document inside the browser (which is not what I want).

  5. #5
    Join Date
    Dec 2007
    Beans
    11,142

    Re: open pdf in chrome

    Which version of Chrome are you using?
    Users can easily damage their systems by using sudo su if they aren't experienced enough.

  6. #6
    Join Date
    Aug 2012
    Beans
    5

    Re: open pdf in chrome

    Quote Originally Posted by vasa1 View Post
    Which version of Chrome are you using?
    I am using the latest nightly chromium builds

  7. #7
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: open pdf in chrome

    "This is what I see when I open a pdf in chrome.". That's the Chrome default behavior.

    But you can try this extension: Docs PDF/PowerPoint Viewer

  8. #8
    Join Date
    Dec 2007
    Beans
    11,142

    Re: open pdf in chrome

    Quote Originally Posted by qunqun View Post
    I am using the latest nightly chromium builds
    Okay, that's why I was confused. Chrome has a pdf viewer whereas Chromium doesn't.
    Users can easily damage their systems by using sudo su if they aren't experienced enough.

  9. #9
    Join Date
    Nov 2012
    Location
    Halloween Town
    Beans
    Hidden!
    Distro
    Xubuntu Development Release

    Re: open pdf in chrome

    If that's your case, all you have to do is to download a Google Chrome release that matches your processor architecture (x86/x86_64):

    # wget http://dl.google.com/linux/direct/go...rrent_i386.deb
    # wget http://dl.google.com/linux/direct/go...rent_amd64.deb
    • extract the .deb:

    # ar vx <previously downloaded .deb>
    • extract the data payload:

    # tar --lzma -xvf data.tar.lzma
    • copy the plugin to destination folder:

    (note: /usr/lib/chromium-browser is valid for my Ubuntu PPA version, might be /opt/chromium-browser or something on other distributions)
    # sudo cp opt/google/chrome/libpdf.so /usr/lib/chromium-browser/
    • restart any open Chromium processes

    • check about: plugins for the Chrome PDF Viewer, should not need any enabling
    Last edited by slickymaster; November 16th, 2012 at 03:59 PM. Reason: typo

  10. #10
    Join Date
    Feb 2010
    Location
    Summerwind
    Beans
    12,159
    Distro
    Ubuntu Development Release

    Re: open pdf in chrome

    I am using the latest nightly chromium builds
    This is why there is difference in behavior.
    “Start where you are. Use what you have. Do what you can".

    Ubuntu Documentation Search: Popular Pages
    Ubuntu: Security Basics
    Ubuntu: Manual

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •