Incorrect keyboard mapping on Ubuntu under VirtualBox

If you open up the launcher and search for keyboard layout, you get the system dialog which controls what layout you're using. Add your keyboards layout to the list and then set it as the default :)


If you do not have a GUI installed then you can also fix this via the command line:

sudo dpkg-reconfigure keyboard-configuration

The keyboard type on the first screen will likely be correct ("Generic") then when you hit OK (Enter) the other screens will prompt you for language etc. Use arrow keys to scroll up and down between options and "Enter" for OK.


  1. Select the large cog in the bottom left hand corner for System Settings.
  2. Select Keyboard layout (not Keyboard).
  3. Use the plus button to add your keyboard.
  4. The minus button to deselect Italian.