After looking here for answers I am still struggling. I am running Ubuntu 21.04 as a virtual machine on my M1 Mac mini under Parallels 16. I am also running Windows 10 as a VM and the keys there map fine to my Mac keyboard, but under the Ubuntu terminal, some keys are messed up. Not all of them. Here is the layout for the Ubuntu terminal:
q w d f k j u r l ;
a s e t g y n i o h
z x c v b p m , . /
The Mac keyboard is:
q w e r t y u i o p
a s d f g h j k l ;
z x c v b n m , . /
The numbers and the rest of the keys are all the same. Can someone help me? I have tried several possible answers found here and still, none have worked. And what makes it more difficult is that I have to type in all solutions in this odd keyboard layout. Please help
sudo dpkg-reconfigure sudo dpkg-reconfigure keyboard-configuration
select what you need, perhaps US - Apple keyboard