I have two gnome-terminal windows each one running ssh connected to a different remote server: SERVER A, and SERVER B.
Although using different
.desktop settings for each one, dock groups them all together in only one icon, the gnome-terminal icon.
I would like to have them separated in two different applications with custom icons in dock, since I deal with them as if they were different applications, because they are connected to different servers accessing different end-user applications.
My current launching configuration file for the called "server a":
#!/usr/bin/env xdg-open [Desktop Entry] Version=1.0 Type=Application Terminal=false Exec=/usr/bin/gnome-terminal -e "ssh server-a" Name=SERVER A Icon=/home/me/custom/server-a.png
EDIT: Ubuntu version: 22.04