I've already seen this old question from 2011: How do I change the browser that gnome terminal opens links with?
and also How can I manually change the default web browser?
And I've already set my default browser to Chrome. To prove it, I run xdg-settings get default-web-browser
and see the result google-chrome.desktop
.
If I click URLs from emails or documents or even within the Terminal's output, they properly open in Chrome.
But running commands in terminal (such as to run a local webserver of a React app) continues to open my Brave browser, which I don't want.
How can I fix this?
sudo update-alternatives --config x-www-browser
will cope with this. – vanadium Jan 11 '22 at 07:12/usr/bin/brave-browser-stable
. I changed it to/usr/bin/google-chrome-stable
but unfortunately it still opened Brave. – Ryan Jan 11 '22 at 14:48