From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts Date: Fri, 03 Apr 2020 17:20:23 +0200 Message-ID: <87o8s8k348.fsf@gnu.org> References: <20200328134202.rgl6usllluoo2b2y@pelzflorian.localdomain> <87a740nu0u.fsf@gmail.com> <20200330104449.ahyivwdn62g6jluw@pelzflorian.localdomain> <875zemoz26.fsf@gmail.com> <20200330171113.njx7wstlmace45xk@pelzflorian.localdomain> <871rp8v8oi.fsf@gnu.org> <20200331165559.6yfowbvtuoth6vdw@pelzflorian.localdomain> <87k12yql0i.fsf@gnu.org> <20200403003816.oywdf75mj7yjzygj@pelzflorian.localdomain> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:52556) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jKO7z-0003cX-Mw for bug-guix@gnu.org; Fri, 03 Apr 2020 11:21:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jKO7y-0004E4-Hc for bug-guix@gnu.org; Fri, 03 Apr 2020 11:21:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59726) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jKO7y-0004Dw-ES for bug-guix@gnu.org; Fri, 03 Apr 2020 11:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jKO7y-0000UB-Am for bug-guix@gnu.org; Fri, 03 Apr 2020 11:21:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <20200403003816.oywdf75mj7yjzygj@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Fri, 3 Apr 2020 02:38:16 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane-mx.org@gnu.org Sender: "bug-Guix" To: "pelzflorian (Florian Pelz)" Cc: 40273@debbugs.gnu.org Hi, "pelzflorian (Florian Pelz)" skribis: > On Thu, Apr 02, 2020 at 11:45:01AM +0200, Ludovic Court=C3=A8s wrote: >> The attached patch fixes that. I=E2=80=99ve confirmed that it works as = intended >> in Xorg and in the console > > Thank you, it works fine, even for entering the LUKS passphrase after > GRUB in the Linux kernel. Only GRUB uses U.S. QWERTY layout. OK. >> (I=E2=80=99m not sure it works in GDM, but it >> definitely works in an xterm in ratpoison, for instance.) > > GDM retains my U.S. English layout even after herd stop xorg-server That=E2=80=99s a regression. Localed was added exactly one year ago to fix= this problem in commit 607fcc75404e2b1fc74affcf372b4a6a789ac55e. I=E2=80=99ve s= pent a couple of hours investigating and I don=E2=80=99t know why it doesn=E2=80= =99t work, especially since it works fine once logged in in GNOME (it=E2=80=99s the sa= me code, GNOME Shell). >> I was wondering whether to push the patch as-is or to require people to >> write: >>=20 >> (keyboard-layout '("ar" "fr") =E2=80=A6) >>=20 >> instead. Maybe it=E2=80=99s OK to leave the comma here. > > Lists seem more consistent with the Scheme syntax. OTOH, it has the potential of breaking things here and there; also, I=E2=80= =99d rather stay close to XKB. If that=E2=80=99s fine with you, I propose applying that patch and adding a sentence in =E2=80=9CKeyboard Layout=E2=80=9D to document that. >> However, I noticed that this doesn=E2=80=99t work in GRUB. Actually, ev= en >> (keyboard-layout "fr") doesn=E2=80=99t work in GRUB (at the command line= after >> the boot menu), which seems like a regression. > > I suppose on GRUB using at_keyboard it worked in the past? > > For me there=E2=80=99s no regression because keyboard layouts never worked > (using usb keyboard rather than at keyboard), see > . Damn it, so it=E2=80=99s this =E2=80=98terminal_input=E2=80=99 directive th= at broke it? > f5961dd5854cec1ed9a41365836d63aa15256642 for usb keyboard was a bad > commit (passphrase input was QWERTY, back then usb keyboard did not > work at all in GRUB menu). That has always been a problem, see . Ludo=E2=80=99.