I can't seem to get the proper icon to display on 18.04 dock using this custom launcher. The icon does display correctly along with the application name using the "Files" application. If I double click on the icon in the "Files" folder the application loads up no problem. I can then add it to dock favorites but dock uses some generic icon.
Where did I mess up the contents of the .desktop file listed below?:
[Desktop Entry]
Encoding=UTF-8
Version=1.1
Type=Application
Name=Songsheet Generator
Icon=/home/hgh/BIN/songsheet.png
Path=/home/hgh/BIN
Exec=java -jar SG02.jar
StartupNotify=false
StartupWMClass=com-tenbyten-SG02-SG02App
OnlyShowIn=Unity;
X-UnityGenerated=true
Actions=My-Custom-Action;
GenericName[en_US.UTF-8]=Songsheet Generator
Comment[en_US.UTF-8]=Guitar tab editing software
[Desktop Action My-Custom-Action]
Name=Name of the Option
Icon=songsheet.png
Exec=java -jar /home/hgh/BIN/SG02.jar
StartupWMClass=
entry correct? If not, fix it. Also remove the linesOnlyShowIn=Unity;
andIcon=songsheet.png
(penultimate line).