[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#968195: keyboard-configuration: cannot set specific layout Français (Bépo, ergonomique, façon Dvorak, AFNOR) for tty console



Control: tags -1 + patch
Control: forcemerge -1 984427

Le vendredi 23 juillet 2021 à 15:02 +0200, Sébastien Villemot a écrit :
Le lundi 10 août 2020 à 11:49 +0300, Jean-Louis Biasini a écrit :
> Package: keyboard-configuration
> Version: 1.196
> Severity: important

> * What exactly did you do (or not do) that was effective (or
> ineffective)?
> console tty:
> $ sudo dpkg-reconfigure keyboard-configuration
> choosing Français (Bépo, ergonomique, façon Dvorak, AFNOR)
> $ sudo systemctl restart keyboard-setup
> * What was the outcome of this action?
> still in en us

I was also hit by this bug. I confirm that setupcon is unable to load
the “fr(bepo_afnor)” keymap.

> The problem is that loadkeys fails to load the keymap generated by
> ckbcomp. It errors out with this message:
>
>  too many (160) entries on one line

The problem comes from the fact that the “fr(bepo_afnor)” keymap has a
Unicode code point above 0xFFFF (more precisely U+1F12F, the copyleft
symbol, which appears on key BKSL; see line 647 of
/usr/share/X11/xkb/symbols/fr).

Those code points are not handled by the Linux console (and actually,
loadkeys interpret them as two code points, hence the “too many
entries” message).

I have prepared a merge request, improving on the patch submitted by
Anisse Astier in #984427:

 https://salsa.debian.org/installer-team/console-setup/-/merge_requests/8

I’d really like to have this fixed in bullseye. It’s still possible to
have it fixed before the unblock request deadline (on 2021-08-03).
Otherwise it will have to go in a stable point update. In any case, I’m
willing to do the necessary work (even NMUing if that’s ok with the
maintainers).

Best,

-- 
⢀⣴⠾⠻⢶⣦⠀  Sébastien Villemot
⣾⠁⢠⠒⠀⣿⡁  Debian Developer
⢿⡄⠘⠷⠚⠋⠀  https://sebastien.villemot.name
⠈⠳⣄⠀⠀⠀⠀  https://www.debian.org


Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: