After installing Debian 7, I've discovered that I can't change default web browser. Recommended solution didn't work for me. After googling, I found how to get it working.
First of all you have to edit your mimelist:
~/.local/share/applications/mimeapps.listAdd following lines under either the
[Default Applications]
or [Added Associations]
section
text/html=google-chrome.desktop x-scheme-handler/http=google-chrome.desktop x-scheme-handler/https=google-chrome.desktop x-scheme-handler/about=google-chrome.desktop x-scheme-handler/unknown=google-chrome.desktop x-scheme-handler/http=google-chrome.desktopCreate
google-chrome.desktop
file and save it to the one of the listed directory:
/usr/share/applications/ /usr/local/share/applications/ ~/.local/share/applications/ # will be specific only for current userContent of the file is
[Desktop Entry] Version=1.0 Name=Google Chrome Web Browser GenericName=Google Chrome Comment=Internet browser Exec=/usr/bin/google-chrome %U Terminal=false X-MultipleArgs=false Type=Application Icon=chromium Categories=Network;WebBrowser; MimeType=text/html;text/xml;application/xhtml_xml;x-scheme-handler/http;x-scheme-handler/https; StartupWMClass=Google Chrom StartupNotify=true
Once, you have done, just relaunch desktop session.
No comments:
Post a Comment