VMWare Fusion Pro macOS Host to Linux Guest Keyboard Mapping
I've been running a Linux guest on my iMac VMware Fusion Hypervisor for years and have been logging in via ssh to avoid this.   Only recently set it up for Gnome.
I found that configuring gnome for an Apple keyboard solved most of the issues with tilde etc.   The one key which I did have problems with was the hash '#' key which for some reason either works via SHIFT-.