why chrome web app shortcuts has no Icon












0















I am creating web app shortcut from chrome to desktop by clicking on more tools > create shortcut.



But it has random name and no icon as clear in the screenshot



enter image description here



#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Terminal=false
Type=Application
Name=YouTube
Exec=/usr/bin/chromium-browser --profile-directory=Default --app-id=adnlfjpnmidfimlkaohpidplnoimahfh
Icon=chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default
StartupWMClass=crx_adnlfjpnmidfimlkaohpidplnoimahfh


The icon presists on :



sudo locate chrome-adnlfjpnmidfimlkaohpidplnoimahfh
/home/idea/.gnome/apps/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.desktop
/home/idea/.local/share/Trash/files/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.2.desktop
/home/idea/.local/share/Trash/files/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.3.desktop
/home/idea/.local/share/Trash/files/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.4.desktop
/home/idea/.local/share/Trash/files/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.desktop
/home/idea/.local/share/Trash/info/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.2.desktop.trashinfo
/home/idea/.local/share/Trash/info/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.3.desktop.trashinfo
/home/idea/.local/share/Trash/info/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.4.desktop.trashinfo
/home/idea/.local/share/Trash/info/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.desktop.trashinfo
/home/idea/.local/share/applications/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.desktop
/home/idea/.local/share/icons/hicolor/128x128/apps/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.png
/home/idea/.local/share/icons/hicolor/16x16/apps/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.png
/home/idea/.local/share/icons/hicolor/256x256/apps/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.png
/home/idea/.local/share/icons/hicolor/32x32/apps/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.png
/home/idea/.local/share/icons/hicolor/48x48/apps/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.png









share|improve this question




















  • 1





    What do you get after clicking on "Trust and Launch"?

    – Kulfy
    Jan 13 at 14:46











  • @Kulfy works fine, I just wanna get regular Icon and name

    – Suhayb
    Jan 13 at 14:49











  • @Kulfy didn't help

    – Suhayb
    Jan 14 at 10:48











  • Let's find out if there's an icon with this name and where is it. Run sudo locate chrome-adnlfjpnmidfimlkaohpidplnoimahfh

    – Kulfy
    Jan 15 at 14:11






  • 1





    can you just copy paste the content in a new text file and name it as YouTube.desktop i.stack.imgur.com/DUZOk.gif

    – PRATAP
    Jan 21 at 14:23


















0















I am creating web app shortcut from chrome to desktop by clicking on more tools > create shortcut.



But it has random name and no icon as clear in the screenshot



enter image description here



#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Terminal=false
Type=Application
Name=YouTube
Exec=/usr/bin/chromium-browser --profile-directory=Default --app-id=adnlfjpnmidfimlkaohpidplnoimahfh
Icon=chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default
StartupWMClass=crx_adnlfjpnmidfimlkaohpidplnoimahfh


The icon presists on :



sudo locate chrome-adnlfjpnmidfimlkaohpidplnoimahfh
/home/idea/.gnome/apps/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.desktop
/home/idea/.local/share/Trash/files/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.2.desktop
/home/idea/.local/share/Trash/files/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.3.desktop
/home/idea/.local/share/Trash/files/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.4.desktop
/home/idea/.local/share/Trash/files/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.desktop
/home/idea/.local/share/Trash/info/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.2.desktop.trashinfo
/home/idea/.local/share/Trash/info/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.3.desktop.trashinfo
/home/idea/.local/share/Trash/info/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.4.desktop.trashinfo
/home/idea/.local/share/Trash/info/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.desktop.trashinfo
/home/idea/.local/share/applications/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.desktop
/home/idea/.local/share/icons/hicolor/128x128/apps/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.png
/home/idea/.local/share/icons/hicolor/16x16/apps/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.png
/home/idea/.local/share/icons/hicolor/256x256/apps/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.png
/home/idea/.local/share/icons/hicolor/32x32/apps/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.png
/home/idea/.local/share/icons/hicolor/48x48/apps/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.png









