Has anyone found a way to set google chrome as the default web browser?

I know a lot of people dont want his, but I use a mix of browsers for different tasks deliberately. I’d like to set chrome as my default web browser but cant seem to find a way to make that stick.

You could start with telling what desktop environment you are using as well as how you installed chrome.

oh? that matters?

Gnome, I used the flatpack “Software” store

Can you select Chrome in Settings - Default Applications, Web?

it is currently set to chome, but clicking a link in a 3rd party app like for instance discord, launches Fire Fox still

Then it is the question for these applications. For discord this may help:

Default web browser setting not respected by Discord [Linux] : r/discordapp (reddit.com)

This seems to have changed two of them but not the other two.

senectus@HotblackDesiatosXPS:~> xdg-mime query default x-scheme-handler/http
firefox.desktop
senectus@HotblackDesiatosXPS:~> xdg-mime query default scheme-handler/http
com.google.Chrome.desktop
senectus@HotblackDesiatosXPS:~> xdg-mime query default x-scheme-handler/https
firefox.desktop
senectus@HotblackDesiatosXPS:~> xdg-mime query default scheme-handler/https
com.google.Chrome.desktop

This does not change behavior for https links, I am struggling to find a non-https link to test with (i guess thats a good thing)

I do not know what “this” refers to. If the only commands you executed were query, then I would not expect them to change anything.

the solution in that link you sent me

xdg-mime default chromium.desktop x-scheme-handler/http
xdg-mime default chromium.desktop scheme-handler/http
xdg-mime default chromium.desktop x-scheme-handler/https
xdg-mime default chromium.desktop scheme-handler/https

I ran each of these, the results were :

senectus@HotblackDesiatosXPS:~> xdg-mime query default x-scheme-handler/http
firefox.desktop
senectus@HotblackDesiatosXPS:~> xdg-mime query default scheme-handler/http
com.google.Chrome.desktop
senectus@HotblackDesiatosXPS:~> xdg-mime query default x-scheme-handler/https
firefox.desktop
senectus@HotblackDesiatosXPS:~> xdg-mime query default scheme-handler/https
com.google.Chrome.desktop

You said you were using Google Chrome. Why are you trying to set Chromium as default browser? Apparently, it is not even installed so these commands do nothing.

ah ha!
I see what you mean… thank you!
this fixed it:

senectus@HotblackDesiatosXPS:~> xdg-mime default com.google.Chrome.desktop x-scheme-handler/http
senectus@HotblackDesiatosXPS:~> xdg-mime default com.google.Chrome.desktop scheme-handler/http
senectus@HotblackDesiatosXPS:~> xdg-mime default com.google.Chrome.desktop x-scheme-handler/https
senectus@HotblackDesiatosXPS:~> xdg-mime default com.google.Chrome.desktop scheme-handler/https
senectus@HotblackDesiatosXPS:~> xdg-mime query default x-scheme-handler/http
com.google.Chrome.desktop
senectus@HotblackDesiatosXPS:~> xdg-mime query default scheme-handler/http
com.google.Chrome.desktop
senectus@HotblackDesiatosXPS:~> xdg-mime query default x-scheme-handler/https
com.google.Chrome.desktop
senectus@HotblackDesiatosXPS:~> xdg-mime query default scheme-handler/https
com.google.Chrome.desktop