This forum has been archived. All content is frozen. Please use KDE Discuss instead.

I can't set chromium set default browser

Tags: None
(comma "," separated)
wonder
Registered Member
Posts
46
Karma
0
Hello.
I use Plasma 5.6.5 (in Linux Mint 18 KDE).
I set default chromium browser in preferences- applications-web browser, and here, select chromium).
Also I go to preferences-applications-file association, type text/html and view that, chromium browser is upm the first.

Also I try with this commands:
sudo update-alternatives --config gnome-www-browser
sudo update-alternatives --config x-www-browser


But not work, when I have some link by other application, open firefox.

Every time that I open Chromium, appears that Its not default browser and If I can set default chromium, click and yes, but no made change.

Regards.

PD : Sorry for my poor english.
User avatar
Zren
Registered Member
Posts
41
Karma
1
OS
Try the following, it should fix hexchat opening firefox instead of google-chrome (you might have to change for chromium).

Code: Select all
gvfs-mime --set x-scheme-handler/http google-chrome.desktop
gvfs-mime --set x-scheme-handler/https google-chrome.desktop


Ideally, I think system settings should apply this when setting the default web browser.


wonder
Registered Member
Posts
46
Karma
0
Hi,
Sorry for my poor english, some therms I don't understand very well, for this, before made this, a question:
You indicate this commands:
gvfs-mime --set x-scheme-handler/http google-chrome.desktop
gvfs-mime --set x-scheme-handler/https google-chrome.desktop

But I don't use chrome, use chromium, when you indicate that I need change for chromium, is in the commands?:

gvfs-mime --set x-scheme-handler/http chromium-browser.desktop
gvfs-mime --set x-scheme-handler/https chromium-browser.desktop

Its correct?

Regards.
User avatar
Zren
Registered Member
Posts
41
Karma
1
OS
Yes, that's what I meant. I didn't know what chromium's .desktop file was since I use chrome.


wonder
Registered Member
Posts
46
Karma
0
Ok, thanks.
But since 2 days (more or less) all links are opened with chromium, if I open app of kde (for example kinfo) go to Help-About and click in About Info Center, open with Chromium, and before this 2 days, opened with firefox.
But also, I view that, now open with chromium but with 2 tabs, in 2 tabs the same url, only success when open a link about some app.
When open with firefox, I try that you indicate.
And chromium continue indicate that, not is the default browser.

Regards.
christopherbu
Registered Member
Posts
1
Karma
0
This worked for me:

What has worked for me is go to `Settings -> Applications -> File Associations` and there, filter with `html`. Then for the entries `xhtml+xml` and `html`, you can move `Chromium` to the first position of the preference order.


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]