In fact, that looks to be exactly the problem. In an xterm: $ sudo kbd_mode The keyboard is in Unicode (UTF-8) mode
On another machine, I get $ sudo kbd_mode The keyboard is in raw (scancode) mode -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/759674 Title: Upgrading console-setup in a chroot breaks X keymap -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs