Ubuntu – Add Google Chrome to Default Applications

firefoxgoogle-chrome

I am a new Ubuntu user. After initial install of my OS one of the first things I did was install Google Chrome (google-chrome-stable) from the Google website. Everything was good, it showed as an option in System->Details->Default Applications menu and I set it as default browser. A few days later, here I am looking at my Default Applications menu and Google Chrome is nowhere to be found. My default has reverted to Firefox. I tried uninstalling and reinstalling the google-chrome-stable package but to no avail. How can I get Google Chrome to reappear as an option in Default Applications list?

Best Answer

I solved it! Somehow I had a corrupt google-chrome.desktop in my ~/.local/share/applications/ folder. I found the file in /usr/share/applications/ was valid. After deleting the bad one in my ~/.local/share/applications/ folder, logging out and back in, everything is back to normal. I can select Google Chrome from Default Applications and everything is golden.