The keyboard settings are stored in /etc/default/keyboard
Keyboard layout (keymap), see debian-reference.
"dpkg-reconfigure --priority=low xserver-xorg" suggested by the above linked page does not work in Squeeze. You may try to add something like "setxkbmap us,ru -option grp:ctrl_shift_toggle" into ~/.xsessionrc instead.
Change Keyboard Layout
A keyboard layout can be changed on command line:
# dpkg-reconfigure keyboard-configuration
Use the tool mentioned above if you want to change your keyboard map e.g from qwerty to qwertz.
Set Keyboard Layout in initramfs
The file /etc/initramfs-tools/initramfs.conf must be changed to have the localized keyboard layout at boot time:
# # KEYMAP: [ y | n ] # # Load a keymap during the initramfs stage. # KEYMAP=y
Apply changes.
# update-initramfs -u