我已经使用以下版本安装了 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