Fixing VMware Workstation Gnome Favorites Pin

Last Modified: Fri, 06 Jan 2023 16:23:07 +0000 ; Created: Mon, 02 Jan 2023 06:32:19 +0000

If you run from a terminal command-line vmware it won't attach to your pinned Gnome favorite. The fix:
vim /usr/share/applications/vmware-workstation.desktop

# Add this line to the end


StartupWMClass=Vmware

This community post gave a hint as to how to fix this problem in general: https://askubuntu.com/questions/1378642/application-in-the-dock-cant-be-added-to-favourites