[Pkg-kbd-devel] Bug#842611: kbd: Czech keyboard doesn't work if the console is in utf8 mode

Mikulas Patocka mikulas at twibright.com
Sun Oct 30 19:12:31 UTC 2016


Package: kbd
Version: 2.0.3-2
Severity: important
Tags: l10n upstream

Dear Maintainer,

*** Reporter, please consider answering these questions, where appropriate ***

   * What led up to the situation?
I want to use Czech keyboard on the Linux console.
I have Debian Sid x86-64 system. The default locale is cs_CZ.utf8.
The file /etc/default/console-setup is
ACTIVE_CONSOLES="/dev/tty[1-6]"
CHARMAP="UTF-8"
CODESET="Lat2"
FONTFACE="TerminusBold"
FONTSIZE="10x20"
   * What exactly did you do (or not do) that was effective (or
     ineffective)?
Load Czech keyboard with "loadkeys cz-us-qwertz"
   * What was the outcome of this action?
The keyboard doesn't work, keys with Czech characters produce garbage.
   * What outcome did you expect instead?
The Czech keyboard should work.

*** End of the template - remove these template lines ***

Czech keyboard works perfecly in Debian Jessie (it uses kbd version
1.15.2). When I copy the /usr/bin/loadkeys binary from Jessie to Sid, the
binary works on Sid and loads the correct keyboard.

I bisected the bug in the upstream git and it is caused by commit
3fdbff332a6ef88a2447584c47a8616dceb19548 ("ksyms: Global syms[] and
charsets[] shouldn't be modified").

There is a patch at
http://git.altlinux.org/people/legion/packages/kbd.git?p=kbd.git;a=commitdiff;h=64dfc1442011b3d9d892fd20476efa46fcaa992f
, but it only provides a partial fix. With this patch, the keys in the top
row work, but some of the dead keys for acute and caron don't work - the
corrupted keys are "acute+e" "acute+u" "acute+i" "acute+o" "acute+a"
"acute+y" "caron+o" "caron+a" (the last two should type "o" and "a" with
inverted breve).


-- System Information:
Debian Release: stretch/sid
  APT prefers unreleased
  APT policy: (500, 'unreleased'), (500, 'unstable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386, x32

Kernel: Linux 4.9.0-rc2+ (SMP w/12 CPU cores; PREEMPT)
Locale: LANG=cs_CZ.utf8, LC_CTYPE=cs_CZ.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: sysvinit (via /sbin/init)

Versions of packages kbd depends on:
ii  libc6     2.24-3
ii  lsb-base  9.20161016

Versions of packages kbd recommends:
ii  console-data   2:1.12-5
ii  console-setup  1.152

kbd suggests no packages.

-- no debconf information



More information about the Pkg-kbd-devel mailing list