Google Chrome App Shortcuts Don't Work

When I create app shortcuts in Google Chrome, the shortcut icons appear, but they don't work. Any idea why? I'm running Ubuntu 13.04 and Chrome 28.0.1500.29 beta.

2 Answers

Opening up the created .desktop files in a text editor displays:

#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Terminal=false
Type=Application
Name=Gmail
Exec=/opt/google/chrome/chrome --app-id=pjkljhegncpnkpknbcohdijeoejaedia --profile-directory=Default
Icon=chrome-pjkljhegncpnkpknbcohdijeoejaedia-Default
StartupWMClass=crx_pjkljhegncpnkpknbcohdijeoejaedia

When running the command /opt/google/chrome/chrome --app-id=pjkljhegncpnkpknbcohdijeoejaedia --profile-directory=Default, however, I get the error:

/opt/google/chrome/chrome: error while loading shared libraries: libudev.so.0: cannot open shared object file: No such file or directory

Examining the file /usr/share/applications/google-chrome.desktop, which ships with Chrome, indicates that the correct executable path is /opt/google/chrome/google-chrome, not /opt/google/chrome/chrome. So the problem can be fixed by editing the created .desktop file, changing the Exec line from:

Exec=/opt/google/chrome/chrome --app-id=pjkljhegncpnkpknbcohdijeoejaedia --profile-directory=Default

To

Exec=/opt/google/chrome/google-chrome --app-id=pjkljhegncpnkpknbcohdijeoejaedia --profile-directory=Default
2

Here is what worked for me:

Replace /opt/google/chrome/chrome with google-chrome So my Exec looked something like:

Exec=google-chrome --app-id=pjkljhegncpnkpknbcohdijeoejaedia --profile-directory=Default

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

David Miller

David Miller

Executive Financial & Market Analyst

David Miller brings 15 years of experience in global economics, personal finance strategy, and market dynamics. He specializes in turning complex economic trends into actionable insights for everyday readers.

Share this article
Twitter Facebook Pinterest