manjaro使用google-chorme 为默认浏览器
我安装的是 manjaro i3 版本,找不到 manjaro 的设置页面,所以我每次打开一个html页面启动的都是这个 manjaro i3 自带的丑陋的浏览器,让我十分难受。
我搜索了好久发现:
这些东西的配置位置都在这个文件里面 :
使用 vim 编辑 vim ~/.config/mimeapps.list
修改里面的内容,如下:
[Default Applications]
x-scheme-handler/http=google-chrome-stable.desktop
x-scheme-handler/https=google-chrome-stable.desktop
x-scheme-handler/ftp=google-chrome-stable.desktop
x-scheme-handler/chrome=google-chrome-stable.desktop
text/html=google-chrome-stable.desktop
application/x-extension-htm=google-chrome-stable.desktop
application/x-extension-html=google-chrome-stable.desktop
application/x-extension-shtml=google-chrome-stable.desktop
application/xhtml+xml=google-chrome-stable.desktop
application/x-extension-xhtml=google-chrome-stable.desktop
application/x-extension-xht=google-chrome-stable.desktop
image/jpeg=viewnior.desktop;gpicview.desktop;
image/png=viewnior.desktop;gpicview.desktop;
text/plain=mousepad.desktop
x-scheme-handler/mailto=userapp-Thunderbird.desktop
message/rfc822=userapp-Thunderbird.desktop
application/pdf=epdfview.desktop
application/x-bittorrent=deluge.desktop
[Added Associations]
x-scheme-handler/http=google-chrome-stable.desktop;
x-scheme-handler/https=google-chrome-stable.desktop;
x-scheme-handler/ftp=google-chrome-stable.desktop;
x-scheme-handler/chrome=google-chrome-stable.desktop;
text/html=google-chrome-stable.desktop;
application/x-extension-htm=google-chrome-stable.desktop;
application/x-extension-html=google-chrome-stable.desktop;
application/x-extension-shtml=google-chrome-stable.desktop;
application/xhtml+xml=google-chrome-stable.desktop;
application/x-extension-xhtml=google-chrome-stable.desktop;
application/x-extension-xht=google-chrome-stable.desktop;
image/jpeg=viewnior.desktop;gpicview.desktop;
image/png=viewnior.desktop;gpicview.desktop;
text/plain=mousepad.desktop;
message/rfc822=userapp-Thunderbird.desktop;
application/pdf=epdfview.desktop;
application/x-bittorrent=deluge.desktop;
然后我也不知道为啥,打开现在不是默认的那个 manjaro浏览器,变成了火狐,最后,我把狐卸载了。现在我用的就是google-chrome.