Ubuntu – .desktop file doesn’t show icon

desktopicons

[Desktop Entry]
Version=1.0
Name=Event Manager
Exec=python3 /media/PRIVATE/Document/Python/Reminder\ ver\ 2/Gui.py
Icon="/home/dtoan/Pictures/book Reader.png"
Terminal=false
Type=Application
Categories=Utility;

This is my .desktop file that I created. But in dash, it shows a default icon instead of my png image. I'm sure the path is correct. Any idea?

Best Answer

Short answer:

Remove the quotes in:

Icon="/home/dtoan/Pictures/book Reader.png"

Unlike the Exec= line, spaces should be left alone in the Icon= line.

Apart from everything, I wouldn't use spaces in a name in general.