share|improve this question




















  • 1





    What do you get after clicking on "Trust and Launch"?

    – Kulfy
    Jan 13 at 14:46











  • @Kulfy works fine, I just wanna get regular Icon and name

    – Suhayb
    Jan 13 at 14:49











  • @Kulfy didn't help

    – Suhayb
    Jan 14 at 10:48











  • Let's find out if there's an icon with this name and where is it. Run sudo locate chrome-adnlfjpnmidfimlkaohpidplnoimahfh

    – Kulfy
    Jan 15 at 14:11






  • 1





    can you just copy paste the content in a new text file and name it as YouTube.desktop i.stack.imgur.com/DUZOk.gif

    – PRATAP
    Jan 21 at 14:23
















0












0








0








I am creating web app shortcut from chrome to desktop by clicking on more tools > create shortcut.



But it has random name and no icon as clear in the screenshot



enter image description here



#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Terminal=false
Type=Application
Name=YouTube
Exec=/usr/bin/chromium-browser --profile-directory=Default --app-id=adnlfjpnmidfimlkaohpidplnoimahfh
Icon=chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default
StartupWMClass=crx_adnlfjpnmidfimlkaohpidplnoimahfh


The icon presists on :



sudo locate chrome-adnlfjpnmidfimlkaohpidplnoimahfh
/home/idea/.gnome/apps/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.desktop
/home/idea/.local/share/Trash/files/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.2.desktop
/home/idea/.local/share/Trash/files/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.3.desktop
/home/idea/.local/share/Trash/files/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.4.desktop
/home/idea/.local/share/Trash/files/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.desktop
/home/idea/.local/share/Trash/info/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.2.desktop.trashinfo
/home/idea/.local/share/Trash/info/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.3.desktop.trashinfo
/home/idea/.local/share/Trash/info/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.4.desktop.trashinfo
/home/idea/.local/share/Trash/info/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.desktop.trashinfo
/home/idea/.local/share/applications/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.desktop
/home/idea/.local/share/icons/hicolor/128x128/apps/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.png
/home/idea/.local/share/icons/hicolor/16x16/apps/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.png
/home/idea/.local/share/icons/hicolor/256x256/apps/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.png
/home/idea/.local/share/icons/hicolor/32x32/apps/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.png
/home/idea/.local/share/icons/hicolor/48x48/apps/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.png









share|improve this question
















I am creating web app shortcut from chrome to desktop by clicking on more tools > create shortcut.



But it has random name and no icon as clear in the screenshot



enter image description here



#!/usr/bin/env xdg-open
[Desktop Entry]
Version=1.0
Terminal=false
Type=Application
Name=YouTube
Exec=/usr/bin/chromium-browser --profile-directory=Default --app-id=adnlfjpnmidfimlkaohpidplnoimahfh
Icon=chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default
StartupWMClass=crx_adnlfjpnmidfimlkaohpidplnoimahfh


The icon presists on :



sudo locate chrome-adnlfjpnmidfimlkaohpidplnoimahfh
/home/idea/.gnome/apps/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.desktop
/home/idea/.local/share/Trash/files/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.2.desktop
/home/idea/.local/share/Trash/files/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.3.desktop
/home/idea/.local/share/Trash/files/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.4.desktop
/home/idea/.local/share/Trash/files/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.desktop
/home/idea/.local/share/Trash/info/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.2.desktop.trashinfo
/home/idea/.local/share/Trash/info/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.3.desktop.trashinfo
/home/idea/.local/share/Trash/info/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.4.desktop.trashinfo
/home/idea/.local/share/Trash/info/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.desktop.trashinfo
/home/idea/.local/share/applications/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.desktop
/home/idea/.local/share/icons/hicolor/128x128/apps/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.png
/home/idea/.local/share/icons/hicolor/16x16/apps/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.png
/home/idea/.local/share/icons/hicolor/256x256/apps/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.png
/home/idea/.local/share/icons/hicolor/32x32/apps/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.png
/home/idea/.local/share/icons/hicolor/48x48/apps/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.png






gnome google-chrome .desktop webapps






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Jan 15 at 14:28







Suhayb

















asked Jan 13 at 14:38









SuhaybSuhayb

96




