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

Firefox未在系统设置中显示 – 系统信息 。 所以我无法使用菜单来选择它。

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

在终端中运行:

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

输出应如下所示:

 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. 

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

Firefox的软件中心版本具有Ubuntu Firefox Modifications,使其能够更好地与Ubuntu协同工作。 你可以从Mozilla direct下载的linux版本没有这个添加,所以这可能是你无法按照自己的意愿将它集成到系统中的原因。

在此处输入图像描述

我想你的选择是与你拥有的东西一起生活或尝试安装Ubuntu版本并解决它的问题。

我遇到了mozillateam ppa for firefox-stable的问题。

这样就可以了

 sudo add-apt-repository ppa:mozillateam/firefox-next sudo apt-get update sudo apt-get install firefox # (even if you have `firefox` installed) 

您将拥有最新版本的Firefox,目前版本为10。

然后尝试系统设置→系统信息→默认应用程序 。 有改变网络 。 这次Firefox必须在那里。

您可以转到系统设置>系统信息>默认应用程序。 有改变网络。

这并没有准确地回答你提出的问题,但是应该整齐地采取行动,并在将来为你节省麻烦,我希望:

从这里安装“官方”firefox软件包: https : //launchpad.net/~mozillateam/+archive/firefox-stable

实际上,您只需在机器的“软件源”中注册PPA,然后从软件中心安装Firefox(确保它首先刷新其软件包列表),您将获得最新和最好的,并且更新将自动进行与其他包裹。