I've recently upgraded my install of VirtualBox to 5.2.28, and while trying to reconfigure the VM's I find data entered into any field turns into gibberish. For arguments sake, I type in 23 and the field becomes 0- which of course isn't valid. The rest of the keyboard is similarly affected.
VirtualBox is the only thing affected by this problem. The original 14.04LTS install worked without a problem, and upgrade to 5.2.x broke it. The default install for 18.04LTS is also broken the same way at 5.2.18
Never seen anything like it before, any ideas?
In case this helps identify the current mapping, qwerty comes out as 4c.gvn
EDIT: Well its still going on, not only that, but a fresh install of 18LTS actually gives me the same result.
I think you are using the wrong keyboard layout. Open your launcher and search for keyboard layout. From there you should be able to add your keyboards layout to the list. You should set it as the default keyboard.
Incorrect keyboard mapping on Ubuntu under VirtualBox
Edit:
If you only have CLI than you can try
When you run
dpkg-reconfigure keyboard-configuration
you should get a prompt for what keyboard layout you have/want, follow the prompts.Source: Debian Keyboard configuration
From that I have seen this works for people using 14.04 though some say they had to use
sudo
when running it.more information can be found here: how-to-permanently-configure-keyboard