# Set “Open containing folder” to use Dolphin and PDF files to use Okular in Firefox on Kubuntu

If you, like me, are tired of having Firefox open up Nautilus for folders and Evince for PDFs in KDE on Ubuntu, you might want to change your default application settings. To fix this once and for all, open up /usr/share/applications/defaults.list and change the line with

application/pdf=evince.desktop

to

application/pdf=kde4/okular.desktop

Then, to set up Dolphin, change

inode/directory=nautilus.desktop

to

inode/directory=kde4/dolphin.desktop

And there you are! Courtesy of Jeremy’s comment on this post.

### Svenn-Arne Dragly

I'm a physicist and programmer, writing about the stuff I figure out as I go.

## 2 thoughts on “Set “Open containing folder” to use Dolphin and PDF files to use Okular in Firefox on Kubuntu”

1. Russell Jones says:

If you don’t have root, you can edit ~/.local/share/applications/defaults.list instead.

2. vps says:

I think your blog is amazing. You write about very interesting things. Thanks for all the tips and information.