Greg Wooledge <g...@wooledge.org> wrote: > On Mon, Feb 10, 2025 at 12:45:06 +0000, Chris Green wrote: > > I had x-www-browser set to vivaldi but web links still got opened in > > epiphany, I tried changing just about every setting I could find for a > > browser to vivaldi but I still got epiphany. > > There isn't a single interface for defining what you mean by a "default > web browser". Each application does this however its authors saw fit > to implement. > Yes, I'm well aware of that, there are **lots** of places where 'default browser' gets set. I've tried all the ones I know about and a few more I learnt as I went along.
> Invoking /usr/bin/x-www-browser is one way, and setting that link will > work for the apps that implement this choice. > > Some apps use XDG's way, which is described at > <https://stackoverflow.com/questions/41172692/xdg-open-does-not-open-the-default-browser#comments-link-41172692>. > > > > Others may use MIME, in which case you would configure some file > or other. It used to be ~/.mailcap but apparently XDG is trying to > move this to ~/.config/mimeapps.list (according to > <https://stackoverflow.com/questions/57667116/how-do-i-set-the-default-browser-for-xdg-open-on-centos-7-if-xdg-settings-has-no#comments-link-57667116>). > > Yes, I **think** that may be what's doing it for me. > > Still other applications may respect an environment variable, such > as $BROWSER, or they may only have their own unique configuration > for it. > > Welcome to Unix/Linux. I've been here for 20 years or more! :-) It would be much easier if I could simply tell epiphany (or another browser) **not** to try and become the default for everything, rather than having to try and unset all the changes it has made. -- Chris Green ยท