Comment 4 for bug 120420

Revision history for this message
Mark Carter (mcturra2000) wrote : Re: Tilde not working on iMac in UK (Feisty)

Currently, I am using Gutsy 7.10 (full version). Virtual console grave and tilde don't work correctly.

So now I install:
 console-common
 console-data
 console-setup
 console-tools

As root, I do:
 dpkg-reconfigure console-setup
with
 Keyboard model: Macintosh
 The origin of the keyboard: United Kingdom
 Keyboard layout: United Kingdom
 AltGr key replacement: No AltGr key
 Compose key: No compose key
 Encoding on the console: UTF-8
 Set of characters ... : Combine - Latin; ...
 Font for the console: Fixed
 Font size: 16
 Virtual consoles in use: /dev/tty[1-6]
It generates the output:
 * Saving console font and keymap for next boot...
 WARNING: Undefined kernel key code for 101
 WARNING: Undefined kernel key code for 157
 WARNING: Undefined kernel key code for 160
 WARNING: Undefined kernel key code for 174
 WARNING: Undefined kernel key code for 176
 WARNING: Undefined kernel key code for 182
 WARNING: Undefined kernel key code for 183
 WARNING: Undefined kernel key code for 184
 WARNING: Undefined kernel key code for 204
 WARNING: Undefined kernel key code for 212
 WARNING: Undefined kernel key code for 214
 WARNING: Undefined kernel key code for 215
 WARNING: Undefined kernel key code for 216
 WARNING: Undefined kernel key code for 217
 WARNING: Undefined kernel key code for 222 [ OK ]
 update-initramfs: Generating /boot/initrd.img-2.6.22-14-generic

Virtual console grave and tilde is still not working at this stage.
I reboot, but it doesn't help.
Next, as root, I type
 install-keymap /usr/share/keymaps/i386/qwerty/mac-usb-uk.kmap.gz
If I go to a virtual console, then the the grave and tilde work correctly.
Also, the the key below the Esc key works correctly, too (formerly, it
operated the grave and tilde, which was wrong). The £, $, @ and " keys
all seem to work properly, too, so that keymap is exactly what I'm looking
for.

I reboot again, but the keyboard layout reverts to the old one (i.e.
where the grave and tilde don't work properly).