如何手动更改默认 Web 浏览器?

dun*_*ead 12 default-programs

Firefox 未显示在system-settings - system info 中。所以我不能使用菜单来选择它。

是否有配置文件或我可以编辑的内容让 Ubuntu 知道我的系统上存在 Firefox,并允许我将其设置为我的默认浏览器?

One*_*ero 15

在终端中运行:

sudo update-alternatives --config x-www-browser
Run Code Online (Sandbox Code Playgroud)

输出应如下所示:

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

  Selection    Path                       Priority   Status
------------------------------------------------------------
* 0            /usr/bin/epiphany-browser   85        auto mode
  1            /usr/bin/chromium-browser   40        manual mode
  2            /usr/bin/epiphany-browser   85        manual mode
  3            /usr/bin/firefox            40        manual mode

Press enter to keep the current choice[*], or type selection number: 3
update-alternatives: using /usr/bin/firefox to provide /usr/bin/x-www-browser (x-www-browser) in manual mode.
Run Code Online (Sandbox Code Playgroud)

选择要设置为默认值的内容。


归档时间:

查看次数:

8804 次

最近记录:

9 年,10 月 前