You are not logged in.

#1 2009-10-13 14:04:08

yossarianuk
Member
Registered: 2007-05-02
Posts: 103

Firefox defaults to Gimp to open PDF's ! - KDE 4.3.2 (globally)

Hi.

Is there a way to globally change (there are about 30 users on this machine) the default PDF viewer assigned to firefox.

At the moment it defaults to Gimp, This must be set somewhere as all new users have the same issue.

I can't really go through all users to change the default.

Is there a global way of doing this ?

Cheers

Last edited by yossarianuk (2009-10-13 14:28:22)

Offline

#2 2009-10-13 14:30:52

Mountainjew
Member
From: Ireland
Registered: 2008-08-24
Posts: 405

Re: Firefox defaults to Gimp to open PDF's ! - KDE 4.3.2 (globally)

Just go into /usr/bin and point it to Okular or whichever program you use.

Offline

#3 2009-10-13 15:22:49

yossarianuk
Member
Registered: 2007-05-02
Posts: 103

Re: Firefox defaults to Gimp to open PDF's ! - KDE 4.3.2 (globally)

Cheers, but - how will this tell firefox you launch Okular?

I do still need to use gimp also.

Where is it defined on the system to use gimp to open .pdf files in Firefox?

(as mentioned this is the default for all users)

I notice in other distro's this is not the case.

Offline

#4 2009-10-13 19:46:57

jac
Member
From: /home/jac
Registered: 2009-05-19
Posts: 431
Website

Re: Firefox defaults to Gimp to open PDF's ! - KDE 4.3.2 (globally)

I'm not sure if this does it globally, but as far as I know it does: If you run systemsettings, under the Advanced tab there is File Associations. From there you can either do application -> pdf or use the search box. Then, on the right pane there is Application Preference Order, which you can add/remove programs from and rearrange them. I hope that fixes it, as I can't test it right now.

Offline

#5 2009-10-13 20:25:08

rune0077
Member
Registered: 2009-04-11
Posts: 135

Re: Firefox defaults to Gimp to open PDF's ! - KDE 4.3.2 (globally)

Yeah, what jac said. It doesn't work globally, only on a per user basis. Nothing weird about that, since different users might want to use different applications so you have to set it for each user.

Offline

#6 2009-10-13 21:02:15

jesusjimenez
Member
Registered: 2007-09-26
Posts: 20

Re: Firefox defaults to Gimp to open PDF's ! - KDE 4.3.2 (globally)

I've encountered similair issue on Gnome - Epiphany and Firefox used Gimp for PDFs. This helped:

sudo sed -i -r 's|=(gimp\.desktop);([^;]+?)|=\2;\1|' /usr/share/applications/mimeinfo.cache

Offline

#7 2009-10-15 11:25:30

gnumdk
Member
Registered: 2009-10-15
Posts: 175

Re: Firefox defaults to Gimp to open PDF's ! - KDE 4.3.2 (globally)

Offline

Board footer

Powered by FluxBB