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: Thu, 2 Apr 2020 08:24:08 +0200 Message-ID: <20200402062408.zrapcqfguenlcu5b@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> <20200401203318.GA6142@LionPure> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:46199) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJtHj-0005tg-JT for bug-guix@gnu.org; Thu, 02 Apr 2020 02:25:04 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jJtHi-0006Bc-Ee for bug-guix@gnu.org; Thu, 02 Apr 2020 02:25:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55720) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jJtHi-0006BW-Ay for bug-guix@gnu.org; Thu, 02 Apr 2020 02:25:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1jJtHi-0001wM-7f for bug-guix@gnu.org; Thu, 02 Apr 2020 02:25:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: Content-Disposition: inline In-Reply-To: <20200401203318.GA6142@LionPure> 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: Bengt Richter Cc: 40273@debbugs.gnu.org On Wed, Apr 01, 2020 at 10:33:18PM +0200, Bengt Richter wrote: > I don't know if this is useful, but seems like you can affect things > early in the boot sequence (from the man page): > --8<---------------cut here---------------start------------->8--- > Note that the kernel command line options vconsole.keymap=, > vconsole.keymap_toggle=, vconsole.font=, vconsole.font_map=, > console.font_unimap= may be used to override the console settings at > boot. > --8<---------------cut here---------------end--------------->8--- Thank you for the suggestion. With vconsole.keymap_toggle in QEMU I do not know what key to press in order to toggle. Right Alt key or Alt+Shift does not work, so I believe the vconsole kernel parameter is not used without installing the 90-vconsole.rules udev rules file from systemd. The rules file runs a program systemd-vconsole-setup it seems which uses KDFONTOP ioctl: https://github.com/systemd/systemd/blob/master/src/vconsole/vconsole-setup.c I would prefer a toggle keymap that is set to "us" or "fr" or whatever at runtime. I believe this would be easiest by patching kmscon to not only accept a layout (like now) but also a (not necessarily hard-coded) option grp:alt_shift_toggle or grp:toggle (for right Alt key, if the keyboard has one) or similar. But "us" QWERTY as a fixed toggle keymap would help too of course. > > What do you think is the right path forward? > Do the right thing > :) I hope someone who knows the codebase and what to put where made a patch. I should have said so. Regards, Florian