Change console keyboard layout in debian
I’ve been using Parallels Workstation virtualization a lot recently for testing databases and it works amazingly well.
However I did come across a weird problem. I’d installed Debian linux and the console keyboard layout wasn’t correct for my Apple USB keyboard. The solution was to use this command
dpkg-reconfigure console-data
Which walked me through selecting the right keyboard layout.
[link ]
Update
Djamu posted a comment
suggesting that the following command might work better for server installations: dpkg-reconfigure keyboard-configuration