From mboxrd@z Thu Jan 1 00:00:00 1970 From: "pelzflorian (Florian Pelz)" Subject: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts Date: Fri, 3 Apr 2020 17:56:30 +0200 Message-ID: <20200403155630.k5pfssn3brdbfxbp@pelzflorian.localdomain> 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> <87o8s8k348.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:59611) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jKOgp-0003kU-8j for bug-guix@gnu.org; Fri, 03 Apr 2020 11:57:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jKOgn-00042I-QN for bug-guix@gnu.org; Fri, 03 Apr 2020 11:57:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:59741) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jKOgn-000426-MX for bug-guix@gnu.org; Fri, 03 Apr 2020 11:57:01 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jKOgn-0004cX-Jz for bug-guix@gnu.org; Fri, 03 Apr 2020 11:57:01 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <87o8s8k348.fsf@gnu.org> 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: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 40273@debbugs.gnu.org On Fri, Apr 03, 2020 at 05:20:23PM +0200, Ludovic Courtès wrote: > > GDM retains my U.S. English layout even after herd stop xorg-server > > That’s a regression. Localed was added exactly one year ago to fix this > problem in commit 607fcc75404e2b1fc74affcf372b4a6a789ac55e. I’ve spent > a couple of hours investigating and I don’t know why it doesn’t work, > especially since it works fine once logged in in GNOME (it’s the same > code, GNOME Shell). Sorry! It is entirely my fault. I had not known that if I don’t put a keyboard-layout field in set-xorg-configuration, I always get U.S. layout. > OTOH, it has the potential of breaking things here and there; also, I’d > rather stay close to XKB. > > If that’s fine with you, I propose applying that patch and adding a > sentence in “Keyboard Layout” to document that. I agree that staying close to XKB is a good reason. Thank you for all your work!! > > >> However, I noticed that this doesn’t work in GRUB. Actually, even > >> (keyboard-layout "fr") doesn’t 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’s no regression because keyboard layouts never worked > > (using usb keyboard rather than at keyboard), see > > . > > Damn it, so it’s this ‘terminal_input’ directive that broke it? I can only use the usb_keyboard input terminal and cannot use at_keyboard with my Macbook. Not specifying a terminal_input was the right resolution for that bug, because now it uses usb_keyboard automatically. It’s just that usb_keyboard cannot use keyboard layouts, it seems, and overall GRUB does not support all features needed from keyboard layouts according to the manual. Not encrypting grub’s file system seems easier. Regards, Florian