Ubuntu – Ubuntu 13.10 (Google Account – Google Chrome) Icon Issue

google-chromepermissions

I just installed Ubuntu 13.10. I went to the Google Chrome website using default Firefox, downloaded 64 bit chrome, went through the process of the software center, and opened Chrome.

However, every time I open the Google Chrome icon on the Launcher, it just glows yellow while a different icon called Google Accounts – Google Chrome opens.

How do I get rid of this Google Accounts icon and just let the original Google Chrome open ?

Executing gedit google-chrome.desktop in /usr/share/applications yielded:

*(gedit:2454): WARNING**: Could not load Gedit repository : Typelib fil for namespace 'GTKsource' version 3.0 not found. 

When I executed gedit google-chrome.desktop in Terminal, the gedit page was empty (it did not display any contents for the google-chrome.desktop file).

How to fix these ?

EDIT 2: Executing google-chrome from terminal opens the regular Google Chrome, but it runs from terminal (meaning that if I end the Terminal session, I end the Chrome session as well).

Best Answer

In Terminal run :

gksudo gedit /usr/share/applications/google-chrome.desktop

If the resulting Gedit is empty, add following lines to it (Copy and Paste):

If it is not empty, edit the available content in it to become as following:

[Desktop Entry]
Version=
Name=Google Chrome
GenericName=Web Browser
Exec=google-chrome %F
Terminal=false
X-MultipleArgs=false
Type=Application
Icon=google-chrome
Categories=Network;WebBrowser;
MimeType=text/html;text/xml;application/xhtml_xml;x-scheme-handler/http;x-scheme-handler/https;
StartupWMClass=google-chrome
StartupNotify=true
Actions=NewWindow;Incognito;TempProfile;
X-AppInstall-Package=google-chrome

[Desktop Action NewWindow]
Name=Open a New Window
Exec=google-chrome
TargetEnvironment=Unity

[Desktop Action Incognito]
Name=Open a New Window in incognito mode
Exec=google-chrome --incognito
TargetEnvironment=Unity

[Desktop Action TempProfile]
Name=Open a New Window with a temporary profile
Exec=google-chrome --temp-profile
TargetEnvironment=Unity
Related Question