You are not logged in.
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
Just go into /usr/bin and point it to Okular or whichever program you use.
Offline
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
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
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
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
Offline