You are not logged in.

#1 2022-12-15 03:58:26

jjbackagain
Member
Registered: 2018-06-06
Posts: 33

How do I chnage the default WEB BROWSER?

I've installed a web browser of my choice over the one bundled in the OS.

I know there are a few places to look...

system/Edit Debian Alternatives, and system/About Bunsen Alternatives. The "about" box opens a instructional text file. It recommends using a GUI app, for beginners, you launch with galternatives... this load a windw that looks a lot like Edit Debian Alternative, but with slightly different stuff in it.

It also dose not seem to have a entry for setting the Web Browser

There is also a thing called Set Default Browser but it just loads up a terminal window and runs something which returns an error.

Termial wrote:

[sudo] password for xxxx:
update-alternatives: error: no alternatives for x-www-browser

Thanks...

Offline

#2 2022-12-15 04:33:29

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,654
Website

Re: How do I chnage the default WEB BROWSER?

jjbackagain wrote:

galternatives... this load a windw that looks a lot like Edit Debian Alternative, but with slightly different stuff in it.

The menu item System > Edit Debian Alternatives opens galternatives, so the content should be exactly the same.

Scroll down to x-www-browser to choose your default browser.

There is also a thing called Set Default Browser but it just loads up a terminal window and runs something which returns an error.

Termial wrote:

[sudo] password for xxxx:
update-alternatives: error: no alternatives for x-www-browser

That is very strange. If you have some browser installed (BunsenLabs comes withFirefox by default) then it should have been automatically registered as x-www-browser, unless it is some little-known niche browser. Is this a normal BunsenLabs system?


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#3 2022-12-15 10:14:15

rbh
Moderator
From: South of Lapplands inland
Registered: 2016-08-11
Posts: 1,921

Re: How do I chnage the default WEB BROWSER?

jjbackagain wrote:

I've installed a web browser of my choice over the one bundled in the OS.

How did you install? Did you install from the debian repository, with "apt instal xxx.deb", did you download a deb and install or did you download a tarball?
And what do you mean with "over the one bundled in the OS"? The default Debian way is to install alternatives alongside... If you only want one x-browser, you should uninstall the default.

There is also a thing called Set Default Browser but it just loads up a terminal window and runs something which returns an error.

That menu entry, opens a terminal and in the terminal execute the command:

sudo update-alternatives --config x-www-browser

What is the result if you in terminal run command

locate x-www-browser

I get:

/etc/alternatives/x-www-browser
/usr/bin/x-www-browser
/usr/share/galternatives/descriptions/x-www-browser.desktop
/var/lib/dpkg/alternatives/x-www-browser

/usr/bin/x-www-browser, is symbolic link pointing to /etc/alternatives/x-www-browser.
/etc/alternatives/x-www-browser is a symbolic link pointing to my chosen x-browser.
If you are missing /usr/bin/x-www-browser, you have a broken system.
I don't know, but maybe it is enough to recreate the missing symbolic links?


// Regards rbh

Please read before requesting help: "Guide to getting help", "Introduction to the Bunsenlabs Lithium Desktop" and other help topics under "Help & Resources" on the BunsenLabs menu

Offline

Board footer

Powered by FluxBB