I created a .desktop file to launch Chrome in a specific profile. Here is the code:

[Desktop Entry]
Name=Chrome School
Comment=Open Chrome in my school account
Exec=google-chrome --profile-directory="Profile 1"

It works after making it executable, but the icon won't show. Icon Missing How do I fix this and make the icon show?

  • Doesn't the icon have any extension? Commented Jan 26, 2016 at 18:24
  • @shrestha_aj It does, but a guide on the Ubuntu wiki said something about not including the file extension.
    – user3515
    Commented Jan 26, 2016 at 21:29
  • Also, I think I have the wrong category names. Can someone tell me the right ones?
    – user3515
    Commented Jan 26, 2016 at 21:31
  • Try Categories=Network;WebBrowser; and put the extension for the icon image as show by @Ryan below Commented Jan 26, 2016 at 22:12

2 Answers 2


Try including the file extension in the icon name. For example, if it's a PNG file, change the code to Icon=/home/coolo/Pictures/ChromeGold.png.

  • Then why does this Ubuntu Wiki page says not to include the file extension for the image?
    – user3515
    Commented Jan 27, 2016 at 16:33
  • Elementary uses Slingshot, while Ubuntu uses the Unity Launcher. Seems like the two launchers have slightly different expectations for what .desktop files should look contain. Commented Jan 27, 2016 at 16:54
  • Oh. That makes sense now.
    – user3515
    Commented Jan 27, 2016 at 16:57

I was facing the same problem with SqlWorkbenchJ. I fixed it putting the .png image set in sqlworkbench.desktop under "Icon" into the directory /usr/share/pixmaps.

After that, the application started to show the proper icon either in plank dock and applications menu.

Hope it helps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.