File associations

Opera (and Firefox perhaps also) takes files’ associations from /usr/share/applications/defaults.list and rest from mimeinfo.cache. I’m using KDE4 but I want to associate pdf files with KPDF from KDE3. In defaults.list i changed application/pdf to kpdf.desktop, but with every package installed (so execution of SuSEconfig update scripts) this line is change to default (in my case gimp to pdf!). Where is source, so I can change this permanently?

for firefox in Preferences -> Applications

dunno about opera, i don’t use it

Configure Desktop>Advanced>File Associations but also in Konqueror and various other locations.

OK, I found. It’s /etc/gnome_defaults.conf There are also steps what is doing to find proper application to mime type.