I have installed Talend Open Studio by simply unzipping the archive in my home folder. The application is launched via a shell script. Then I created a desktop file :
[Desktop Entry]
Name=Talend Open Studio
Comment=ETL
Exec=/home/franck/devel/outils/TOS/TOS_DI-linux-gtk-x86.sh
Path=/home/franck/devel/outils/TOS/
Terminal=false
Icon=/home/franck/devel/outils/TOS/24_talend-icon.svg
Type=Application
Categories=Development;ETL
I put it in ~/.local/share/applications/tos.desktop
Finally I added the launcher to my favorite apps, so it stays in my dash-to-dock bar (Ubuntu Dock).
Now when I click on the icon (second on screenshot), TOS launches, but another icon (fourth) pops up for the running application; instead of the custom icon I put in my .desktop
file, I get another (pixelized) icon.
So here are my questions:
- how does gnome-shell affect an icon to a running application?
- where does it find a suitable icon? (a poor one in my case)
- how can I force it to take my
.desktop
icon? - ideally, it would not show two icons while running (the launcher and the running one). What mechanism is implied here?
StartupWMClass
entry. – pomsky Apr 16 '20 at 11:28