I'm trying to hack my way into not having multiple windows of the same application grouped in the Dock in Ubuntu 18 since it seems this is not an available feature natively or with dash-to-dock. I've tried creating copies of applications by making copies of the
.desktop files, i.e. making
After starting these two apps however, they're still grouped together as two windows of Terminator in the Dock. I've changed the values of the fields I thought were relevant in the
.desktop files between the copies and made sure that the copies use different executable copies for the
TryExec fields. However, the windows are still grouped as the same application. I've even tried adding comments in the executables (they're Python scripts) to make sure the executables might be diffed by Gnome3 to see if they're the same program.
[Desktop Entry] Name=terminator3 TryExec=terminator3 Exec=terminator3 Type=Application WMClass=terminator3 X-WMClass=terminator3 StartupWMClass=terminator3 X-StartupWMClass=terminator3 [NewWindow Shortcut Group] Exec=terminator3 TargetEnvironment=Unity
[Desktop Entry] Name=terminator4 TryExec=terminator4 Exec=terminator4 Type=Application WMClass=terminator4 X-WMClass=terminator4 StartupWMClass=terminator4 X-StartupWMClass=terminator4 [NewWindow Shortcut Group] Exec=terminator4 TargetEnvironment=Unity