96








  • 1





    What do you get after clicking on "Trust and Launch"?

    – Kulfy
    Jan 13 at 14:46











  • @Kulfy works fine, I just wanna get regular Icon and name

    – Suhayb
    Jan 13 at 14:49











  • @Kulfy didn't help

    – Suhayb
    Jan 14 at 10:48











  • Let's find out if there's an icon with this name and where is it. Run sudo locate chrome-adnlfjpnmidfimlkaohpidplnoimahfh

    – Kulfy
    Jan 15 at 14:11






  • 1





    can you just copy paste the content in a new text file and name it as YouTube.desktop i.stack.imgur.com/DUZOk.gif

    – PRATAP
    Jan 21 at 14:23
















  • 1





    What do you get after clicking on "Trust and Launch"?

    – Kulfy
    Jan 13 at 14:46











  • @Kulfy works fine, I just wanna get regular Icon and name

    – Suhayb
    Jan 13 at 14:49











  • @Kulfy didn't help

    – Suhayb
    Jan 14 at 10:48











  • Let's find out if there's an icon with this name and where is it. Run sudo locate chrome-adnlfjpnmidfimlkaohpidplnoimahfh

    – Kulfy
    Jan 15 at 14:11






  • 1





    can you just copy paste the content in a new text file and name it as YouTube.desktop i.stack.imgur.com/DUZOk.gif

    – PRATAP
    Jan 21 at 14:23










1




1





What do you get after clicking on "Trust and Launch"?

– Kulfy
Jan 13 at 14:46





What do you get after clicking on "Trust and Launch"?

– Kulfy
Jan 13 at 14:46













@Kulfy works fine, I just wanna get regular Icon and name

– Suhayb
Jan 13 at 14:49





@Kulfy works fine, I just wanna get regular Icon and name

– Suhayb
Jan 13 at 14:49













@Kulfy didn't help

– Suhayb
Jan 14 at 10:48





@Kulfy didn't help

– Suhayb
Jan 14 at 10:48













Let's find out if there's an icon with this name and where is it. Run sudo locate chrome-adnlfjpnmidfimlkaohpidplnoimahfh

– Kulfy
Jan 15 at 14:11





Let's find out if there's an icon with this name and where is it. Run sudo locate chrome-adnlfjpnmidfimlkaohpidplnoimahfh

– Kulfy
Jan 15 at 14:11




1




1





can you just copy paste the content in a new text file and name it as YouTube.desktop i.stack.imgur.com/DUZOk.gif

– PRATAP
Jan 21 at 14:23







can you just copy paste the content in a new text file and name it as YouTube.desktop i.stack.imgur.com/DUZOk.gif

– PRATAP
Jan 21 at 14:23












1 Answer
1






active

oldest

votes


















1














That is happening because your desktop icon is not able to find appropriate icon location.



Just replace your line in the file




Icon=chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default




with the location of icon, like:




Icon=/home/idea/.local/share/icons/hicolor/32x32/apps/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.png




Save the file, and Youtube icon as well as the name should come up once you double click on it and try launching it.



Signing out and signing in can help, in case the icon fails to load after launching it as well.



PS: In case the icon isn't displayed properly, please try other folders with dimension 48x48 or 128x128 instead of 32x32 in the above path as you can see in the result of your locate command.






share|improve this answer
























  • That's an intended mechanism. If you only declare the icon name, the system will look for the file in the appropriate folder, depending on the size that is needed.

    – danzel
    Jan 26 at 17:24











  • ... If absolute path isn't defined, it automatically looks into hicolor folder which is default icon pack of Ubuntu 18.04 and 18.10.

    – Kulfy
    Jan 27 at 14:45













Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1109388%2fwhy-chrome-web-app-shortcuts-has-no-icon%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























1 Answer
1






active

oldest

votes








1 Answer
1






active

oldest

votes









active

oldest

votes






active

oldest

votes









1














That is happening because your desktop icon is not able to find appropriate icon location.



Just replace your line in the file




Icon=chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default




with the location of icon, like:




Icon=/home/idea/.local/share/icons/hicolor/32x32/apps/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.png




Save the file, and Youtube icon as well as the name should come up once you double click on it and try launching it.



Signing out and signing in can help, in case the icon fails to load after launching it as well.



PS: In case the icon isn't displayed properly, please try other folders with dimension 48x48 or 128x128 instead of 32x32 in the above path as you can see in the result of your locate command.






