Score:0

Change sensible-browser

cn flag

Some of my apps use the script sensible-browser to open web pages. This script opens /etc/alternatives/gnome-www-browser or /etc/alternatives/x-www-browser. On my machine, these two are symbolic links to Google Chrome (which I rarely use). I want to use Firefox instead, so I made them into symbolic links to firefox. Now if I use sensible-browser, Firefox is used. However, for some inexplicable reason the symbolic links are regularly reverted back to point to Google Chrome!

What is the correct way to change sensible-browser?

Score:0
fo flag

If you want to change gnome-www-browser to point to say /usr/bin/firefox

You can do

sudo update-alternatives --set gnome-www-browser /usr/bin/firefox

Similarly you can do the same to the other one also i think.

Edit:

Or..

You can do

sudo update-alternatives --config gnome-www-browser

which gives a list of all the browsers to choose from, from which you can select one of them.

Score:0
my flag

If you're using snap managed firefox using update-alternatives won't work, but you can open firefox and go to it's settings (about:preferences) and click "Set default" button.

https://forum.snapcraft.io/t/firefox-snap-cannot-be-set-as-default-browser/26636/2

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.