You are not logged in.

#1 2013-05-21 20:53:36

Pacopag
Member
Registered: 2011-05-29
Posts: 287

[SOLVED] Chromium opens PDFs in some crappy version of evince

Maybe a link to something useful?

I'm sorry to repost, but I'm not the type not to search for a solution before posting.  I'll admit that I'm not the best googler (my wife, who has trouble copying and pasting files is much better than I am).  But I did a search in arch forums for "Evince" as suggested, and out of the 23 pages of results I couldn't find a single thread title containing the words "Chromium" and "Evince".

Google gives me nothing but people wondering how to get chromium to open with evince (e.g. http://askubuntu.com/questions/163176/h … ing-evince, but this doesn't work for me).

I now realize that Chromium is opening pdfs in evince-previewe rather than evince.  Can't find anything useful in .confic/chromium.

Last edited by Pacopag (2013-05-22 15:23:44)

Offline

#2 2013-05-21 21:03:18

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Chromium opens PDFs in some crappy version of evince

Offline

#3 2013-05-21 21:03:55

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,727

Re: [SOLVED] Chromium opens PDFs in some crappy version of evince

Enter chrome://plugins/ into your address bar of Chrome.  Anything interesting about pdfs in there?

Edit: I missed the fact that my colleague already closed a thread on this.  I will take it that you did search, maybe this will help.

Last edited by ewaller (2013-05-21 21:07:39)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
The shortest way to ruin a country is to give power to demagogues.— Dionysius of Halicarnassus
---
How to Ask Questions the Smart Way

Offline

#4 2013-05-21 21:17:14

Pacopag
Member
Registered: 2011-05-29
Posts: 287

Re: [SOLVED] Chromium opens PDFs in some crappy version of evince

@karol. 
Thanks for the link.  It seems somewhat related, but not really to my problem (Chromium is not part of the discussion there).  In my case, both evince and evince-previewer work fine, and I actually kinda like the new evince interface.  It seems like the solution there was that the OP just changed to another pdf viewer.  I like evince because it opens .ps and .dvi as well.  I'm open to suggestions for other viewers that can open .pdf, .ps and .dvi

@ewaller:
I don't see anything related about pdfs there.  I don't really use many plugins.  I did have a look at the Chromium wiki page and I see that there is an in-browser pdf viewer for chromium in the aur.  Maybe I'll check that out.

Last edited by Pacopag (2013-05-21 21:17:31)

Offline

#5 2013-05-21 21:39:18

dodo3773
Member
Registered: 2011-03-17
Posts: 820

Re: [SOLVED] Chromium opens PDFs in some crappy version of evince

Using libdf plugin to view pdfs in chromium has been working pretty well for me. If you have links for a couple .dvi and .ps files I would be happy to test it for you.

Offline

#6 2013-05-21 21:41:34

Pacopag
Member
Registered: 2011-05-29
Posts: 287

Re: [SOLVED] Chromium opens PDFs in some crappy version of evince

Thanks dodo,

I don't often need to open .ps or .dvi from the browser (just from my filesystem).  But for the heck of it, try this one http://arxiv.org/ps/1305.4181

Offline

#7 2013-05-21 21:46:42

dodo3773
Member
Registered: 2011-03-17
Posts: 820

Re: [SOLVED] Chromium opens PDFs in some crappy version of evince

No it just seems to redownload it over and over. Guess it doesn't work right.

Offline

#8 2013-05-21 21:50:28

Pacopag
Member
Registered: 2011-05-29
Posts: 287

Re: [SOLVED] Chromium opens PDFs in some crappy version of evince

Well thanks for trying.  I didn't expect any browser to be able to open a .ps or .dvi.  I really just need the in-browser pdf feature because that's what people typically publish on the web.

Actually, I just discovered pdflatex, so I might not even need .dvi and .ps support at all anymore.  Maybe I'll just try switching document viewers.

Offline

#9 2013-05-21 21:55:21

dodo3773
Member
Registered: 2011-03-17
Posts: 820

Re: [SOLVED] Chromium opens PDFs in some crappy version of evince

Oh okay. I recently switched from evince after using it a long time (2-3 years or so) for one called "qpdfview". I am very very happy with it. If your shopping for a new viewer I would recommend it. It's the only one I've found that provides a similar amount of features (have to go in and add them from the menu / edit to your liking (default is for speed / minimalism I think)).

Offline

#10 2013-05-22 02:31:53

Pacopag
Member
Registered: 2011-05-29
Posts: 287

Re: [SOLVED] Chromium opens PDFs in some crappy version of evince

Yup.  Tried just about all of them.  I think that qpdfview is a good replacement for evince.  Thanks for the tip.  I probably wouldn't have found it otherwise.

Offline

#11 2013-05-22 02:55:52

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] Chromium opens PDFs in some crappy version of evince

If you are a vim user, I have to throw zathura into the mix.  It is quite nice, and has the choice of poppler or mupdf backends.

Offline

#12 2013-05-22 03:07:01

dodo3773
Member
Registered: 2011-03-17
Posts: 820

Re: [SOLVED] Chromium opens PDFs in some crappy version of evince

Pacopag wrote:

Yup.  Tried just about all of them.  I think that qpdfview is a good replacement for evince.  Thanks for the tip.  I probably wouldn't have found it otherwise.

Yeah I tried just about all of them and none of them had the features I was used to in evince. I found qpdfview by reading a post on these forums too. I really can't give it enough praise.

@WonderWoofy
I liked zathura because it was also very fast but it didn't have the side bars and remember what page I was on etc..etc.. All the bells and whistles that spoiled me with evince. It may have it and I just couldn't find it. Also, it seemed very keyboard friendly vs mouse friendly and when it comes to reading pdf files I am more of a mouse person still (I think the vim user comment is very relevant in this comparison).

Offline

#13 2013-05-22 03:39:10

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: [SOLVED] Chromium opens PDFs in some crappy version of evince

It remembers what page I'm on... and you're right the sidebars are not there because it is set up like vim.  There is a page number on the bottom though, and you can jump from page to page like you would with vim and line numbers.  FWIW, I am also a dwb user, ncmpcpp user, mutt user, newsbeuter user, etc.  So I think I've got vim keybindings on the brain. smile

Offline

#14 2013-05-22 14:26:44

R00KIE
Forum Fellow
From: Between a computer and a chair
Registered: 2008-09-14
Posts: 4,734

Re: [SOLVED] Chromium opens PDFs in some crappy version of evince

As far as I know chromium calls xdg-open when you ask it to open files. Check what is the output of  'xdg-mime query default application/pdf'. For me it is 'evince.desktop' which opens pdf files just fine.

I am using xfce, if you are using another DE things might be slightly different for you.


R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K

Offline

#15 2013-05-22 15:22:56

Pacopag
Member
Registered: 2011-05-29
Posts: 287

Re: [SOLVED] Chromium opens PDFs in some crappy version of evince

Indeed ROOKIE, if I restore evince, which seems to highjack the default position, the output is

evince-previewer.desktop

And to change the default to evince

xdg-mime default evince.desktop application/pdf

This solves the original problem, and pdfs now open in the full-blown evince directly from chromium.  Thanks very much.

And thank you to the moderators.

Last edited by Pacopag (2013-05-22 15:24:56)

Offline

Board footer

Powered by FluxBB