I want to assign an icon to SoftSqueeze (a software radio based on the Logitech Squeezebox, written in Java) in Ubuntu 20.04 with gnome 3.
I created a .desktop file in ~/.loca/share/applications:
[Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application Name=SoftSqueeze Icon=/opt/softsqueeze_3.9.2/icons/icon256.xpm Exec=java -jar /opt/softsqueeze_3.9.2/SoftSqueeze.jar Terminal=false StartupNotify=false StartupWMClass=SoftSqueeze NoDisplay=false MimeType=application/x-java-archive;application/java-archive;application/x-jar; X-UnityGenerated=true
After that, the application is found with the right set icon (above specified in
Icon=), but if I start the application, a funny pixelated headphone instead is shown.
In Cairo dock, I created a launcher by adding a new one and give it the right command and icon with it. It came also up with the wrong icon (a funny pixelated headphone).
I assume this "headphone" icon is maybe set within the jar of the softsqueeze.
How do I assign the right icon in Gnome 3 and in Cairo dock?