Chromium 无法打开 URL

Chromium 无法打开 URL

我已经使用以下版本安装了 Chromium我创建的脚本。

我已将其设置为默认的网络浏览器,尽管通过gnome-open它打开 URLxdg-open只会打开一个新选项卡。

使用可执行文件按预期工作。可能是什么问题?

update-alternatives --query gnome-www-browser输出:

Link: gnome-www-browser
Status: auto
Best: /opt/chromium-nightly/chrome
Value: /opt/chromium-nightly/chrome

Alternative: /opt/chromium-nightly/chrome
Priority: 1200

Alternative: /usr/bin/firefox
Priority: 40

update-alternatives --query x-www-browser输出:

Link: x-www-browser
Status: auto
Best: /opt/chromium-nightly/chrome
Value: /opt/chromium-nightly/chrome

Alternative: /opt/chromium-nightly/chrome
Priority: 1200

Alternative: /usr/bin/firefox
Priority: 40

xdg-settings get default-web-browser输出:

chromium-nightly.desktop

cat /usr/share/applications/chromium-nightly.desktop输出:

[Desktop Entry]
Type=Application
Encoding=UTF-8
Name=Chromium Nightly
Comment=Browse the Web
Exec=/opt/chromium-nightly/chrome
Icon=/opt/chromium-nightly/product_logo_48.png

相关内容