我已将google-chrome设置为Ubuntu和gnome应用程序中的默认Web浏览器。但是,使用konsole时,所有链接都在konqueror中打开,而不是在google-chrome中打开!
我尝试使用以下方法设置默认浏览器: sudo update-alternatives --config 'x-www-browser'
这适用于在gnome-terminal和其他gnome程序中打开链接...但不适用于konsole之类的kde程序。另外,似乎没有访问kde设置的kcontrol程序。
有谁知道一种在仍然使用gnome的情况下为此设置kde设置的方法?
编辑:据我所知,我已经配置了所有可以想到的相关设置...
grep 'chrome' ~/.local/share/applications/mimeapps.list
x-scheme-handler/http=google-chrome.desktop;firefox.desktop;
x-scheme-handler/https=google-chrome.desktop;firefox.desktop;
x-scheme-handler/http=google-chrome.desktop
x-scheme-handler/https=google-chrome.desktop
x-scheme-handler/chrome=firefox.desktop
text/html=google-chrome.desktop
application/x-extension-htm=google-chrome.desktop;firefox.desktop;
application/x-extension-html=google-chrome.desktop;firefox.desktop;
application/x-extension-shtml=google-chrome.desktop;firefox.desktop;
application/xhtml+xml=google-chrome.desktop;firefox.desktop;
application/x-extension-xhtml=google-chrome.desktop;firefox.desktop;
application/x-extension-xht=google-chrome.desktop;firefox.desktop;
x-scheme-handler/about=google-chrome.desktop
x-scheme-handler/unknown=google-chrome.desktop
grep 'chrome' /usr/share/applications/defaults.list
text/html=firefox.desktop;google-chrome.desktop
text/xml=firefox.desktop;google-chrome.desktop
application/xhtml_xml=google-chrome.desktop
x-scheme-handler/http=firefox.desktop;google-chrome.desktop
x-scheme-handler/https=firefox.desktop;google-chrome.desktop
x-scheme-handler/ftp=google-chrome.desktop
并且没有引用konqueror:
grep -i 'konqueror' /usr/share/applications/defaults.list
grep -i 'konqueror' ~/.local/share/applications/mimeapps.list
grep -i 'kon' /usr/share/applications/defaults.list
grep -i 'kon' ~/.local/share/applications/mimeapps.list
mimeapps.list
的~/.config
export BROWSER=google-chrome