I accidentally set my keyboard type to US during installation, but it actually is UK type. How do I change it?

[note] I use Debian Squeeze.

1 Answer 1


The Debian way is:

dpkg-reconfigure keyboard-configuration
dpkg-reconfigure console-data

To make the change visible in X (else reboot):

/etc/init.d/hal restart
  • Regarding HAL, which version of Debian are you talking about? AFAIR X in Squeeze doesn't need HAL.
    – tshepang
    Feb 13, 2011 at 19:37
  • The HAL part is optional, just reboot your X server.
    – shellholic
    Feb 13, 2011 at 19:43

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .