Monday, May 6, 2024
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 5023  / 3 Years ago, sat, may 8, 2021, 2:57:15

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.


More From » google-chrome

 Answers
1

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

[#30606] Sunday, May 9, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
kilusy

Total Points: 171
Total Questions: 110
Total Answers: 128

Location: Cayman Islands
Member since Sat, Dec 5, 2020
3 Years ago
;