Which keymap for console tty on a Macbook Pro?

I have Manjaro installed on an old Macbook Pro, in which I’d like to change a keymap in TTY console, the one we get to via CTRL + ALT + F<num>. I have read Keyboard layout different in tty than in gnome, which has a solution, which merely needed a change in /etc/vconsole.conf.

My problem is I cannot figure out, which keymap I should use for KEYMAP= in vconsole.conf on Macbook with a UK keyboard. I tried a few ones from the list of localectl list-keymaps but they all give unsatisfactory results–the best is a US related keymap, the worst is keys are a mess such that backspace was generating e, as an example. I can’t figure out what shouldbe at KEYMAP=.

Thanks

PS> Below are a few outputs from a few commands:

[~]$ locale
LANG=en_GB.utf8
LC_CTYPE="en_GB.utf8"
LC_NUMERIC=en_GB.UTF-8
LC_TIME=en_GB.UTF-8
LC_COLLATE="en_GB.utf8"
LC_MONETARY=en_GB.UTF-8
LC_MESSAGES="en_GB.utf8"
LC_PAPER=en_GB.UTF-8
LC_NAME=en_GB.UTF-8
LC_ADDRESS=en_GB.UTF-8
LC_TELEPHONE=en_GB.UTF-8
LC_MEASUREMENT=en_GB.UTF-8
LC_IDENTIFICATION=en_GB.UTF-8
LC_ALL=
[~]$ localectl
System Locale: LANG=en_GB.UTF-8
    VC Keymap: gb
   X11 Layout: gb
  X11 Variant: mac
[~]$ cat /etc/X11/xorg.conf.d/00-keyboard.conf
# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "gb"
        Option "XkbVariant" "mac"
EndSection
[~]$ cat /etc/vconsole.conf
KEYMAP=uk
FONT=
FONT_MAP=

and

[~]$ grep '^HOOKS' /etc/mkinitcpio.conf
HOOKS="base udev autodetect modconf block keyboard keymap filesystems fsck"

Have you tried mac-uk? :man_shrugging:

1 Like

Yes, i did try mac-uk. After changing KEYMAP, rebooting and dropping to TTY, the keyboard is a mess, e.g. BACKSPACE generates e and other keys produce completely different caracters that they supposed to.