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:


Change the line that starts with application/pdf= to


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.


Populære indlæg fra denne blog

FreeOTP icon fix on Android

Podcasts in UE Smart Radio

Connect to postgresql 9.2 server in openSUSE 13.2