Sunday, May 19, 2024
2
rated 0 times [  2] [ 0]  / answers: 1 / hits: 1062  / 3 Years ago, thu, may 27, 2021, 1:35:27

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?


More From » default-programs

 Answers
7

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.


[#916] Thursday, May 27, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
gigglcept

Total Points: 113
Total Questions: 105
Total Answers: 125

Location: Christmas Island
Member since Wed, Jan 13, 2021
3 Years ago
gigglcept questions
Mon, Jul 5, 21, 19:38, 3 Years ago
Tue, Feb 8, 22, 09:59, 2 Years ago
Fri, Dec 16, 22, 12:32, 1 Year ago
Sun, Oct 16, 22, 13:09, 2 Years ago
;