torsdag den 28. juli 2011

How to change default application for opening pdf files in openSUSE

Gnome applications in openSUSE 11.4 apparently defaults to opening pdf files in Gimp. Okular would be a more sane choice here. To get that to work you need to edit the file:

/usr/share/applications/defaults.list

Change the line that starts with application/pdf= to

application/pdf=kde4-okularApplication_pdf.desktop;gimp.desktop

Actually there is a long discussion about the issue focusing on it being a Firefox issue in the openSUSE forums.

There is also a discussion on whether correct way is to edit /etc/gnome_defaults.conf but editing this file in openSUSE 11.4 and running SuSEconfig --module glib2 as root didn't have the desired effect.

Ingen kommentarer:

Send en kommentar