You are not logged in.

#1 2012-03-07 15:50:22

ephan
Member
Registered: 2011-11-02
Posts: 171

[SOLVED] Chromium opens PDFs with GIMP

I would like Chromium to open PDFs with "evince", but it always uses GIMP. Any ideas on how I can fix this? Thank you!

Last edited by ephan (2012-03-07 20:44:01)

Offline

#2 2012-03-07 16:09:42

lswest
Member
From: Munich, Germany
Registered: 2008-06-14
Posts: 456
Website

Re: [SOLVED] Chromium opens PDFs with GIMP

As far as I remember, chrome/chromium uses xdg-open to find the right programs to open files.

As such, you can read up on changing those preferences for xdg-open at: https://wiki.archlinux.org/index.php/Xdg-open

Also, if you're not sure this is the issue, simply run

xdg-open <pdf file>

(where you replace <pdf file> with an actual PDF).  If it opens in anything besides GIMP, someone else will need to chime in.

Hope that helps

Last edited by lswest (2012-03-07 16:10:47)


Lswest <- the first letter of my username is a lowercase "L".
"...the Linux philosophy is "laugh in the face of danger". Oops. Wrong one. "Do it yourself". That's it." - Linus Torvalds

Offline

#3 2012-03-07 20:43:48

ephan
Member
Registered: 2011-11-02
Posts: 171

Re: [SOLVED] Chromium opens PDFs with GIMP

Thank you! I used xdg-mime and it worked perfectly!

Offline

#4 2012-12-02 19:52:14

OlivierToupin
Member
Registered: 2010-09-15
Posts: 7

Re: [SOLVED] Chromium opens PDFs with GIMP

You should post the actual command line argument to fix it, that would be much more usefull than: "It worked!".

Offline

#5 2012-12-03 06:02:20

anonymous_user
Member
Registered: 2009-08-28
Posts: 3,059

Re: [SOLVED] Chromium opens PDFs with GIMP

The commands are mentioned in the aforementioned wiki page. There is even an example for PDFs. Just read it.

Offline

#6 2013-01-08 21:24:46

b6fan
Member
Registered: 2010-03-01
Posts: 13

Re: [SOLVED] Chromium opens PDFs with GIMP

I use xfce4-mime-settings to solve the issue.

Offline

#7 2016-02-01 15:13:09

cemsbr
Member
From: Brazil
Registered: 2008-05-03
Posts: 111
Website

Re: [SOLVED] Chromium opens PDFs with GIMP

OlivierToupin wrote:

You should post the actual command line argument to fix it, that would be much more usefull than: "It worked!".

+1. I followed the wiki and it didn't work:

$ xdg-mime query default application/pdf
gimp.desktop
$ xdg-mime default evince.desktop application/pdf
$ xdg-mime query default application/pdf
gimp.desktop

Offline

#8 2016-02-01 15:29:04

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,788
Website

Re: [SOLVED] Chromium opens PDFs with GIMP

Please open a new topic about your problem, and refrain from bumping old topics if you have nothing to contribute.

https://wiki.archlinux.org/index.php/Fo … bumping.22

Closing.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

Board footer

Powered by FluxBB