There is a good wiki page on this topic: https://wiki.debian.org/Keyboard In worst case you could edit /etc/default/keyboard directly, and then reboot to be sure that the changes take effect. Risto