November 13, 2023

Switch default browser from the command line

Run:

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

You should see the list of browsers installed:

There are 3 choices for the alternative x-www-browser (providing /usr/bin/x-www-browser).

  Selection    Path               Priority   Status
------------------------------------------------------------
* 0            /usr/bin/abrowser   40        auto mode
  1            /usr/bin/abrowser   40        manual mode
  2            /usr/bin/luakit     30        manual mode
  3            /usr/bin/surf       30        manual mode

Press <enter> to keep the current choice[*], or type selection number:

personal computing command-line interface (cli) gnu linux trisquel shell literacy wiki

No affiliate links, no analytics, no tracking, no cookies. This work © 2016-2024 by yctct is licensed under CC BY-ND 4.0 .   about me   contact me   all entries & tags   FAQ   GPG public key

GPG fingerprint: 2E0F FB60 7FEF 11D0 FB45 4DDC E979 E52A 7036 7A88