Ubuntu – How to globally set the default browser using KDE4

browserconfigurationdefault

I'm using awesome-wm on Kubuntu 10.10. I like some of the KDE tools… like choqok. Thing is, that within awesome wm it seems to be impossible to set a default browser, because KDE4 settings overwrite the generally desired settings:

To illustrate the problem:

% xdg-mime query default text/html  
chromium-browser.desktop

And from ~/.kde/share/config/kdeglobals

[General]
BrowserApplication=firefox.desktop

Which does in no way make sense to me. If I set Firefox as default xdg-mime should not have Chrome. In fact I want Firefox.

So how do I globally once and for all, across all frameworks, define Firefox as default?

Best,
Marius

p.s.: I should probably mention, that clicking in Choqok starts Konqueror…

Best Answer

I go to the start menu, then:

System Settings->Default Applications->Web Browser

and then I tell it to open http/https in:
google-chrome

Now links in choqok (or any other kde application) are opened in chrome, also, if I do alt+f2 and type "man:file" for instance, the man page opens in chrome.

I also modified the default email client so that emails are launched using gmail using the following command:

google-chrome "https://mail.google.com/mail/?view=cm&fs=1&tf=1&to="%t