share|improve this answer
























  • That's an intended mechanism. If you only declare the icon name, the system will look for the file in the appropriate folder, depending on the size that is needed.

    – danzel
    Jan 26 at 17:24











  • ... If absolute path isn't defined, it automatically looks into hicolor folder which is default icon pack of Ubuntu 18.04 and 18.10.

    – Kulfy
    Jan 27 at 14:45


















1














That is happening because your desktop icon is not able to find appropriate icon location.



Just replace your line in the file




Icon=chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default




with the location of icon, like:




Icon=/home/idea/.local/share/icons/hicolor/32x32/apps/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.png




Save the file, and Youtube icon as well as the name should come up once you double click on it and try launching it.



Signing out and signing in can help, in case the icon fails to load after launching it as well.



PS: In case the icon isn't displayed properly, please try other folders with dimension 48x48 or 128x128 instead of 32x32 in the above path as you can see in the result of your locate command.






share|improve this answer
























  • That's an intended mechanism. If you only declare the icon name, the system will look for the file in the appropriate folder, depending on the size that is needed.

    – danzel
    Jan 26 at 17:24











  • ... If absolute path isn't defined, it automatically looks into hicolor folder which is default icon pack of Ubuntu 18.04 and 18.10.

    – Kulfy
    Jan 27 at 14:45
















1












1








1







That is happening because your desktop icon is not able to find appropriate icon location.



Just replace your line in the file




Icon=chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default




with the location of icon, like:




Icon=/home/idea/.local/share/icons/hicolor/32x32/apps/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.png




Save the file, and Youtube icon as well as the name should come up once you double click on it and try launching it.



Signing out and signing in can help, in case the icon fails to load after launching it as well.



PS: In case the icon isn't displayed properly, please try other folders with dimension 48x48 or 128x128 instead of 32x32 in the above path as you can see in the result of your locate command.






share|improve this answer













That is happening because your desktop icon is not able to find appropriate icon location.



Just replace your line in the file




Icon=chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default




with the location of icon, like:




Icon=/home/idea/.local/share/icons/hicolor/32x32/apps/chrome-adnlfjpnmidfimlkaohpidplnoimahfh-Default.png




Save the file, and Youtube icon as well as the name should come up once you double click on it and try launching it.



Signing out and signing in can help, in case the icon fails to load after launching it as well.



PS: In case the icon isn't displayed properly, please try other folders with dimension 48x48 or 128x128 instead of 32x32 in the above path as you can see in the result of your locate command.







share|improve this answer












share|improve this answer



share|improve this answer










answered Jan 23 at 19:01









Sankalp KotewarSankalp Kotewar

19417




19417













  • That's an intended mechanism. If you only declare the icon name, the system will look for the file in the appropriate folder, depending on the size that is needed.

    – danzel
    Jan 26 at 17:24











  • ... If absolute path isn't defined, it automatically looks into hicolor folder which is default icon pack of Ubuntu 18.04 and 18.10.

    – Kulfy
    Jan 27 at 14:45





















  • That's an intended mechanism. If you only declare the icon name, the system will look for the file in the appropriate folder, depending on the size that is needed.

    – danzel
    Jan 26 at 17:24











  • ... If absolute path isn't defined, it automatically looks into hicolor folder which is default icon pack of Ubuntu 18.04 and 18.10.

    – Kulfy
    Jan 27 at 14:45



















That's an intended mechanism. If you only declare the icon name, the system will look for the file in the appropriate folder, depending on the size that is needed.

– danzel
Jan 26 at 17:24





That's an intended mechanism. If you only declare the icon name, the system will look for the file in the appropriate folder, depending on the size that is needed.

– danzel
Jan 26 at 17:24













... If absolute path isn't defined, it automatically looks into hicolor folder which is default icon pack of Ubuntu 18.04 and 18.10.

– Kulfy
Jan 27 at 14:45







... If absolute path isn't defined, it automatically looks into hicolor folder which is default icon pack of Ubuntu 18.04 and 18.10.

– Kulfy
Jan 27 at 14:45




















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1109388%2fwhy-chrome-web-app-shortcuts-has-no-icon%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

flock() on closed filehandle LOCK_FILE at /usr/bin/apt-mirror

Mangá

Eduardo VII do Reino Unido