From debbugs-submit-bounces@debbugs.gnu.org Sat Mar 28 09:42:10 2020 Received: (at submit) by debbugs.gnu.org; 28 Mar 2020 13:42:10 +0000 Received: from localhost ([127.0.0.1]:33778 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIBiz-0005Lm-UV for submit@debbugs.gnu.org; Sat, 28 Mar 2020 09:42:10 -0400 Received: from lists.gnu.org ([209.51.188.17]:51802) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIBiy-0005Lf-Vf for submit@debbugs.gnu.org; Sat, 28 Mar 2020 09:42:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58259) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIBix-0003SV-ER for bug-guix@gnu.org; Sat, 28 Mar 2020 09:42:08 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50, T_FILL_THIS_FORM_SHORT,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIBiw-0002vH-6S for bug-guix@gnu.org; Sat, 28 Mar 2020 09:42:07 -0400 Received: from pelzflorian.de ([5.45.111.108]:50200 helo=mail.pelzflorian.de) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jIBiv-0002t7-Nn for bug-guix@gnu.org; Sat, 28 Mar 2020 09:42:06 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id E1DEC36055C for ; Sat, 28 Mar 2020 14:42:03 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1585402923; bh=IJNvA5o7Jegir8WcuLoc3aaihc/NBIBLV93umKMdR88=; h=Date:From:To:Subject; b=2ekwYt45XkB/qJl6sBrkjYHhCDq5CgwHQBPEZ8JZwIgNawICUMzappBpPzgymmK2y iSV5Id6lRWJfz+Wg/ir2Tw5a+K/dUOmJiQEBMwTR9hgjd3J9+eXVqrWmxbEdfEBWzF 8MQsMbBQ/YE+9zB4ErEnoeihGKAtawZaDJrEp9jM= Date: Sat, 28 Mar 2020 14:42:02 +0100 From: "pelzflorian (Florian Pelz)" To: bug-guix@gnu.org Subject: installer: No way to input Latin characters with non-Latin keyboard layouts Message-ID: <20200328134202.rgl6usllluoo2b2y@pelzflorian.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-Received-From: 5.45.111.108 X-Spam-Score: 0.2 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.8 (/) After selecting non-Latin keyboard layouts in the graphical installer, there is no way to input Latin characters again. This means hostname, username, password, the home directory path /home/=E2=80=A6 cannot be specified in Latin. There either should be a way to switch the keyboard layout later on. For example currently there is neither a place in the GUI to switch the layout nor key combinations or (on a Japanese keyboard) support for the keyboard=E2=80=99s romaji key to switch layouts. Of course typin= g `loadkeys` is impossible too. Or the keyboard layout should not be switched to non-Latin. For example, when choosing Arabic AZERTY layout, during install the keyboard should be switched to Latin AZERTY layout and not Arabic. Note that choosing non-Latin usernames and passwords appears to have caused problems before, see (I have not tested it). Similar considerations: Maybe the default keyboard layout for virtual console TTYs and bootloaders should be Latin unless changed explicitly. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 29 13:16:14 2020 Received: (at 40273) by debbugs.gnu.org; 29 Mar 2020 17:16:15 +0000 Received: from localhost ([127.0.0.1]:59663 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIbXi-0007qJ-Nt for submit@debbugs.gnu.org; Sun, 29 Mar 2020 13:16:14 -0400 Received: from pelzflorian.de ([5.45.111.108]:38018 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIbXf-0007qA-PJ for 40273@debbugs.gnu.org; Sun, 29 Mar 2020 13:16:12 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 9953136055C; Sun, 29 Mar 2020 19:16:10 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1585502170; bh=XoC9rY24a9hRtMtrXUSbGW8EuIgfqS/LwAhPchXCEGs=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=3gYKwXm6ck4BKmw8pP6AK1UW4C/R0/sACdfMII3modnhdnEpGp9VcB6PuVb4GULyR f+gmN3qbTqglMm9THRTWAdTv9aEjM0rGeapG3qEycIddN+R1kJ63CfmKMPHGdMSXke 8TC+ts4mVWAIBOzkyy0mM8IVPu8fy0HQsB5+i1Yw= Date: Sun, 29 Mar 2020 19:16:09 +0200 From: "pelzflorian (Florian Pelz)" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts Message-ID: <20200329171609.puseiw4d4b6cxgd7@pelzflorian.localdomain> References: <20200328134202.rgl6usllluoo2b2y@pelzflorian.localdomain> <875zenyzh0.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <875zenyzh0.fsf@gnu.org> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40273 Cc: 40273@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Sun, Mar 29, 2020 at 05:04:11PM +0200, Ludovic Courtčs wrote: > How do other distros handle it? Is there a hot key to switch back to a > Latin layout? If so, which one? I test the Newt-based Debian 10 installer via QEMU. When I select English language with Arabic keymap, I can choose a key combination for switching the layout, Alt+Shift by default. But I cannot choose between AZERTY and QWERTY, I always get QWERTY. Searching the Web for the displayed string for choosing the layout reveals it is part of console-setup and contained in $(guix build -S console-setup)/debian/keyboard-configuration.templates I find command suggestions like ckbcomp -layout cs,cs -variant latin, -option grp:rwin_toggle,lv3:ralt_switch,grp_led:scroll as given in . Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Sun Mar 29 13:53:56 2020 Received: (at submit) by debbugs.gnu.org; 29 Mar 2020 17:53:56 +0000 Received: from localhost ([127.0.0.1]:59714 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIc8C-0002s4-DQ for submit@debbugs.gnu.org; Sun, 29 Mar 2020 13:53:56 -0400 Received: from lists.gnu.org ([209.51.188.17]:47303) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIc8B-0002rx-AB for submit@debbugs.gnu.org; Sun, 29 Mar 2020 13:53:55 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:53877) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIc8A-0003bw-4y for bug-guix@gnu.org; Sun, 29 Mar 2020 13:53:55 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIc89-0007Tp-5A for bug-guix@gnu.org; Sun, 29 Mar 2020 13:53:54 -0400 Received: from mail-wr1-x430.google.com ([2a00:1450:4864:20::430]:42727) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jIc87-0007SS-Pl; Sun, 29 Mar 2020 13:53:51 -0400 Received: by mail-wr1-x430.google.com with SMTP id h15so18207273wrx.9; Sun, 29 Mar 2020 10:53:51 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=wyiuIjrhyjqBIqGCfoOPtwXXAlaIIo4Q+U3h9vUXjnA=; b=uuaTnCEon3PMUwXiazsArG6b0h3XZ641jCe+D6sjiZWwECyE5qLKjz1efLnzAnHeTU oVQXZZ+eeJ5ZEH6TZm8WikoLxnx639Fz76Ils6B3/mkzVl4qQmHH5wm8FyMAaeC948WH YEjiKTzO1Q+e6Q/VLQ8SNJxKO+99CyZt9ENXaXTQTV8NXwmBO06gCqjYlqK2yzy8pHWF yp2EjH+vbV8SKZBfhS0dOuIQNcUDjKkEoglWkNlSVe/NF9kl7PJPMCjb6u5vBVLoqz9e IijsqrFP7amKdfk0z+d0TcF3AQ0R1Ga2s0CUr4FWefKRe+6trUOrhTbi2c9D53kev7DL yfjg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=wyiuIjrhyjqBIqGCfoOPtwXXAlaIIo4Q+U3h9vUXjnA=; b=gun3jA3qxHVQNKcG0LyZ5OPJrELTZuDTpozVhlnKqCgiYrmzq9k83MjkidBdCElxGT p1Cv0jXS0jaGSm35sWkx8NVY2dMEdvkaAzjAYlpgvHhlqE7VAW/qn7LVWDYYJu6uDJ4y 22SveSaMPP7FX+qbums6BrZhso9Ql+FHActgV/L1qM0ilJb5VWCswAOZIrq5Mt3V0pzR uw7SL3cT3KSLzdvY/GiXXNWrI/8CwNwsUlyxSM6yXBynSH/QzsxnV1Fsa7A8gkjSTAKk 12nS53/6IuCUbKxKiguMuhkBx0US2nVqztF3BokGfFfywlTMoM9GUscg76QgasOKi4wS yhzA== X-Gm-Message-State: ANhLgQ3RFtqicmSo2Y0aGuT4aSzNTpnK4+jFZKDadHymv70ifxdbVc+O DaREDC2+oiF+qf6vNYC6voi+tlOfsBc= X-Google-Smtp-Source: ADFU+vsfRgrb87i14drL2+RfzN+FoKiRkjSJ5rcgksFi7lm5q/JwaUSE1QzXO3AbeQW0MFXgjjknhw== X-Received: by 2002:adf:91c3:: with SMTP id 61mr10539439wri.384.1585504430683; Sun, 29 Mar 2020 10:53:50 -0700 (PDT) Received: from cervin ([2a01:cb18:832e:5f00:a873:d253:d873:1441]) by smtp.gmail.com with ESMTPSA id f9sm19992785wrs.36.2020.03.29.10.53.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 29 Mar 2020 10:53:49 -0700 (PDT) References: <20200328134202.rgl6usllluoo2b2y@pelzflorian.localdomain> <875zenyzh0.fsf@gnu.org> <20200329171609.puseiw4d4b6cxgd7@pelzflorian.localdomain> User-agent: mu4e 1.2.0; emacs 26.3 From: Mathieu Othacehe To: bug-guix@gnu.org Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts In-reply-to: <20200329171609.puseiw4d4b6cxgd7@pelzflorian.localdomain> Date: Sun, 29 Mar 2020 19:53:48 +0200 Message-ID: <878sjjt5cj.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::430 X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: submit Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , 40273@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hey, > I test the Newt-based Debian 10 installer via QEMU. When I select > English language with Arabic keymap, I can choose a key combination > for switching the layout, Alt+Shift by default. But I cannot choose > between AZERTY and QWERTY, I always get QWERTY. Defining such a combination could be an option too. I tried to implement the mechanism I proposed, but had multiple problems: * Shepherd is using /dev/console as an output and some messages are polluting the help line displayed at the bottom of the screen. I'm not sure how to solve it. Shepherd could poll /dev/log so that once syslog is available it stops using /dev/console. * Guile-newt functions "newt-set-help-callback" and "add-component-callback" seem to be tripping over each other and I'm having a hard time trying to understand why. Regardless of this keyboard layout issue, having a help menu for the installer could be useful to display the shortcuts for instance. Thanks, Mathieu From m.othacehe@gmail.com Sat Mar 28 15:45:14 2020 Received: (at submit) by debbugs.gnu.org; 30 Mar 2020 02:35:32 +0000 Received: from lists.gnu.org ([209.51.188.17]:34450) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIHOL-00062h-Ha for submit@debbugs.gnu.org; Sat, 28 Mar 2020 15:45:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49892) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIHOK-000477-HK for bug-guix@gnu.org; Sat, 28 Mar 2020 15:45:13 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIHOI-0002lg-Ko for bug-guix@gnu.org; Sat, 28 Mar 2020 15:45:11 -0400 Received: from mail-wr1-x42e.google.com ([2a00:1450:4864:20::42e]:32790) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jIHOH-0002gX-Ci for bug-guix@gnu.org; Sat, 28 Mar 2020 15:45:10 -0400 Received: by mail-wr1-x42e.google.com with SMTP id a25so15990991wrd.0 for ; Sat, 28 Mar 2020 12:45:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=6d8YiojkhUzg2e8q2g7MTUAQPO6mlcrZtdSHpsm8PO8=; b=F5tnrySZ1ywBxTZ+SuyK39Gq4xRTpPmKA/6QIRNYAPDa5GnuoEBdvVDf9QoouKqyQQ Kw+1IupD9v3mXsJO2lchMasM8pFtx9dkDn0CRnlJMYUyPsKEMCsd3fHkhqPQvGtKikf1 mXhlEaifhjauYF2dTURbzOc8n2+No3sG0v5EdbA2L4y8NN/WhMl2PMd9kFOW5wWe5Y5+ l7F/Psjo9oPKyXYbVhS9KHlON6EOtBYBWrm90BHU7as0zykr/kDl6dcvtvqRohVw+nlH +o+RWEMuAL87FuJFN201yg1vjifyuMw4RaYhRaZMYRjve/7T47MseD2aqGBP+Gh+5Bvu Zi4w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=6d8YiojkhUzg2e8q2g7MTUAQPO6mlcrZtdSHpsm8PO8=; b=ZEZMEPcVn9fAJDzLSlqR8MPv3yUt4LO2Wbw8UbWnIrqZA6FjJa+MGlENORIAdAvyWu Ce/Ojph0rcZvD9JYnY9mD/kp1ln98o2Ud6cg3oG3xUrjKQe+6RLg/hTeA4fIqwKDhD1I KRnJtQ/oIw8HIEj1CUXiwCiFHaIKfQMthrbiQmkAOE+v1yTj7HcK0dMVL+RT9VJ7gxdh /pkINh6XpjJj7M+lwOjN10oEfTLg80cS5rTd91PKBIqNTtqJj4D61Qr+gQyTelh55/ME kJAGK4rlSsDnuhKW2w9+T5DxjWd2TdGD3K/tPxAK0Mt4jWZ5UJwz3BW4ofI2P4kjYW4J L9ew== X-Gm-Message-State: ANhLgQ2E4tSEVHWpbdzLwvlzdIVCnWBdkEUlGe+66Ua9hdbHyPeWJB/L O2txV58gS6fXO8zzOMM7oCJHvJeBjGo= X-Google-Smtp-Source: ADFU+vtzbhEv00gdCaMK/11NWMo1d4DVz8xWTgb6ArOVfjcpVeOvWT6lWEBHCOPzggw55NGQfN/iag== X-Received: by 2002:adf:edd2:: with SMTP id v18mr6616280wro.55.1585424707688; Sat, 28 Mar 2020 12:45:07 -0700 (PDT) Received: from meru ([2a01:cb18:832e:5f00:8018:75be:ac3a:2cbd]) by smtp.gmail.com with ESMTPSA id 23sm12559874wmj.34.2020.03.28.12.45.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 28 Mar 2020 12:45:06 -0700 (PDT) References: <20200328134202.rgl6usllluoo2b2y@pelzflorian.localdomain> User-agent: mu4e 1.2.0; emacs 26.3 From: Mathieu Othacehe To: bug-guix@gnu.org Cc: 40273@debbugs.gnu.org Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts In-reply-to: <20200328134202.rgl6usllluoo2b2y@pelzflorian.localdomain> Date: Sat, 28 Mar 2020 20:45:05 +0100 Message-ID: <87a740nu0u.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42e X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Mar 2020 19:45:14 -0000 Hello, Maybe we could add a help menu with key shortcut. From that help menu, one could change the current keyboard layout from any installation step? WDYT? Mathieu From ludo@gnu.org Sun Mar 29 11:04:19 2020 Received: (at 40273) by debbugs.gnu.org; 30 Mar 2020 02:35:38 +0000 Received: from eggs.gnu.org ([209.51.188.92]:51047) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIZU3-0004NS-Av for 40273@debbugs.gnu.org; Sun, 29 Mar 2020 11:04:19 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52299) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jIZTy-000364-4O; Sun, 29 Mar 2020 11:04:14 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=49804 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jIZTx-0005jY-IU; Sun, 29 Mar 2020 11:04:13 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "pelzflorian \(Florian Pelz\)" Cc: 40273@debbugs.gnu.org Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts References: <20200328134202.rgl6usllluoo2b2y@pelzflorian.localdomain> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 10 Germinal an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sun, 29 Mar 2020 17:04:11 +0200 In-Reply-To: <20200328134202.rgl6usllluoo2b2y@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Sat, 28 Mar 2020 14:42:02 +0100") Message-ID: <875zenyzh0.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40273 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 Mar 2020 15:04:19 -0000 Hi Florian, "pelzflorian (Florian Pelz)" skribis: > After selecting non-Latin keyboard layouts in the graphical installer, > there is no way to input Latin characters again. This means hostname, > username, password, the home directory path /home/=E2=80=A6 cannot be > specified in Latin. > > There either should be a way to switch the keyboard layout later on. > For example currently there is neither a place in the GUI to switch > the layout nor key combinations or (on a Japanese keyboard) support > for the keyboard=E2=80=99s romaji key to switch layouts. Of course typing > `loadkeys` is impossible too. > > Or the keyboard layout should not be switched to non-Latin. For > example, when choosing Arabic AZERTY layout, during install the > keyboard should be switched to Latin AZERTY layout and not Arabic. How do other distros handle it? Is there a hot key to switch back to a Latin layout? If so, which one? Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 30 06:39:58 2020 Received: (at submit) by debbugs.gnu.org; 30 Mar 2020 10:39:58 +0000 Received: from localhost ([127.0.0.1]:60994 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIrpl-0003FV-O5 for submit@debbugs.gnu.org; Mon, 30 Mar 2020 06:39:58 -0400 Received: from lists.gnu.org ([209.51.188.17]:51588) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIrpj-0003FO-Nh for submit@debbugs.gnu.org; Mon, 30 Mar 2020 06:39:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:50345) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jIrpi-0003KF-LZ for bug-guix@gnu.org; Mon, 30 Mar 2020 06:39:55 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jIrph-0005oi-RN for bug-guix@gnu.org; Mon, 30 Mar 2020 06:39:54 -0400 Received: from mail-wr1-x431.google.com ([2a00:1450:4864:20::431]:37464) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jIrph-0005n2-JZ for bug-guix@gnu.org; Mon, 30 Mar 2020 06:39:53 -0400 Received: by mail-wr1-x431.google.com with SMTP id w10so21033281wrm.4 for ; Mon, 30 Mar 2020 03:39:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=Otn6tvMwemjoti+AwXbQVHX7h25puHl74PmThNLSBHE=; b=DI0ycajhZK/u7IhSJzoz9kZn1XcYKercoF9J+XGK+yFVRebjPsFmEKZ7+smX0jRbEO d13QLMM2CVytZReP3iL4eRK6HwnOdajYhGFG4U6olwERHMzMqNPxukmDorAHLrhElqdM cPkJ6Fve4RmTyFgdMYl+9yYLfavzJp8Pd198/mON51wdDAfjeejenGc//qU2SQxRjcBs 6HxPX/pgRviW0vghsBotGK4un3wVI3NnLn8GdVsJaKNtSFWho4fUn7hWkK/CXCAeJ+ob AjGwrCBM8fFLvaYX63jin6o5G+VOHZyUqlCFL/ueRGdGMVJo7GjdSJSieTjQ0Nnl0o5z lpug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=Otn6tvMwemjoti+AwXbQVHX7h25puHl74PmThNLSBHE=; b=Q9TNR1TH0SUocfqGmD2RNpd+6T7DLaTYYIN51MWjvsbG2Gw9pAtfUHrraM9QWI1DBS dMWzJjvwZ3BaO6J+eVhVmP4CHlucH1z5Y9Cm+4vMB2LJW9W8Q4UY505kykl9p4Xve6TL 2rGbq28G4LRF7Y+FSbNvcLHtxydPGPQhUTN8GjENGpLc1UkoMGAjNofSbhfFXqwzSXcs w58Co5houfA+mRvh0VWpYFCUBxqEu/fFviCzU7laYXW76a+n4qSfqKW1T9eh+BhG84yA LWNIBmRZojG6Li34BF8AdcireDzBL2PiGfXjRe0h39XhMbUBSVgWLQZkcUgfi0caYdX6 xrKw== X-Gm-Message-State: ANhLgQ1rUYBF8amM5UDqE7kIQ3wW6GUlwdxbcUeTxcq8mp5IBAY1Foui FxZcRL7DTFgioV4yIDek7Ym3cc0xnoM= X-Google-Smtp-Source: ADFU+vuyXLXllFbqRxWlXnksIWML4akEVjWRHlmYLuye00rXYx9Nx4jxANWu5WfEkRMv545n4P41Zg== X-Received: by 2002:a5d:4d07:: with SMTP id z7mr14600987wrt.92.1585564792051; Mon, 30 Mar 2020 03:39:52 -0700 (PDT) Received: from meru ([2a01:cb18:832e:5f00:90fb:6d6e:660b:2437]) by smtp.gmail.com with ESMTPSA id v11sm21846427wrm.43.2020.03.30.03.39.50 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Mar 2020 03:39:51 -0700 (PDT) References: <20200328134202.rgl6usllluoo2b2y@pelzflorian.localdomain> <875zenyzh0.fsf@gnu.org> <20200329171609.puseiw4d4b6cxgd7@pelzflorian.localdomain> <878sjjt5cj.fsf@gmail.com> User-agent: mu4e 1.2.0; emacs 26.3 From: Mathieu Othacehe To: bug-guix@gnu.org Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts In-reply-to: <878sjjt5cj.fsf@gmail.com> Date: Mon, 30 Mar 2020 12:39:50 +0200 Message-ID: <877dz2p1mx.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::431 X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: submit Cc: 40273@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hey, > * Guile-newt functions "newt-set-help-callback" and > "add-component-callback" seem to be tripping over each other and I'm > having a hard time trying to understand why. Ok I found out why, it was the GC that was collecting the callback pointers. I fixed it in Guile-newt. Now I pushed a 'wip-installer-help' branch that implement this mechanism. I'm now able to switch the installer keyboard layout from any step. WDYT? Mathieu From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 30 06:44:54 2020 Received: (at 40273) by debbugs.gnu.org; 30 Mar 2020 10:44:54 +0000 Received: from localhost ([127.0.0.1]:32773 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIruY-0003P1-9Z for submit@debbugs.gnu.org; Mon, 30 Mar 2020 06:44:54 -0400 Received: from pelzflorian.de ([5.45.111.108]:39250 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIruW-0003Nx-J8 for 40273@debbugs.gnu.org; Mon, 30 Mar 2020 06:44:53 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 32531360566; Mon, 30 Mar 2020 12:44:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1585565091; bh=INqHRy9pDMtzYe2qLvscx8au5TJ8efSuoQKeN+0+Edg=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=EVqzGZgJjKrQdzoj+kRxsNiQO5nPGYCH9Z7t+bAKsuNfPmV8wXxAIBqlt2piKMc9T uA3XsztRp8LP7YhIQZ7KDv6/XEM2nVO28xHARCG9Kn0Yj2EMNDCfipDquaa+hJGGdo GvbWwrugz6ThSGrscYVp3XUHceFPKEeJac0Cq7Xo= Date: Mon, 30 Mar 2020 12:44:49 +0200 From: "pelzflorian (Florian Pelz)" To: Mathieu Othacehe Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts Message-ID: <20200330104449.ahyivwdn62g6jluw@pelzflorian.localdomain> References: <20200328134202.rgl6usllluoo2b2y@pelzflorian.localdomain> <87a740nu0u.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87a740nu0u.fsf@gmail.com> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40273 Cc: 40273@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Sat, Mar 28, 2020 at 08:45:05PM +0100, Mathieu Othacehe wrote: > Maybe we could add a help menu with key shortcut. From that > help menu, one could change the current keyboard layout from any > installation step? > Yes, that is definitely a good place, *but* now that I saw Debian, it would be good to additionally have a key combination. I think switching in an F1 help menu is more discoverable and having both would be good. >From what an Arab friend told me, they are used to a key combination (Alt+Shift if I remember correctly, as is Debian’s default; Debian makes the combination configurable). But I cannot figure out how to make loadkeys use a key combination; ckbcomp seems not to produce right results. In QEMU on the compatibility console I ran “sendkey ctrl-alt-f3“. I then tried: guix environment --ad-hoc console-setup #so I can run ckbcomp mkdir -p /usr/share/X11/ cd /usr/share/X11 ln -s $(guix build -S console-setup)/Keyboard/ckb xkb ckbcomp ar, -variant azerty, -option grp:toggle > ~/test loadkeys us #so I can switch back, I hoped, but it does not work loadkeys ~/test But now I can only type Arabic. Maybe it is because of QEMU. I tried changing the keyboard-layout in /etc/config.scm, but then I can no longer type my password. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 30 07:35:40 2020 Received: (at 40273) by debbugs.gnu.org; 30 Mar 2020 11:35:40 +0000 Received: from localhost ([127.0.0.1]:32806 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIshg-0006nb-69 for submit@debbugs.gnu.org; Mon, 30 Mar 2020 07:35:40 -0400 Received: from mail-wm1-f47.google.com ([209.85.128.47]:55326) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIshd-0006nM-1Z for 40273@debbugs.gnu.org; Mon, 30 Mar 2020 07:35:38 -0400 Received: by mail-wm1-f47.google.com with SMTP id r16so1722795wmg.5 for <40273@debbugs.gnu.org>; Mon, 30 Mar 2020 04:35:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=Y2CPoxiCzY2hyFMxdcNz0ApYPd43s9swGwTrD79HC9g=; b=E+L9SlpvL/xFyjbMQYdW9zGiQ3guM/49oedsSsXHioj/+chCkEiYMc+kXMvUf2N44i QOmS9Xn6mSfoXOhRIvsHW8AR9zrASVSR3VZO+ngYa7PXgSb5YsByhoGH+GN9Di1UA5TR 6cezwv7IgNYd6WOADCmxRQ+UrRmFU0UH3pfZ5pP0OOwWQEtoEUDuLVBKvyvEpwpEAHXf MtwsUAusO9DQYcBDYF+lOBbH9mMM997a1tAN3b0AEMh0D2H6Az6c2LgmOclxqSQAjD1+ JMdhVOeWMInlT4uMpCp63AvGMsN2GEask2EBoMcpm7crC5tOHm2FlBiQqQE75Wo/ILdh 87OQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-transfer-encoding; bh=Y2CPoxiCzY2hyFMxdcNz0ApYPd43s9swGwTrD79HC9g=; b=rUwY7e9BZy+crK4PIfyPEKaAQSU2I5CFn7J7OIwhgN1HtEUWUqTeV+zmPgHPZAgXPt 6WeT13j3OEhhe196wnU1kOBZZQt0AOP+3AfALFdFJJpziTZzAjwezdmIZ1MY/x/2gLY7 Iuei5BC5HFqUEusC6wV7R5osRZ54913nf02X8OWThAHz0qtZoRZyt/ejtE81DKegONuY 2lOTzF/4FcazPQURRIgxrI+3vBV92cVbK2nKcOy9jtsszGcLDhShyzKGQaR2ZinWInF+ g5ve0iIEalBpN0TcmX4SskkOEf01M5j5IT0BbDuX2SJw78uYyi6VT+67Xz/dcLH4/lRU VPpw== X-Gm-Message-State: ANhLgQ0K9nT9uCCLqH4prroVPqyqqWD9r4TLxwAEgJsaB1PZdftamZxR iRUU1WBpxkN9Vg7y9HMQVDXR3cnIcOU= X-Google-Smtp-Source: ADFU+vvbsl97fdr2tzMERwOkAZhrcl4E5WuBY3x0pN84hQ+PnRVehISLy16TjCSJqSj31vvilV/RLA== X-Received: by 2002:a1c:4b04:: with SMTP id y4mr12290879wma.28.1585568130935; Mon, 30 Mar 2020 04:35:30 -0700 (PDT) Received: from meru ([2a01:cb18:832e:5f00:90fb:6d6e:660b:2437]) by smtp.gmail.com with ESMTPSA id g127sm21653735wmf.10.2020.03.30.04.35.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 30 Mar 2020 04:35:30 -0700 (PDT) References: <20200328134202.rgl6usllluoo2b2y@pelzflorian.localdomain> <87a740nu0u.fsf@gmail.com> <20200330104449.ahyivwdn62g6jluw@pelzflorian.localdomain> User-agent: mu4e 1.2.0; emacs 26.3 From: Mathieu Othacehe To: "pelzflorian \(Florian Pelz\)" Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts In-reply-to: <20200330104449.ahyivwdn62g6jluw@pelzflorian.localdomain> Date: Mon, 30 Mar 2020 13:35:29 +0200 Message-ID: <875zemoz26.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40273 Cc: 40273@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) > Yes, that is definitely a good place, *but* now that I saw Debian, it > would be good to additionally have a key combination. I think > switching in an F1 help menu is more discoverable and having both > would be good. OK, noted. > From what an Arab friend told me, they are used to a key combination > (Alt+Shift if I remember correctly, as is Debian=E2=80=99s default; Debian > makes the combination configurable). But I cannot figure out how to > make loadkeys use a key combination; ckbcomp seems not to produce > right results. > > In QEMU on the compatibility console I ran =E2=80=9Csendkey ctrl-alt-f3= =E2=80=9C. I > then tried: > > guix environment --ad-hoc console-setup #so I can run ckbcomp > mkdir -p /usr/share/X11/ > cd /usr/share/X11 > ln -s $(guix build -S console-setup)/Keyboard/ckb xkb > ckbcomp ar, -variant azerty, -option grp:toggle > ~/test > loadkeys us #so I can switch back, I hoped, but it does not work > loadkeys ~/test In the installer, the keyboard layout is handled by KMSCON. It means that running setxkbmap or loadkeys commands won't help. As KMSCON only supports static keyboard layout setting at start time, I had to patch it dirty (see kmscon-runtime-keymap-switch.patch). With this patch, it is possible to write keyboard model, layout and variant to the file pointed by KEYMAP_UPDATE environment variable, and have the keyboard layout updated (see kmscon-update-keymap). Mathieu From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 30 08:39:21 2020 Received: (at 40273) by debbugs.gnu.org; 30 Mar 2020 12:39:21 +0000 Received: from localhost ([127.0.0.1]:32874 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIthI-00009W-Rb for submit@debbugs.gnu.org; Mon, 30 Mar 2020 08:39:21 -0400 Received: from pelzflorian.de ([5.45.111.108]:39432 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIthG-00009N-Ke for 40273@debbugs.gnu.org; Mon, 30 Mar 2020 08:39:19 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 8A6EB360566; Mon, 30 Mar 2020 14:39:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1585571957; bh=uIY6igD/6cqK8+VckVwnkopRZS6WtMy1QCJ+xw5/YCw=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=zi9R+ZxWqicFB2AzGLEniz+PUxPvvxFQ5fp5rCPxOo73pU6HycMp2fEXJ6AfcKUcu rNL9qaicRkFaYvozr8BZ/EWL9z76fzk8XzUPS3IDyo8I5gM3eo2/gSu8M7iXix+9oG wnPv2nIqwbcpEcMlBnC6uPMlO6lphqlvdu117P/M= Date: Mon, 30 Mar 2020 14:39:16 +0200 From: "pelzflorian (Florian Pelz)" To: Mathieu Othacehe Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts Message-ID: <20200330123916.qwpfyrt6vzluxrna@pelzflorian.localdomain> References: <20200328134202.rgl6usllluoo2b2y@pelzflorian.localdomain> <875zenyzh0.fsf@gnu.org> <20200329171609.puseiw4d4b6cxgd7@pelzflorian.localdomain> <878sjjt5cj.fsf@gmail.com> <877dz2p1mx.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <877dz2p1mx.fsf@gmail.com> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40273 Cc: 40273@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Mon, Mar 30, 2020 at 12:39:50PM +0200, Mathieu Othacehe wrote: > Now I pushed a 'wip-installer-help' branch that implement this > mechanism. I'm now able to switch the installer keyboard layout from any > step. > > WDYT? I like it. The switching also does not affect the generated config.scm. Thank you for all your work. Without being able to use a key combination, I ended up editing the config.scm with an Arabic layout though and cannot exit nano. Key combinations are needed in addition, I suppose. :) Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 30 13:11:21 2020 Received: (at 40273) by debbugs.gnu.org; 30 Mar 2020 17:11:21 +0000 Received: from localhost ([127.0.0.1]:34948 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIxwW-0003qG-Mj for submit@debbugs.gnu.org; Mon, 30 Mar 2020 13:11:20 -0400 Received: from pelzflorian.de ([5.45.111.108]:39880 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIxwS-0003q0-Ca for 40273@debbugs.gnu.org; Mon, 30 Mar 2020 13:11:19 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 011AB360566; Mon, 30 Mar 2020 19:11:14 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1585588275; bh=dEXja3ks1Hg0Zr0nxOV0s3C4H28pMGHC17ekYY0+N5U=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=inokNybllRpwXAMkJGCtAzW+j/EX+LYiK3ZXmvgDj33kn3qvYExLMf80bWjwXvJT5 EQC3gSCYJSAMQSWn4EAAR/K6icZjIdKwoOwd00oPyc2s0BvTkiwMH1xwAYBj3Oejy6 JsvqOhvKdAJhKuO9VVI5DlXdsdVrS2Oxt0gVSAM0= Date: Mon, 30 Mar 2020 19:11:13 +0200 From: "pelzflorian (Florian Pelz)" To: Mathieu Othacehe Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts Message-ID: <20200330171113.njx7wstlmace45xk@pelzflorian.localdomain> References: <20200328134202.rgl6usllluoo2b2y@pelzflorian.localdomain> <87a740nu0u.fsf@gmail.com> <20200330104449.ahyivwdn62g6jluw@pelzflorian.localdomain> <875zemoz26.fsf@gmail.com> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="qcoq6ijjbnuflpjv" Content-Disposition: inline In-Reply-To: <875zemoz26.fsf@gmail.com> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40273 Cc: 40273@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) --qcoq6ijjbnuflpjv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Mar 30, 2020 at 01:35:29PM +0200, Mathieu Othacehe wrote: > In the installer, the keyboard layout is handled by KMSCON. It means > that running setxkbmap or loadkeys commands won't help. As KMSCON only > supports static keyboard layout setting at start time, I had to patch it > dirty (see kmscon-runtime-keymap-switch.patch). With this patch, it is > possible to write keyboard model, layout and variant to the file pointed > by KEYMAP_UPDATE environment variable, and have the keyboard layout > updated (see kmscon-update-keymap). > > Mathieu Thank you for the information. The attached patch to Guix enables Alt+Shift toggling of the layout (it is too hacky, and it is always QWERTY layout!). But it is possible. Regards, Florian --qcoq6ijjbnuflpjv Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="kmscon-toggle-layout.patch" diff --git a/gnu/local.mk b/gnu/local.mk index 26eb8f7b09..6c50d2d352 100644 --- a/gnu/local.mk +++ b/gnu/local.mk @@ -1074,6 +1074,7 @@ dist_patch_DATA = \ %D%/packages/patches/kio-search-smbd-on-PATH.patch \ %D%/packages/patches/kmail-Fix-missing-link-libraries.patch \ %D%/packages/patches/kmod-module-directory.patch \ + %D%/packages/patches/kmscon-test.patch \ %D%/packages/patches/kmscon-runtime-keymap-switch.patch \ %D%/packages/patches/kpackage-allow-external-paths.patch \ %D%/packages/patches/kmplayer-aarch64.patch \ diff --git a/gnu/packages/patches/kmscon-test.patch b/gnu/packages/patches/kmscon-test.patch new file mode 100644 index 0000000000..aeeebe3c09 --- /dev/null +++ b/gnu/packages/patches/kmscon-test.patch @@ -0,0 +1,15 @@ +diff -ur a/src/uterm_input_uxkb.c b/src/uterm_input_uxkb.c +--- a/src/uterm_input_uxkb.c 1970-01-01 01:00:00.000000000 +0100 ++++ b/src/uterm_input_uxkb.c 2020-03-30 18:27:40.880000000 +0200 +@@ -215,7 +215,10 @@ + + llog_info(dev->input, "HANDLER CALLED %s|%s|%s\n", + model, layout, variant); +- uxkb_desc_init(dev->input, model, layout, variant, NULL, NULL); ++ int end_of_layout; ++ for (end_of_layout=0; layout[end_of_layout]; end_of_layout++); ++ memcpy (layout+end_of_layout, (void *)",us", 4); ++ uxkb_desc_init(dev->input, model, layout, variant, "grp:alt_shift_toggle", NULL); + + dev->state = xkb_state_new(dev->input->keymap); + if (!dev->state) { diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm index 9cb004e36a..9af293ab6d 100644 --- a/gnu/packages/terminals.scm +++ b/gnu/packages/terminals.scm @@ -272,7 +272,7 @@ compatibility to existing emulators like xterm, gnome-terminal, konsole, etc.") (base32 "0q62kjsvy2iwy8adfiygx2bfwlh83rphgxbis95ycspqidg9py87")) (patches - (search-patches "kmscon-runtime-keymap-switch.patch")) + (search-patches "kmscon-runtime-keymap-switch.patch" "kmscon-test.patch")) (modules '((guix build utils))) (file-name (git-file-name name version)))) (build-system gnu-build-system) --qcoq6ijjbnuflpjv-- From debbugs-submit-bounces@debbugs.gnu.org Mon Mar 30 13:31:16 2020 Received: (at 40273) by debbugs.gnu.org; 30 Mar 2020 17:31:16 +0000 Received: from localhost ([127.0.0.1]:34987 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIyFo-0004Rk-MR for submit@debbugs.gnu.org; Mon, 30 Mar 2020 13:31:16 -0400 Received: from pelzflorian.de ([5.45.111.108]:39908 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jIyFm-0004RW-Nm for 40273@debbugs.gnu.org; Mon, 30 Mar 2020 13:31:15 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 5DCD6360566; Mon, 30 Mar 2020 19:31:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1585589473; bh=tGJC6XQl8MqYLxhXBU5lfwQj3ennE3IqBt5VHybWn7o=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=tNB6lgm1gqpu/5lS+H8vhrxepeqjeNDzysnEWfK1XpS8xnAKzgpU+FRR4O7t1Ei8O EdOpnK+32d96oHaetA/ZC1eCEnb08XEZoZg3TKNA3tmlIw0mR1lmD7Gmn6uP0AgzAP 71kHUCG1pTeeBjtZhwmQzj6+YNfDsOYaP9PvHtS0= Date: Mon, 30 Mar 2020 19:31:12 +0200 From: "pelzflorian (Florian Pelz)" To: Mathieu Othacehe Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts Message-ID: <20200330173112.u242ipx36fbmeuzk@pelzflorian.localdomain> References: <20200328134202.rgl6usllluoo2b2y@pelzflorian.localdomain> <87a740nu0u.fsf@gmail.com> <20200330104449.ahyivwdn62g6jluw@pelzflorian.localdomain> <875zemoz26.fsf@gmail.com> <20200330171113.njx7wstlmace45xk@pelzflorian.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200330171113.njx7wstlmace45xk@pelzflorian.localdomain> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40273 Cc: 40273@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Mon, Mar 30, 2020 at 07:11:13PM +0200, pelzflorian (Florian Pelz) wrote: > The attached patch to Guix enables > Alt+Shift toggling of the layout (it is too hacky, and it is always > QWERTY layout!). But it is possible. Please someone else decide on the right approach. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 31 11:28:57 2020 Received: (at submit) by debbugs.gnu.org; 31 Mar 2020 15:28:57 +0000 Received: from localhost ([127.0.0.1]:36823 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJIox-0007WC-JF for submit@debbugs.gnu.org; Tue, 31 Mar 2020 11:28:56 -0400 Received: from lists.gnu.org ([209.51.188.17]:57029) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJIou-0007W3-9L for submit@debbugs.gnu.org; Tue, 31 Mar 2020 11:28:52 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:33887) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJIor-0002LU-Tm for bug-guix@gnu.org; Tue, 31 Mar 2020 11:28:51 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40719) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jJIor-0002uE-Ia; Tue, 31 Mar 2020 11:28:49 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=49930 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jJIoo-00007O-7L; Tue, 31 Mar 2020 11:28:47 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Mathieu Othacehe Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts References: <20200328134202.rgl6usllluoo2b2y@pelzflorian.localdomain> <875zenyzh0.fsf@gnu.org> <20200329171609.puseiw4d4b6cxgd7@pelzflorian.localdomain> <878sjjt5cj.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 12 Germinal an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 31 Mar 2020 17:28:44 +0200 In-Reply-To: <878sjjt5cj.fsf@gmail.com> (Mathieu Othacehe's message of "Sun, 29 Mar 2020 19:53:48 +0200") Message-ID: <87a73wv903.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: submit Cc: 40273@debbugs.gnu.org, bug-guix@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi! Mathieu Othacehe skribis: > * Shepherd is using /dev/console as an output and some messages are > polluting the help line displayed at the bottom of the screen. I'm not > sure how to solve it. > > Shepherd could poll /dev/log so that once syslog is available it stops > using /dev/console. That=E2=80=99s exactly what it does, see (shepherd comm). Perhaps we just need to have the installer service depend on =E2=80=98syslo= gd=E2=80=99, at which point nothing goes to /dev/console? Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 31 11:29:47 2020 Received: (at 40273) by debbugs.gnu.org; 31 Mar 2020 15:29:47 +0000 Received: from localhost ([127.0.0.1]:36831 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJIpn-0007Y3-4d for submit@debbugs.gnu.org; Tue, 31 Mar 2020 11:29:47 -0400 Received: from eggs.gnu.org ([209.51.188.92]:47171) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJIpk-0007Xm-6U for 40273@debbugs.gnu.org; Tue, 31 Mar 2020 11:29:44 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40762) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jJIpf-0003GY-2B; Tue, 31 Mar 2020 11:29:39 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=49932 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jJIpc-0000ZZ-SM; Tue, 31 Mar 2020 11:29:37 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Mathieu Othacehe Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts References: <20200328134202.rgl6usllluoo2b2y@pelzflorian.localdomain> <875zenyzh0.fsf@gnu.org> <20200329171609.puseiw4d4b6cxgd7@pelzflorian.localdomain> <878sjjt5cj.fsf@gmail.com> <877dz2p1mx.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 12 Germinal an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 31 Mar 2020 17:29:35 +0200 In-Reply-To: <877dz2p1mx.fsf@gmail.com> (Mathieu Othacehe's message of "Mon, 30 Mar 2020 12:39:50 +0200") Message-ID: <875zekv8yo.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40273 Cc: 40273@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi, Mathieu Othacehe skribis: >> * Guile-newt functions "newt-set-help-callback" and >> "add-component-callback" seem to be tripping over each other and I'm >> having a hard time trying to understand why. > > Ok I found out why, it was the GC that was collecting the callback > pointers. I fixed it in Guile-newt. Ouch. Are there possible other such issues lurking? > Now I pushed a 'wip-installer-help' branch that implement this > mechanism. I'm now able to switch the installer keyboard layout from any > step. Woohoo, awesome! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 31 11:35:53 2020 Received: (at 40273) by debbugs.gnu.org; 31 Mar 2020 15:35:53 +0000 Received: from localhost ([127.0.0.1]:36835 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJIvg-0007jG-T4 for submit@debbugs.gnu.org; Tue, 31 Mar 2020 11:35:53 -0400 Received: from eggs.gnu.org ([209.51.188.92]:48154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJIve-0007j4-Lp for 40273@debbugs.gnu.org; Tue, 31 Mar 2020 11:35:51 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:40895) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jJIvZ-00069t-0K; Tue, 31 Mar 2020 11:35:45 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=49942 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jJIvY-0001wv-3r; Tue, 31 Mar 2020 11:35:44 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "pelzflorian \(Florian Pelz\)" Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts References: <20200328134202.rgl6usllluoo2b2y@pelzflorian.localdomain> <87a740nu0u.fsf@gmail.com> <20200330104449.ahyivwdn62g6jluw@pelzflorian.localdomain> <875zemoz26.fsf@gmail.com> <20200330171113.njx7wstlmace45xk@pelzflorian.localdomain> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 12 Germinal an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 31 Mar 2020 17:35:41 +0200 In-Reply-To: <20200330171113.njx7wstlmace45xk@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Mon, 30 Mar 2020 19:11:13 +0200") Message-ID: <871rp8v8oi.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40273 Cc: 40273@debbugs.gnu.org, Mathieu Othacehe X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi, "pelzflorian (Florian Pelz)" skribis: > On Mon, Mar 30, 2020 at 01:35:29PM +0200, Mathieu Othacehe wrote: >> In the installer, the keyboard layout is handled by KMSCON. It means >> that running setxkbmap or loadkeys commands won't help. As KMSCON only >> supports static keyboard layout setting at start time, I had to patch it >> dirty (see kmscon-runtime-keymap-switch.patch). With this patch, it is >> possible to write keyboard model, layout and variant to the file pointed >> by KEYMAP_UPDATE environment variable, and have the keyboard layout >> updated (see kmscon-update-keymap). >>=20 >> Mathieu > > Thank you for the information. The attached patch to Guix enables > Alt+Shift toggling of the layout (it is too hacky, and it is always > QWERTY layout!). But it is possible. I think we can have both Alt-Shift and what Mathieu implemented, no? However, note that the installed system won=E2=80=99t have Alt-Shift suppor= t, and perhaps that is a bigger concern. OTOH, we=E2=80=99re just using the standard XKB layouts, so if they don=E2= =80=99t provide Alt-Shift, well, perhaps that=E2=80=99s because this is the way it= =E2=80=99s got to be? > ++ int end_of_layout; > ++ for (end_of_layout=3D0; layout[end_of_layout]; end_of_layout++); > ++ memcpy (layout+end_of_layout, (void *)",us", 4); I think that could be: layout =3D strcat (layout, ",us"); Provided =E2=80=98layout=E2=80=99 points to a large-enough array. > ++ uxkb_desc_init(dev->input, model, layout, variant, "grp:alt_shift_togg= le", NULL); Is =E2=80=9Cgrp:alt_shift_toggle=E2=80=9D guaranteed to be available, no wh= at what =E2=80=98layout=E2=80=99 is? Also, that means Alt-Shift is enabled for all layouts, not just the non-Latin layouts, right? Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Mar 31 12:56:06 2020 Received: (at 40273) by debbugs.gnu.org; 31 Mar 2020 16:56:06 +0000 Received: from localhost ([127.0.0.1]:36932 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJKBK-0003aW-1o for submit@debbugs.gnu.org; Tue, 31 Mar 2020 12:56:06 -0400 Received: from pelzflorian.de ([5.45.111.108]:42104 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJKBF-0003a3-Th for 40273@debbugs.gnu.org; Tue, 31 Mar 2020 12:56:03 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 88A9D360566; Tue, 31 Mar 2020 18:56:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1585673760; bh=eIIgocAE2Jx+rYyxkDyJxPuPp/eprBd+K+VWWboboww=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=Ov/Eh3MYixjgBZ1hr8nGl1jNj8xAVmk5ad/cVLlC3szzsmF2w6qceenvVJ/EPFI+f HzNQ73k3jwOnBzIb4d4sC4tJb2hFKNPWVTjVqeUkUF2DQvvpxMgxvuV2sAFB9t7yWj bfAubk0YzTwgfzX2DVzmaYXJ/6GpvYL8dfVow5t4= Date: Tue, 31 Mar 2020 18:55:59 +0200 From: "pelzflorian (Florian Pelz)" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts Message-ID: <20200331165559.6yfowbvtuoth6vdw@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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <871rp8v8oi.fsf@gnu.org> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40273 Cc: 40273@debbugs.gnu.org, Mathieu Othacehe X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Tue, Mar 31, 2020 at 05:35:41PM +0200, Ludovic Courtès wrote: > I think we can have both Alt-Shift and what Mathieu implemented, no? > Yes, both would be best, what Mathieu implemented is more discoverable. > However, note that the installed system won’t have Alt-Shift support, > and perhaps that is a bigger concern. Yes. guix build -S console-setup sudo mkdir -p /usr/share/X11 cd /usr/share/X11 sudo ln -s /gnu/store/fabcbhjh4g5fmm39fmkjjhiplqwrg0n8-console-setup-1.194-checkout/Keyboard/ckb xkb ckbcomp ar,fr -variant azerty, -option grp:alt_shift_toggle > ~/test sudo loadkeys ~/test works, but I have no idea how to turn that into a keyboard-layout. I tried setting in /etc/config.scm (keyboard-layout (keyboard-layout "ar,fr" "azerty" #:options '("grp:alt_shift_toggle"))) but it threw an error. > OTOH, we’re just using the standard XKB layouts, so if they don’t > provide Alt-Shift, well, perhaps that’s because this is the way it’s got > to be? I did not know back then, but it does work. In dconf-editor, I can set org.gnome.desktop.input-sources to ['grp:alt_shift_toggle']. It switches between all configured layouts in GNOME. > Is “grp:alt_shift_toggle” guaranteed to be available, no what what > ‘layout’ is? > > Also, that means Alt-Shift is enabled for all layouts, not just the > non-Latin layouts, right? Yes, with the patch I can toggle any layout to US layout and back. I believe we would need a map from each layout to whether it should be QWERTY, AZERTY, QWERTZ … Or we would just use QWERTY. What do you think is the right path forward? Thank you. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 01 08:49:13 2020 Received: (at 40273) by debbugs.gnu.org; 1 Apr 2020 12:49:13 +0000 Received: from localhost ([127.0.0.1]:37537 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJcnx-000794-Cq for submit@debbugs.gnu.org; Wed, 01 Apr 2020 08:49:13 -0400 Received: from mail-wr1-f43.google.com ([209.85.221.43]:40562) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJcnv-00078a-BK for 40273@debbugs.gnu.org; Wed, 01 Apr 2020 08:49:11 -0400 Received: by mail-wr1-f43.google.com with SMTP id u10so30397157wro.7 for <40273@debbugs.gnu.org>; Wed, 01 Apr 2020 05:49:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version; bh=CsYwZhIIhT8FFRhHKfc+PCiElWdaD3dK7BpBQZHMhY0=; b=nMGvyLq80InO3ZAvgumWAX5EVyuoJW1DpycokToAzL1F7PB/5zT+JCUgMPJ7kc/hv6 BtrTnWGD8WrGZinGR7SmUNcw2YmgVc8cNsXgSJCl5201NcLyZ/9P5gXLaZYvjTDm3Upv xJR0d0oSCTAiyXTAZk72SMV1yfHozaMo17vlGLnNxHKwGmHWmjCk2K3DobGWV3rBzSvj 2Zyw5dP/vuV/RRVVddtJSv/AQQjEk4RmcPzTRjA2YuEOu2OeYYIyWoK7ZjEfUnRj4AXq SajE6KsWgy8zeseuQK4m9vNCAJIEFkMj/+dkvE3TX+GnmTHc0WU5Q501Wbl/XwEa2xOT A1oQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version; bh=CsYwZhIIhT8FFRhHKfc+PCiElWdaD3dK7BpBQZHMhY0=; b=nYCaBt9gt+h02Yf/g+Rp6o/q7PugSq4eUDmC7IBRy602Djwn980Z2+I0PDI51FCevn k6WNykf4apzNncRbbC79oc/eBlocqzxafR4ZNs4tfZUEFHABbdzNTIvcXNSXj17y5+Uj ZOyYn3qmDmtFTSYe2m4yk1vagXj7kqYfe4Uvbad0AaRcN50r7abN1JxSWaN1rV5CWTrL b5sJr6D0M6EpVMdmR6RBZBt5kU8MOOWkoWIMSBVnUk9i4Df8Fya8S3pSTeRiQCNJTBRP smhzPLG3EsVo8aj8J9btcSzzkrSxL23wBFW99ycKF8/fG092HVsUape9DiZrio4s6K/V Hqxw== X-Gm-Message-State: AGi0PuYST3wdLJqdGHvWkDlc0IZpVsItmUiiHOINX8IDIbpieOIkUYGI izxCq43C7PzoAZPcjtkusqVRn3v/Zzs= X-Google-Smtp-Source: APiQypKM6MhZY6ksZtmrhDJ7ZJ8OUg2tPAJKo8Whefi3+zIw2jUr6TQiFm+0uCGPsjF3FPMUV9NSPg== X-Received: by 2002:a5d:548b:: with SMTP id h11mr4394469wrv.28.1585745345207; Wed, 01 Apr 2020 05:49:05 -0700 (PDT) Received: from meru ([2a01:cb18:832e:5f00:75c3:1709:597b:7112]) by smtp.gmail.com with ESMTPSA id h26sm2501101wmb.19.2020.04.01.05.49.04 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Apr 2020 05:49:04 -0700 (PDT) References: <20200328134202.rgl6usllluoo2b2y@pelzflorian.localdomain> <875zenyzh0.fsf@gnu.org> <20200329171609.puseiw4d4b6cxgd7@pelzflorian.localdomain> <878sjjt5cj.fsf@gmail.com> <877dz2p1mx.fsf@gmail.com> <875zekv8yo.fsf@gnu.org> User-agent: mu4e 1.2.0; emacs 26.3 From: Mathieu Othacehe To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts In-reply-to: <875zekv8yo.fsf@gnu.org> Date: Wed, 01 Apr 2020 14:49:03 +0200 Message-ID: <87mu7vcqww.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40273 Cc: 40273@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Hello Ludo, > Ouch. Are there possible other such issues lurking? The problem occurs when using `procedure->pointer' and passing the returned pointer to a C library that stores it globally. Because, in that case the pointer can be collected from the Guile side and used later-on from the C side. I fixed the two problematic patterns in Guile-Newt. Guile-Git seems to be safe, but there might be an issue with Guile-Parted in `exception-set-handler' method. I will investigate it. > >> Now I pushed a 'wip-installer-help' branch that implement this >> mechanism. I'm now able to switch the installer keyboard layout from any >> step. > > Woohoo, awesome! Thanks :) Mathieu From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 01 08:52:25 2020 Received: (at submit) by debbugs.gnu.org; 1 Apr 2020 12:52:25 +0000 Received: from localhost ([127.0.0.1]:37547 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJcr3-0007Ku-0e for submit@debbugs.gnu.org; Wed, 01 Apr 2020 08:52:25 -0400 Received: from lists.gnu.org ([209.51.188.17]:43586) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJcr1-0007Ki-Cs for submit@debbugs.gnu.org; Wed, 01 Apr 2020 08:52:23 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59203) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJcr0-0005JC-8q for bug-guix@gnu.org; Wed, 01 Apr 2020 08:52:23 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_40,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jJcqz-0005Sb-8p for bug-guix@gnu.org; Wed, 01 Apr 2020 08:52:22 -0400 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:38244) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jJcqz-0005S7-0n; Wed, 01 Apr 2020 08:52:21 -0400 Received: by mail-wm1-x32f.google.com with SMTP id f6so7043061wmj.3; Wed, 01 Apr 2020 05:52:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=/1DoBraTg8aAzwB8nhA3a11Usot9zrZJ+o6pUx1P6tc=; b=bfG+frmBP5h4cWf7q6KVgDhbmE7BKNo+Ku89BYwk1pUjUUo7nSLFJ9cnfk0+36LYgh RbYoN7gctgkAmd7+Sy0BRUzfvL8a7hjfx5vbkwXoPafR8rUCsYs6LmL47/UfH0Kv4NnA RS1a6ZST57YPm4XATy6GUuWnVJi43I6dzxwat1pdOWDnf+iVswhV0OTL4KKUJVcU3fMC M9GmTfefBIA8HAIjUexClYsaKTXIYiy3QyIuCNL36iErEaOC2ZfezNd9mTPFIlPBh6/O Zsz8fkXqEmSgPFEnaFHEqFJuZ2D7E8GKTWAeRKubpxVOjbsgGl+vKFhyWPpXy5aEdujt ydDw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-transfer-encoding; bh=/1DoBraTg8aAzwB8nhA3a11Usot9zrZJ+o6pUx1P6tc=; b=BBNli/rjWLtRO8LFhf9QYxZEcfd9jGDRkgvq5fggE+2QvjX5tKXNGaMkhLxvjiJSTC TJAOYxvu87TpsvsK+xTw/XO+RP7JMD730zRP5ejGq4ixmkNBeL5hoUbasLAIgktEdTgN ExW+pdcFJ9kSgJ+nTBEeswx/Li3hTjxFXFntJwf8ov463E1Mz5xjGocJJnUdnoaE2Qiz SXuYzXpw/RUWmPVbPDgpewestUQ7ixkPFtn2DOPsv+S6UGxy5bV54PgeChx2yuaIoUMn rbHWFezkKSbrIZv61thg8Q9c3a/PYEeYuMMe7EemT+SiYjS4U7fQsHxhAQIBSNBs4DNS 9GtA== X-Gm-Message-State: AGi0PuZDtOsgGUCBwWH8HmPK1Snz9BIJ64jZBGhVIiO1JepDOjXnc+vG 3XbpjPLmg9dPKr79dddbO2Q= X-Google-Smtp-Source: APiQypLm4+z0QejdyNh5MM/RuCsMuiH9+eus+hsJ3J6i6ZCrpmziEU/LjjDFp5lPCjL+7CM/P8sF1w== X-Received: by 2002:a1c:a9ca:: with SMTP id s193mr243317wme.177.1585745539884; Wed, 01 Apr 2020 05:52:19 -0700 (PDT) Received: from meru ([2a01:cb18:832e:5f00:75c3:1709:597b:7112]) by smtp.gmail.com with ESMTPSA id a16sm2456463wmm.20.2020.04.01.05.52.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Apr 2020 05:52:19 -0700 (PDT) References: <20200328134202.rgl6usllluoo2b2y@pelzflorian.localdomain> <875zenyzh0.fsf@gnu.org> <20200329171609.puseiw4d4b6cxgd7@pelzflorian.localdomain> <878sjjt5cj.fsf@gmail.com> <87a73wv903.fsf@gnu.org> User-agent: mu4e 1.2.0; emacs 26.3 From: Mathieu Othacehe To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts In-reply-to: <87a73wv903.fsf@gnu.org> Date: Wed, 01 Apr 2020 14:52:18 +0200 Message-ID: <87lfnfcqrh.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::32f X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: submit Cc: 40273@debbugs.gnu.org, bug-guix@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hey, > That=E2=80=99s exactly what it does, see (shepherd comm). > > Perhaps we just need to have the installer service depend on =E2=80=98sys= logd=E2=80=99, > at which point nothing goes to /dev/console? Heh, I read it too fast, sorry :) The issue was in fact that we are calling `start-service' and `stop-service' from `apply-locale' in (gnu installer), and printing shepherd messages to shepherd-message-port which is stderr by default. Fixed on wip-installer-help. Thanks, Mathieu From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 01 16:33:38 2020 Received: (at 40273) by debbugs.gnu.org; 1 Apr 2020 20:33:38 +0000 Received: from localhost ([127.0.0.1]:38727 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJk3O-0000nE-4a for submit@debbugs.gnu.org; Wed, 01 Apr 2020 16:33:38 -0400 Received: from imta-37.everyone.net ([216.200.145.37]:47966 helo=imta-38.everyone.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJk3M-0000n4-4u for 40273@debbugs.gnu.org; Wed, 01 Apr 2020 16:33:36 -0400 Received: from pps.filterd (m0004962.ppops.net [127.0.0.1]) by imta-38.everyone.net (8.16.0.27/8.16.0.27) with SMTP id 031KPdMo032024; Wed, 1 Apr 2020 13:33:34 -0700 X-Eon-Originating-Account: FevyOEKhuRoxN7kDvoZvBHc4cQgpvn7ySVWuGjlT1l8 X-Eon-Dm: m0116293.ppops.net Received: by m0116293.mta.everyone.net (EON-AUTHRELAY2 - 53b92dab) id m0116293.5e67f91c.1fb9a8; Wed, 1 Apr 2020 13:33:29 -0700 X-Eon-Sig: AQMHrIJehPqZ/bCyEQIAAAAD,2de08762b906c5f8f076d775928536d2 X-Eip: SSZjNdtxRQloFAcjxeDJfMAid-7tPK6Eupc0RJDF32M Date: Wed, 1 Apr 2020 22:33:18 +0200 From: Bengt Richter To: "pelzflorian (Florian Pelz)" Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts Message-ID: <20200401203318.GA6142@LionPure> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200331165559.6yfowbvtuoth6vdw@pelzflorian.localdomain> User-Agent: Mutt/1.10.1 (2018-07-13) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.676 definitions=2020-04-01_04:2020-03-31, 2020-04-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1034 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2002250000 definitions=main-2004010169 X-Spam-Score: -0.5 (/) X-Debbugs-Envelope-To: 40273 Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , 40273@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bengt Richter Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.4 (-) Hi Florian, On +2020-03-31 18:55:59 +0200, pelzflorian (Florian Pelz) wrote: > On Tue, Mar 31, 2020 at 05:35:41PM +0200, Ludovic Courtès wrote: > > I think we can have both Alt-Shift and what Mathieu implemented, no? > > > > Yes, both would be best, what Mathieu implemented is more > discoverable. > > > However, note that the installed system won’t have Alt-Shift support, > > and perhaps that is a bigger concern. > > Yes. > > guix build -S console-setup > sudo mkdir -p /usr/share/X11 > cd /usr/share/X11 > sudo ln -s /gnu/store/fabcbhjh4g5fmm39fmkjjhiplqwrg0n8-console-setup-1.194-checkout/Keyboard/ckb xkb > ckbcomp ar,fr -variant azerty, -option grp:alt_shift_toggle > ~/test > sudo loadkeys ~/test > > works, but I have no idea how to turn that into a keyboard-layout. > I tried setting in /etc/config.scm > > (keyboard-layout > (keyboard-layout "ar,fr" "azerty" #:options '("grp:alt_shift_toggle"))) > > but it threw an error. > > > OTOH, we’re just using the standard XKB layouts, so if they don’t > > provide Alt-Shift, well, perhaps that’s because this is the way it’s got > > to be? > > I did not know back then, but it does work. In dconf-editor, I can > set org.gnome.desktop.input-sources to ['grp:alt_shift_toggle']. It > switches between all configured layouts in GNOME. > > > Is “grp:alt_shift_toggle” guaranteed to be available, no what what > > ‘layout’ is? > > > > Also, that means Alt-Shift is enabled for all layouts, not just the > > non-Latin layouts, right? > > Yes, with the patch I can toggle any layout to US layout and back. > Have you looked at man vconsole.conf http://man7.org/linux/man-pages/man5/vconsole.conf.5.html Could this be helpful? https://unix.stackexchange.com/q/57085 Also this has more extensive info on creating/modifying keymaps and getting systemd to get them going: https://wiki.archlinux.org/index.php/Linux_console/Keyboard_configuration 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--- > I believe we would need a map from each layout to whether it should be > QWERTY, AZERTY, QWERTZ … Or we would just use QWERTY. > > What do you think is the right path forward? Do the right thing :) > > Thank you. > > Regards, > Florian > -- Regards, Bengt Richter From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 02 02:24:13 2020 Received: (at 40273) by debbugs.gnu.org; 2 Apr 2020 06:24:14 +0000 Received: from localhost ([127.0.0.1]:39033 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJtGv-0001tb-Nk for submit@debbugs.gnu.org; Thu, 02 Apr 2020 02:24:13 -0400 Received: from pelzflorian.de ([5.45.111.108]:44724 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJtGu-0001tL-7V for 40273@debbugs.gnu.org; Thu, 02 Apr 2020 02:24:12 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id F0B82360566; Thu, 2 Apr 2020 08:24:09 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1585808650; bh=zLmDlTUti19tM6QuQSNqYIRDCBc33UyNCjpKrzNg6AM=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=LVJrqSuNuobMZZ6KcmTTeJ4CllzBGg4xl2S9qvyouxVDDKjoRpSX4U01Tj2DHswej 9UoicBXdlI3KQ+KOICrWK8NGuWyZ2T4k5C4/5CS3Y++TnlrX/rFVao3ZOFuOwCfA5d ruyjfuqJPY01x9uiI3EdABR/ZNBmte5l/Lzr35bY= Date: Thu, 2 Apr 2020 08:24:08 +0200 From: "pelzflorian (Florian Pelz)" To: Bengt Richter Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts 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 Content-Disposition: inline In-Reply-To: <20200401203318.GA6142@LionPure> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40273 Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , 40273@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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 From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 02 05:45:12 2020 Received: (at 40273) by debbugs.gnu.org; 2 Apr 2020 09:45:12 +0000 Received: from localhost ([127.0.0.1]:39217 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJwPQ-0004XM-4z for submit@debbugs.gnu.org; Thu, 02 Apr 2020 05:45:12 -0400 Received: from eggs.gnu.org ([209.51.188.92]:42167) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJwPO-0004Wk-6M for 40273@debbugs.gnu.org; Thu, 02 Apr 2020 05:45:10 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53054) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jJwPI-0007f1-JL; Thu, 02 Apr 2020 05:45:04 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=43136 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jJwPH-0002Up-9a; Thu, 02 Apr 2020 05:45:03 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "pelzflorian \(Florian Pelz\)" Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts 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> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 14 Germinal an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 02 Apr 2020 11:45:01 +0200 In-Reply-To: <20200331165559.6yfowbvtuoth6vdw@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Tue, 31 Mar 2020 18:55:59 +0200") Message-ID: <87k12yql0i.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40273 Cc: 40273@debbugs.gnu.org, Mathieu Othacehe X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hello Florian, "pelzflorian (Florian Pelz)" skribis: > works, but I have no idea how to turn that into a keyboard-layout. > I tried setting in /etc/config.scm > > (keyboard-layout > (keyboard-layout "ar,fr" "azerty" #:options '("grp:alt_shift_toggle"))) > > but it threw an error. The attached patch fixes that. I=E2=80=99ve confirmed that it works as int= ended in Xorg and in the console (I=E2=80=99m not sure it works in GDM, but it definitely works in an xterm in ratpoison, for instance.) I was wondering whether to push the patch as-is or to require people to write: (keyboard-layout '("ar" "fr") =E2=80=A6) instead. Maybe it=E2=80=99s OK to leave the comma here. However, I noticed that this doesn=E2=80=99t work in GRUB. Actually, even (keyboard-layout "fr") doesn=E2=80=99t work in GRUB (at the command line af= ter the boot menu), which seems like a regression. Thanks, Ludo=E2=80=99. --=-=-= Content-Type: text/x-patch; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable diff --git a/gnu/bootloader/grub.scm b/gnu/bootloader/grub.scm index 28e6cb1f5f..190b717163 100644 --- a/gnu/bootloader/grub.scm +++ b/gnu/bootloader/grub.scm @@ -240,7 +240,11 @@ the 'share/X11/xkb/symbols/' directory of 'xkeyboard-c= onfig'." "-i" #+(keyboard-layout->console-keymap layout) "-o" #$output)))) =20 - (computed-file (string-append "grub-keymap." (keyboard-layout-name layou= t)) + (computed-file (string-append "grub-keymap." + (string-map (match-lambda + (#\, #\-) + (chr chr)) + (keyboard-layout-name layout))) builder)) =20 (define (grub-setup-io config) diff --git a/gnu/system/keyboard.scm b/gnu/system/keyboard.scm index cd3ab37b27..5bd13a44be 100644 --- a/gnu/system/keyboard.scm +++ b/gnu/system/keyboard.scm @@ -1,5 +1,5 @@ ;;; GNU Guix --- Functional package management for GNU -;;; Copyright =C2=A9 2019 Ludovic Court=C3=A8s +;;; Copyright =C2=A9 2019, 2020 Ludovic Court=C3=A8s ;;; ;;; This file is part of GNU Guix. ;;; @@ -94,5 +94,8 @@ Layout information is taken from the XKEYBOARD-CONFIG pac= kage." #$(keyboard-layout-name layout)))))) =20 (computed-file (string-append "console-keymap." - (keyboard-layout-name layout)) + (string-map (match-lambda + (#\, #\-) + (chr chr)) + (keyboard-layout-name layout))) build)) --=-=-=-- From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 02 06:26:05 2020 Received: (at submit) by debbugs.gnu.org; 2 Apr 2020 10:26:05 +0000 Received: from localhost ([127.0.0.1]:39228 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJx2y-0006ov-Ur for submit@debbugs.gnu.org; Thu, 02 Apr 2020 06:26:05 -0400 Received: from lists.gnu.org ([209.51.188.17]:56085) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJx2v-0006oO-Cb for submit@debbugs.gnu.org; Thu, 02 Apr 2020 06:26:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37696) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJx2u-0001EW-EV for bug-guix@gnu.org; Thu, 02 Apr 2020 06:26:01 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:470:142:3::e]:53533) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jJx2t-0007S0-Pj; Thu, 02 Apr 2020 06:25:59 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=43152 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jJx2Y-0007hD-Ts; Thu, 02 Apr 2020 06:25:49 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Mathieu Othacehe Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts References: <20200328134202.rgl6usllluoo2b2y@pelzflorian.localdomain> <875zenyzh0.fsf@gnu.org> <20200329171609.puseiw4d4b6cxgd7@pelzflorian.localdomain> <878sjjt5cj.fsf@gmail.com> <87a73wv903.fsf@gnu.org> <87lfnfcqrh.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 14 Germinal an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Thu, 02 Apr 2020 12:25:37 +0200 In-Reply-To: <87lfnfcqrh.fsf@gmail.com> (Mathieu Othacehe's message of "Wed, 01 Apr 2020 14:52:18 +0200") Message-ID: <87zhbup4ke.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: submit Cc: 40273@debbugs.gnu.org, bug-guix@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi, Mathieu Othacehe skribis: >> That=E2=80=99s exactly what it does, see (shepherd comm). >> >> Perhaps we just need to have the installer service depend on =E2=80=98sy= slogd=E2=80=99, >> at which point nothing goes to /dev/console? > > Heh, I read it too fast, sorry :) The issue was in fact that we are > calling `start-service' and `stop-service' from `apply-locale' in (gnu > installer), and printing shepherd messages to shepherd-message-port > which is stderr by default. > > Fixed on wip-installer-help. Awesome. Do you think that branch is ready for a merge? Or did you want to further discuss some of the changes? Florian seemed to agree that it=E2=80= =99s a good thing. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 02 07:41:03 2020 Received: (at submit) by debbugs.gnu.org; 2 Apr 2020 11:41:03 +0000 Received: from localhost ([127.0.0.1]:39314 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJyDX-0004ed-4M for submit@debbugs.gnu.org; Thu, 02 Apr 2020 07:41:03 -0400 Received: from lists.gnu.org ([209.51.188.17]:47389) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jJyDV-0004e7-08 for submit@debbugs.gnu.org; Thu, 02 Apr 2020 07:41:01 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51824) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jJyDT-0007me-R0 for bug-guix@gnu.org; Thu, 02 Apr 2020 07:41:00 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jJyDS-0007vR-Qh for bug-guix@gnu.org; Thu, 02 Apr 2020 07:40:59 -0400 Received: from mail-wm1-x335.google.com ([2a00:1450:4864:20::335]:56142) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jJyDS-0007ud-K2; Thu, 02 Apr 2020 07:40:58 -0400 Received: by mail-wm1-x335.google.com with SMTP id r16so3026947wmg.5; Thu, 02 Apr 2020 04:40:58 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=references:user-agent:from:to:cc:subject:in-reply-to:date :message-id:mime-version:content-transfer-encoding; bh=6oDLOrly7bmoooO0qchbtPf+H2FcT6tZbx51RkPR2uI=; b=XuYy+HisvGU+dH+dhwMoYcBbnWmexhh83Fs0hKxlTgvYTNMjuQQJ0CiAy7ka0rpvlN YcU3fgGLSJxKEmYgiMSANDEhnC+04CZVyvXMIEl643AXvYYZvIcv2LuRgWqLbdhCyFTU xYWkNcsXWINN84bkBJ83eb2CkHVfDmEKXUtkjCfamp4rY96UebNMda8tLtPdsw1Z+S4Q JZRS2t+DfWrZrfp2CLL8tIzJ9ZG1glURXIxXVMVQT6Z86mwmLYtzsNZWlpyGWrweZU0o py5wamO5ZctcH7N8ODLZLHCLj/Hr9W/xFAJnksL55Wi9ohHT+Q9i2m1WkLX68hw8f06e fozA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:references:user-agent:from:to:cc:subject :in-reply-to:date:message-id:mime-version:content-transfer-encoding; bh=6oDLOrly7bmoooO0qchbtPf+H2FcT6tZbx51RkPR2uI=; b=uLT82IXmxBwEMkww9DC4Kv7+T9o4vF/n1M5yN8IkgnofaS2rqSwrmZa6QUCNEZSyBM lqgDHDRRARQFjc2x5NPuyRIf7T9KvXDN42CgBk+eWB2zsACvz5ELQgkAogeGTh/DqtG0 v+3ccwlL0fXEN53wt+dBCVIDxVJhnjHZ6hUEwOKV08T3P+/cKuOgfnT2uFe/FQkkBmjT IRb4hGywMlWk4qZmp1m+dyOlY3TzT5l0KGgY7WbK678O9e4CrEQ5a2FKsSDxq26sV3Nq Sip58Qbw/j/BBJOzgDszLJRkR5K8JNUbXJwmhpV2WhFzGjydix0Kzs2+Z8Zy9Lu2VYFo CCqg== X-Gm-Message-State: AGi0PuYt04rtGaEbS+XE8hv2SI/PfIgTMs2cItue2j4LaLFNM5bACiWh hI4eKtio2WySKm5UL1dIUNbDNOZigkewfg== X-Google-Smtp-Source: APiQypId+UIlTydWGrrHmp8951uoF1ARg3BAzBRjPaPqM5y1pJp6P6YLF2h3BQ7GapJT4Ysds70qow== X-Received: by 2002:a7b:ce8b:: with SMTP id q11mr3297497wmj.91.1585827657670; Thu, 02 Apr 2020 04:40:57 -0700 (PDT) Received: from meru ([2a01:cb18:832e:5f00:e0:63cb:aa5f:58b0]) by smtp.gmail.com with ESMTPSA id t12sm7419104wrm.0.2020.04.02.04.40.56 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 02 Apr 2020 04:40:56 -0700 (PDT) References: <20200328134202.rgl6usllluoo2b2y@pelzflorian.localdomain> <875zenyzh0.fsf@gnu.org> <20200329171609.puseiw4d4b6cxgd7@pelzflorian.localdomain> <878sjjt5cj.fsf@gmail.com> <87a73wv903.fsf@gnu.org> <87lfnfcqrh.fsf@gmail.com> <87zhbup4ke.fsf@gnu.org> User-agent: mu4e 1.2.0; emacs 26.3 From: Mathieu Othacehe To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts In-reply-to: <87zhbup4ke.fsf@gnu.org> Date: Thu, 02 Apr 2020 13:40:55 +0200 Message-ID: <874ku2cdyw.fsf@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::335 X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: submit Cc: 40273@debbugs.gnu.org, bug-guix@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hello, > Do you think that branch is ready for a merge? Or did you want to > further discuss some of the changes? Florian seemed to agree that it=E2= =80=99s > a good thing. Yes, for me it's ready. If you are ok I can check that our new fancy tests are still passing and merge it :) Now, there are other locale related issues we may want to address before the release: * The keyboard layout issue in Grub console you reported here[1]. * The keyboard layout issue during hard drive decryption in Grub[2]. I had a quick look to the second one and using `grub-mkstandalone' seems to be the right move but it would then require extensive testing on real hardware. Mathieu [1]: https://lists.gnu.org/archive/html/bug-guix/2020-04/msg00024.html [2]: https://lists.gnu.org/archive/html/bug-guix/2020-01/msg00350.html From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 02 19:28:06 2020 Received: (at 40273) by debbugs.gnu.org; 2 Apr 2020 23:28:06 +0000 Received: from localhost ([127.0.0.1]:40950 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jK9Fm-0004bi-5B for submit@debbugs.gnu.org; Thu, 02 Apr 2020 19:28:06 -0400 Received: from imta-38.everyone.net ([216.200.145.38]:44332) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jK9Fj-0004bT-Uq for 40273@debbugs.gnu.org; Thu, 02 Apr 2020 19:28:04 -0400 Received: from pps.filterd (omta003.sj2.proofpoint.com [127.0.0.1]) by imta-38.everyone.net (8.16.0.27/8.16.0.27) with SMTP id 032NKQgI010313; Thu, 2 Apr 2020 16:28:01 -0700 X-Eon-Originating-Account: 2K8n86Lb9tB4s0cs4KTLmdSGSBqYS2tFBI6CmdNZWFU X-Eon-Dm: m0116952.ppops.net Received: by m0116952.mta.everyone.net (EON-AUTHRELAY2 - 5a81c777) id m0116952.5e67f932.29ba6e; Thu, 2 Apr 2020 16:27:59 -0700 X-Eon-Sig: AQMHrIJehnT/wCUawwIAAAAD,033e4eb416686a223434fe7cb0818771 X-Eip: 0BQhzoud-3XYWitIZXGecberWsSE3n0weUm396lbb5w Date: Fri, 3 Apr 2020 01:27:43 +0200 From: Bengt Richter To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts Message-ID: <20200402232743.GA2810@LionPure> References: <20200328134202.rgl6usllluoo2b2y@pelzflorian.localdomain> <875zenyzh0.fsf@gnu.org> <20200329171609.puseiw4d4b6cxgd7@pelzflorian.localdomain> <878sjjt5cj.fsf@gmail.com> <87a73wv903.fsf@gnu.org> <87lfnfcqrh.fsf@gmail.com> <87zhbup4ke.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87zhbup4ke.fsf@gnu.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.676 definitions=2020-04-02_13:2020-04-02, 2020-04-02 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1034 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2002250000 definitions=main-2004020172 X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 40273 Cc: 40273@debbugs.gnu.org, Mathieu Othacehe X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bengt Richter Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.4 (-) Hi all, On +2020-04-02 12:25:37 +0200, Ludovic Courtès wrote: > Hi, > > Mathieu Othacehe skribis: > > >> That’s exactly what it does, see (shepherd comm). > >> > >> Perhaps we just need to have the installer service depend on ‘syslogd’, > >> at which point nothing goes to /dev/console? > > > > Heh, I read it too fast, sorry :) The issue was in fact that we are > > calling `start-service' and `stop-service' from `apply-locale' in (gnu > > installer), and printing shepherd messages to shepherd-message-port > > which is stderr by default. > > > > Fixed on wip-installer-help. > > Awesome. > > Do you think that branch is ready for a merge? Or did you want to > further discuss some of the changes? Florian seemed to agree that it’s > a good thing. > I am wondering about hot-plugged keyboards, whether plugged in before power-up or late, after login and GUI terminal activation. I see/imagine several issues. 1) Legacy unices seem just to have accepted any usb device identifying itself as key event generator and merged the events indiscriminately into existing key-event streams, with security issues ignored, and alternate layouts ignored :-/ What I'm writing on now [1] has a US keyboard (which is annoying if I am trying to write swedish, or embarrass myself with my French :), so I am recharging the batteries for an old swedish Logitech kb that has a wireless connection to a USB receiver. (I'll return to report how that worked out -- I think I saw that PureOS was able to handle different-layout keyboards in different concurrent sessions -- different keyboards and displays can be attached to different "seats" -- or something like that, I obviously don't know much yet ;-) Anyway, to the point: even if I'm wrong about PureOS handling concurrent different-layout keyboards, I think that would be a good goal for GuixOS/Hurd/Shepherd to implement. So WDYT about a little kb experimenting to expose potential issues before final decisions? 2) Another issue is that with hot-plugging and booting from external media, keyboard layouts are unknowable ahead of time (except by humans deciding they will only boot from media they know carry KB layout info matching the booting host's KB). So who/what is the first user of keyboard layout info? I think probably the OEM who decided which key should interrupt booting to go into BIOS setup, since the BIOS has to continue with some assumption of keyboard layout. Probably matches the BIOS-developer's kb, hard coded ;-) But consider a "NUC" box, with no predetermined peripherals, just sockets. Plug in the right keyboard or keep rebooting and hitting Esc or Del or F11 and hope you don't trigger anything disastrous. Or get online with another machine and search for how someone succeeded. Filter bad advice. How many times have you gone through that ? ;-) Ok, next user after BIOS, probably some boot loader. Its image can not contain knowledge of what keyboard is the source of key-codes, so it must either receive converted key codes or be able to get the right layout info to do the conversion itself -- or punt, using a US layout for anything and everything. ... Let's see, '-' is '/' and '+' is '-' and ... argh. (recognize install iso experience? setfont sun12x22 helps :) So anyway, eliding, the boot loader gets the root file system loaded and pivots to it and the kernel can figure out keyboards again for itself, maybe. Is this really a good design for gnu guix systems? All that Mach stuff I read April 1st sounded really neat ;-) (I regret having pointed out the date and not letting it run. I apologize for interrupting the fun "joke" ;-/ ) Logitech KB batteries still charging, will have to try that later ... HTH make multiple concurrent different-layout keyboards be part of the future :) > Ludo’. > > > [1] Purism Librem13v4 laptop: an emergency-prompted purchase when my swedish laptop died in US) -- Regards, Bengt Richter From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 02 20:38:22 2020 Received: (at 40273) by debbugs.gnu.org; 3 Apr 2020 00:38:22 +0000 Received: from localhost ([127.0.0.1]:41001 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jKALm-0008Sx-CB for submit@debbugs.gnu.org; Thu, 02 Apr 2020 20:38:22 -0400 Received: from pelzflorian.de ([5.45.111.108]:46232 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jKALk-0008Sg-3O for 40273@debbugs.gnu.org; Thu, 02 Apr 2020 20:38:21 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 45E95360566; Fri, 3 Apr 2020 02:38:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1585874298; bh=SJ+oZxPc3p/3QqAmYSNsrS4JZ1enUm7jVhjq2jEa1CM=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=QeqgB5OcGBvgRTUN7bYRopjaVICx7zJJNqJD5YmAlnDku/7aRPy5P5VFVDl4r4H4M g3P+HpN773FWNw7GK735CwjHDtJkrZUtSBLyvE9rEQ+xqf7Hsqf9aUB1Wy1c3L1dnj TJPEQU5SatRTW4CbNA2HEf3vfTlfOteU4FOxiTFE= Date: Fri, 3 Apr 2020 02:38:16 +0200 From: "pelzflorian (Florian Pelz)" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts Message-ID: <20200403003816.oywdf75mj7yjzygj@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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87k12yql0i.fsf@gnu.org> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40273 Cc: 40273@debbugs.gnu.org, Mathieu Othacehe X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Thu, Apr 02, 2020 at 11:45:01AM +0200, Ludovic Courtès wrote: > The attached patch fixes that. I’ve 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. > (I’m 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 and deleting all files in /var/lib/gdm. Deleting all files also made my fonts different in gnome-terminal, Icecat, Emacs, also gnome-initial-setup got run again, but these issues are unrelated to this bug and do not happen if one does not “sudo rm -rf /var/lib/gdm/.*”. > I was wondering whether to push the patch as-is or to require people to > write: > > (keyboard-layout '("ar" "fr") …) > > instead. Maybe it’s OK to leave the comma here. Lists seem more consistent with the Scheme syntax. > > 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 . Back then I was told to open a bug at GRUB, which I have not done. There are other old bugs on keyboard layouts and bugs on USB keyboards among the GRUB bugs at Savannah though. I find an e-mail to bug-grub concerning the same issue , but no bug at Savannah. I will not open a bug I suppose, also the GRUB manual says many keymaps don’t work well. https://www.gnu.org/software/grub/manual/grub/html_node/Internationalisation.html#Input-terminal It says “Own keyboard implementations (at_keyboard and usb_keyboard) supports any key but work on one-char-per-keystroke. So no dead keys or advanced input method. Also there is no keymap change hotkey. In practice it makes difficult to enter any text using non-Latin alphabet. Moreover all current input consumers are limited to ASCII.” f5961dd5854cec1ed9a41365836d63aa15256642 for usb keyboard was a bad commit (passphrase input was QWERTY, back then usb keyboard did not work at all in GRUB menu). Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 02 21:11:52 2020 Received: (at 40273) by debbugs.gnu.org; 3 Apr 2020 01:11:52 +0000 Received: from localhost ([127.0.0.1]:41027 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jKAsC-0003uc-13 for submit@debbugs.gnu.org; Thu, 02 Apr 2020 21:11:52 -0400 Received: from pelzflorian.de ([5.45.111.108]:46278 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jKAsA-0003uT-1j for 40273@debbugs.gnu.org; Thu, 02 Apr 2020 21:11:50 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 45526360566; Fri, 3 Apr 2020 03:11:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1585876308; bh=nC7C5HVGA638+p3Yzyw+vWpgyJvqpnYtJJvNb2hvt1Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=meeXNBSKB1tbK2vtZzrB+B5xFGemTRv9GwOgbcjwQpGEM46qc0yt4Bf9by+KzcUwu 6RiV6Mwio88Yi98bbGKI/LRlE24ZZSuD3ckQqUvGMstzdSMyS1vwheOEm8goKjiUPo t3cc549NGdKewcTR02+vuopyLVz8kvf0tUt4FKdM= Date: Fri, 3 Apr 2020 03:11:46 +0200 From: "pelzflorian (Florian Pelz)" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts Message-ID: <20200403011146.umme6xgat3hnabpv@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> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20200403003816.oywdf75mj7yjzygj@pelzflorian.localdomain> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40273 Cc: 40273@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Fri, Apr 03, 2020 at 02:38:16AM +0200, pelzflorian (Florian Pelz) wrote: > For me there’s no regression because keyboard layouts never worked Maybe there is a regression for at_keyboard users. For usb_keyboard: I believe it would be easier to ignore the wrong keyboard layout for the GRUB command-line and to resolve the layout issue for the passphrase by not requiring one. That is (as a default) installing GRUB on the unencrypted EFI System Partition. AFAIK this is currently not possible. It would require copying all references of grub.cfg to the EFI System Partition instead of the encrypted Store. On non-EFI systems, this would make it necessary to have a separate boot partition when using encryption. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 03 09:32:03 2020 Received: (at 40273) by debbugs.gnu.org; 3 Apr 2020 13:32:03 +0000 Received: from localhost ([127.0.0.1]:41397 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jKMQR-0000J4-0M for submit@debbugs.gnu.org; Fri, 03 Apr 2020 09:32:02 -0400 Received: from pelzflorian.de ([5.45.111.108]:47254 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jKMQM-0000Ij-Ne for 40273@debbugs.gnu.org; Fri, 03 Apr 2020 09:31:55 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 6066B360566; Fri, 3 Apr 2020 15:31:53 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1585920713; bh=eCQr1zhwgm0F62pFKHy2NaRRiOqr4WxV5U70YL63bDA=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=Hp9dNZviSUTfrzQv6g1uJp0y7Ki68z4rwCeyZR53Pj+wbwnXUViTULd6Y5LQXpcu3 gQzec/so50fvCsbqupR6QWAZ/cfyGvAVIxQXraT7+JeNIXRyN8byOv4VgVVbgUuqpT f7X1EWe/lv7JzQUyqgHv3eOZB1KL+5Z3pdxecZfc= Date: Fri, 3 Apr 2020 15:31:52 +0200 From: "pelzflorian (Florian Pelz)" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts Message-ID: <20200403133152.mz6tr6cftb3gkrdb@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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200403003816.oywdf75mj7yjzygj@pelzflorian.localdomain> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40273 Cc: 40273@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Fri, Apr 03, 2020 at 02:38:16AM +0200, pelzflorian (Florian Pelz) wrote: > Deleting all files also made > my fonts different Different fonts was due to an unrelated mistake of mine; I accidently removed the font-dejavu package from my config.scm. From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 03 09:59:21 2020 Received: (at 40273) by debbugs.gnu.org; 3 Apr 2020 13:59:22 +0000 Received: from localhost ([127.0.0.1]:42976 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jKMqv-0002Fr-M5 for submit@debbugs.gnu.org; Fri, 03 Apr 2020 09:59:21 -0400 Received: from pelzflorian.de ([5.45.111.108]:47286 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jKMqt-0002Fe-KJ for 40273@debbugs.gnu.org; Fri, 03 Apr 2020 09:59:20 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 57FA5360566; Fri, 3 Apr 2020 15:59:18 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1585922358; bh=nxXIv0fIQhTGHp17VSJP1/fM7mKDBs9bR/yPPRKGLGQ=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=Vft4MDJruH1/iaGREi+HVX1ViTUxHWDI8YuLwWFjkBtpn9dCf9mTlrYv/W1kM6kYN EiwVzi3fwR5s5K16CKNn5Es+A4a3xqEzv74TFdYw9MkemXdlM0Orp4rFAw095f7euv Sk/yNx7Kw1lckjUiM6Jp+HnF+/kZk3/XFj6dSQCY= Date: Fri, 3 Apr 2020 15:59:17 +0200 From: "pelzflorian (Florian Pelz)" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts Message-ID: <20200403135917.t4jxlgpt7yjmk467@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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200403003816.oywdf75mj7yjzygj@pelzflorian.localdomain> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40273 Cc: 40273@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Fri, Apr 03, 2020 at 02:38:16AM +0200, pelzflorian (Florian Pelz) wrote: > GDM retains my U.S. English layout even after herd stop xorg-server > and deleting all files in /var/lib/gdm. This too was my mistake for omitting keyboard-layout settings in set-xorg-configuration. All is well. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 03 11:20:35 2020 Received: (at 40273) by debbugs.gnu.org; 3 Apr 2020 15:20:35 +0000 Received: from localhost ([127.0.0.1]:43037 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jKO7X-0000Rr-9x for submit@debbugs.gnu.org; Fri, 03 Apr 2020 11:20:35 -0400 Received: from eggs.gnu.org ([209.51.188.92]:37131) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jKO7V-0000RM-T4 for 40273@debbugs.gnu.org; Fri, 03 Apr 2020 11:20:34 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:50757) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jKO7Q-0003RP-LD; Fri, 03 Apr 2020 11:20:28 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=47732 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jKO7M-0006hx-J2; Fri, 03 Apr 2020 11:20:27 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "pelzflorian \(Florian Pelz\)" Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts 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> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 15 Germinal an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Fri, 03 Apr 2020 17:20:23 +0200 In-Reply-To: <20200403003816.oywdf75mj7yjzygj@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Fri, 3 Apr 2020 02:38:16 +0200") Message-ID: <87o8s8k348.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40273 Cc: 40273@debbugs.gnu.org, Mathieu Othacehe X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) 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. From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 03 11:56:35 2020 Received: (at 40273) by debbugs.gnu.org; 3 Apr 2020 15:56:35 +0000 Received: from localhost ([127.0.0.1]:43054 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jKOgN-0004au-Ch for submit@debbugs.gnu.org; Fri, 03 Apr 2020 11:56:35 -0400 Received: from pelzflorian.de ([5.45.111.108]:47444 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jKOgK-0004af-NB for 40273@debbugs.gnu.org; Fri, 03 Apr 2020 11:56:33 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 8BDF0360566; Fri, 3 Apr 2020 17:56:31 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1585929391; bh=z6SZ/w9fP6o797wy73L1KQIVUTlsKErMSgvYKarpmM4=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=z6SrVGoHQGMo02ENBROYeICsCoRR/yVSdFBzCvpONoc4HfT54uRewZIZDvCy3K1/P eGzz8vdGxXcF8eKI3m/e2ZqF0RNRppWavvUXsTef/NdHffMcC+ECWluMAuV37w6lWu dVR8KElVc5pBity3YxLGCE9K9I4IPkS8nseDeJOI= Date: Fri, 3 Apr 2020 17:56:30 +0200 From: "pelzflorian (Florian Pelz)" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts 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-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87o8s8k348.fsf@gnu.org> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40273 Cc: 40273@debbugs.gnu.org, Mathieu Othacehe X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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 From debbugs-submit-bounces@debbugs.gnu.org Fri Apr 03 19:17:56 2020 Received: (at 40273) by debbugs.gnu.org; 3 Apr 2020 23:17:56 +0000 Received: from localhost ([127.0.0.1]:43312 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jKVZT-0008SE-KW for submit@debbugs.gnu.org; Fri, 03 Apr 2020 19:17:55 -0400 Received: from pelzflorian.de ([5.45.111.108]:48266 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jKVZR-0008Rp-3k for 40273@debbugs.gnu.org; Fri, 03 Apr 2020 19:17:54 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id D885A360566; Sat, 4 Apr 2020 01:17:51 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1585955872; bh=mYJwUb+uWM+vPQgPZK5vsMYW5vGgylvmGR4MflYCTls=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=ajEfxuVu6Z9nICbks/IInc44qB14wImYAMhQrnbq/1IkexDn4Y1KOD1upU/q4gNEJ 6WPkpOwXT9TEZ9dx2EytlvaABCOugePBKKkjb8lEgsUlS2i5vaLCEurJGFx6ywQ4uY 5o/zubM1kz66zfg08gOFklkAjG9iq9AL7364kpsg= Date: Sat, 4 Apr 2020 01:17:50 +0200 From: "pelzflorian (Florian Pelz)" To: Bengt Richter Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts Message-ID: <20200403231750.ddmqx6ekr35eye2u@pelzflorian.localdomain> References: <20200328134202.rgl6usllluoo2b2y@pelzflorian.localdomain> <875zenyzh0.fsf@gnu.org> <20200329171609.puseiw4d4b6cxgd7@pelzflorian.localdomain> <878sjjt5cj.fsf@gmail.com> <87a73wv903.fsf@gnu.org> <87lfnfcqrh.fsf@gmail.com> <87zhbup4ke.fsf@gnu.org> <20200402232743.GA2810@LionPure> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20200402232743.GA2810@LionPure> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40273 Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , 40273@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Fri, Apr 03, 2020 at 01:27:43AM +0200, Bengt Richter wrote: > I think I saw that PureOS was able to handle > different-layout keyboards in different concurrent sessions -- different keyboards and displays > can be attached to different "seats" -- or something like that, I obviously don't know much yet ;-) > > Anyway, to the point: even if I'm wrong about PureOS handling concurrent > different-layout keyboards, I think that would be a good goal > for GuixOS/Hurd/Shepherd to implement. >From what I understand from , there can be per-device keyboard layouts, but they are not handled by XKB options. If a device specifier were added to the keyboard-layout constructor, the device specifier would need to be turned into appropriate xorg.conf MatchUSBID or similar. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 05 10:04:03 2020 Received: (at 40273) by debbugs.gnu.org; 5 Apr 2020 14:04:03 +0000 Received: from localhost ([127.0.0.1]:46436 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jL5sZ-0006Of-40 for submit@debbugs.gnu.org; Sun, 05 Apr 2020 10:04:03 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43700) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jL5sX-0006Nw-Sq for 40273@debbugs.gnu.org; Sun, 05 Apr 2020 10:04:02 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:37249) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jL5sS-0003mZ-9z; Sun, 05 Apr 2020 10:03:56 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=39450 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jL5sR-0007dM-UI; Sun, 05 Apr 2020 10:03:56 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "pelzflorian \(Florian Pelz\)" Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts 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> <20200403155630.k5pfssn3brdbfxbp@pelzflorian.localdomain> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 17 Germinal an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sun, 05 Apr 2020 16:03:54 +0200 In-Reply-To: <20200403155630.k5pfssn3brdbfxbp@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Fri, 3 Apr 2020 17:56:30 +0200") Message-ID: <87mu7qhvw5.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40273 Cc: 40273@debbugs.gnu.org, Mathieu Othacehe X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi, "pelzflorian (Florian Pelz)" skribis: > On Fri, Apr 03, 2020 at 05:20:23PM +0200, Ludovic Court=C3=A8s wrote: >> > GDM retains my U.S. English layout even after herd stop xorg-server >>=20 >> That=E2=80=99s a regression. Localed was added exactly one year ago to = fix this >> problem in commit 607fcc75404e2b1fc74affcf372b4a6a789ac55e. I=E2=80=99v= e spent >> 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= same >> code, GNOME Shell). > > Sorry! It is entirely my fault. I had not known that if I don=E2=80=99t= put > a keyboard-layout field in set-xorg-configuration, I always get > U.S. layout. Hmm, on master, if I change desktop.tmpl to use the =E2=80=9Cfr=E2=80=9D la= yout, I get a French keyboard layout in the console, but not in GDM. (In a fresh VM built with =E2=80=98guix system vm=E2=80=99.) Can you confirm you see this problem? Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 05 16:02:18 2020 Received: (at 40273) by debbugs.gnu.org; 5 Apr 2020 20:02:18 +0000 Received: from localhost ([127.0.0.1]:46665 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLBTF-0005YJ-Mj for submit@debbugs.gnu.org; Sun, 05 Apr 2020 16:02:17 -0400 Received: from pelzflorian.de ([5.45.111.108]:51898 helo=mail.pelzflorian.de) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLBTD-0005Y2-D3 for 40273@debbugs.gnu.org; Sun, 05 Apr 2020 16:02:16 -0400 Received: from pelzflorian.localdomain (unknown [5.45.111.108]) by mail.pelzflorian.de (Postfix) with ESMTPSA id 2576336057E; Sun, 5 Apr 2020 22:02:13 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=pelzflorian.de; s=mail; t=1586116934; bh=Ae6OKuzPlsnA2sH4uDKosWANOEp4oOtRb/97EO2HOg4=; h=Date:From:To:Cc:Subject:References:In-Reply-To; b=eh5yeT6Jm9hF1/WlNy246tD4vw/Ghc+BVSiK6LMurWA9nXe9fB1bxE6fXZ0nbaXis G+J9l0KYmEINJreJLHSIaimVPGy2BfiJW6ZmmeMaVsL5ATHACw3vTRAH7yJ87Rdf5H nb8vLsU1KbUDc/KdoyndEcKdf3KoEzVq/zJQoEsY= Date: Sun, 5 Apr 2020 22:02:12 +0200 From: "pelzflorian (Florian Pelz)" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts Message-ID: <20200405200212.4thmiaookkfwguh6@pelzflorian.localdomain> References: <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> <20200403155630.k5pfssn3brdbfxbp@pelzflorian.localdomain> <87mu7qhvw5.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <87mu7qhvw5.fsf@gnu.org> X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 40273 Cc: 40273@debbugs.gnu.org, Mathieu Othacehe X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) On Sun, Apr 05, 2020 at 04:03:54PM +0200, Ludovic Courtès wrote: > Can you confirm you see this problem? In my actual system configuration I have French layout in GDM and console with today’s git master. No problem. I changed: diff --git a/config.scm b/config.scm index 4db5560..1cf1578 100644 --- a/config.scm +++ b/config.scm @@ -29,7 +29,8 @@ (timezone "Europe/Berlin") (locale "tr_TR.utf8") (keyboard-layout - (keyboard-layout "us" "altgr-intl")) + (keyboard-layout "fr")) +;; (keyboard-layout "us" "altgr-intl")) (bootloader (bootloader-configuration (bootloader grub-efi-bootloader) @@ -177,6 +178,7 @@ Options +Indexes")))))) ,gnome-online-accounts))))))) (set-xorg-configuration (xorg-configuration + (keyboard-layout keyboard-layout) (modules (list ;;xf86-video-vesa xf86-video-fbdev In QEMU guix system vm, I cannot get GDM to display more than a mouse pointer no matter the graphics options I try (-vga std or cirrus or nomodeset+uvesafb). This is an unrelated bug, probably not Guix’ fault, though I had not tried GDM in QEMU before. I wanted to try guix system vm-image (expecting another GDM failure), but after many hours building the vm-image failed because I had misconfigured the bootloader EFI file-system. Regards, Florian From debbugs-submit-bounces@debbugs.gnu.org Sun Apr 05 17:26:25 2020 Received: (at 40273) by debbugs.gnu.org; 5 Apr 2020 21:26:26 +0000 Received: from localhost ([127.0.0.1]:46715 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLCmf-0001ol-KH for submit@debbugs.gnu.org; Sun, 05 Apr 2020 17:26:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:40011) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLCme-0001oN-Cs for 40273@debbugs.gnu.org; Sun, 05 Apr 2020 17:26:24 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:43720) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jLCmY-0001Jg-Uw; Sun, 05 Apr 2020 17:26:19 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=39648 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jLCmW-00017q-MA; Sun, 05 Apr 2020 17:26:17 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: "pelzflorian \(Florian Pelz\)" Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts References: <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> <20200403155630.k5pfssn3brdbfxbp@pelzflorian.localdomain> <87mu7qhvw5.fsf@gnu.org> <20200405200212.4thmiaookkfwguh6@pelzflorian.localdomain> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 17 Germinal an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Sun, 05 Apr 2020 23:26:15 +0200 In-Reply-To: <20200405200212.4thmiaookkfwguh6@pelzflorian.localdomain> (pelzflorian@pelzflorian.de's message of "Sun, 5 Apr 2020 22:02:12 +0200") Message-ID: <87mu7phbew.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40273 Cc: 40273@debbugs.gnu.org, Mathieu Othacehe X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi, "pelzflorian (Florian Pelz)" skribis: > On Sun, Apr 05, 2020 at 04:03:54PM +0200, Ludovic Court=C3=A8s wrote: >> Can you confirm you see this problem? > > In my actual system configuration I have French layout in GDM and > console with today=E2=80=99s git master. No problem. I changed: Nevermind, I found out what the problem was: https://issues.guix.gnu.org/issue/40456 :-/ > In QEMU guix system vm, I cannot get GDM to display more than a mouse > pointer no matter the graphics options I try (-vga std or cirrus or > nomodeset+uvesafb). This is an unrelated bug, probably not Guix=E2=80=99 > fault, though I had not tried GDM in QEMU before. I wanted to try > guix system vm-image (expecting another GDM failure), but after many > hours building the vm-image failed because I had misconfigured the > bootloader EFI file-system. Weird. =E2=80=98guix system vm=E2=80=99 works rather quickly for me and it= can display GDM just fine. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 06 03:52:27 2020 Received: (at submit) by debbugs.gnu.org; 6 Apr 2020 07:52:27 +0000 Received: from localhost ([127.0.0.1]:47114 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLMYV-0000to-8o for submit@debbugs.gnu.org; Mon, 06 Apr 2020 03:52:27 -0400 Received: from lists.gnu.org ([209.51.188.17]:39859) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLMYT-0000tf-0G for submit@debbugs.gnu.org; Mon, 06 Apr 2020 03:52:25 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:59524) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLMYR-00046N-VX for bug-guix@gnu.org; Mon, 06 Apr 2020 03:52:24 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52960) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jLMYR-0000gg-Rw; Mon, 06 Apr 2020 03:52:23 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=41598 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jLMYR-0002AQ-Ga; Mon, 06 Apr 2020 03:52:23 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Mathieu Othacehe Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts References: <20200328134202.rgl6usllluoo2b2y@pelzflorian.localdomain> <875zenyzh0.fsf@gnu.org> <20200329171609.puseiw4d4b6cxgd7@pelzflorian.localdomain> <878sjjt5cj.fsf@gmail.com> <87a73wv903.fsf@gnu.org> <87lfnfcqrh.fsf@gmail.com> <87zhbup4ke.fsf@gnu.org> <874ku2cdyw.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 18 Germinal an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Mon, 06 Apr 2020 09:52:21 +0200 In-Reply-To: <874ku2cdyw.fsf@gmail.com> (Mathieu Othacehe's message of "Thu, 02 Apr 2020 13:40:55 +0200") Message-ID: <87o8s5f3uy.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: submit Cc: 40273@debbugs.gnu.org, bug-guix@gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi Mathieu, Mathieu Othacehe skribis: >> Do you think that branch is ready for a merge? Or did you want to >> further discuss some of the changes? Florian seemed to agree that it=E2= =80=99s >> a good thing. > > Yes, for me it's ready. If you are ok I can check that our new fancy > tests are still passing and merge it :) Yes please! (BTW, sorry for the latency when replying; if you want, please do chime in on #guix on IRC.) > Now, there are other locale related issues we may want to address before > the release: > > * The keyboard layout issue in Grub console you reported here[1]. > * The keyboard layout issue during hard drive decryption in Grub[2]. > > I had a quick look to the second one and using `grub-mkstandalone' seems > to be the right move but it would then require extensive testing on real > hardware. Yeah. If the change ends up looking risky, perhaps we should postpone it? I would really like us to release this week. Thank you! Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Mon Apr 06 09:14:13 2020 Received: (at submit) by debbugs.gnu.org; 6 Apr 2020 13:14:13 +0000 Received: from localhost ([127.0.0.1]:47293 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLRZs-00055S-RQ for submit@debbugs.gnu.org; Mon, 06 Apr 2020 09:14:13 -0400 Received: from lists.gnu.org ([209.51.188.17]:40415) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLRZr-00055J-C7 for submit@debbugs.gnu.org; Mon, 06 Apr 2020 09:14:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46521) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLRZq-0005CQ-CU for bug-guix@gnu.org; Mon, 06 Apr 2020 09:14:11 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=BAYES_20,FREEMAIL_FROM autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jLRZp-0003Na-Fh for bug-guix@gnu.org; Mon, 06 Apr 2020 09:14:10 -0400 Received: from mail-wm1-x32f.google.com ([2a00:1450:4864:20::32f]:39738) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jLRZp-0003NE-AF; Mon, 06 Apr 2020 09:14:09 -0400 Received: by mail-wm1-x32f.google.com with SMTP id y20so3857143wma.4; Mon, 06 Apr 2020 06:14:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version; bh=xFYqpZGgD9ruNkG8ri3jt40ZqJIo+xAo1KTt8HHIrmU=; b=hkl7OY9wX5YqVLB27FmwCWvepA+MuDLhb8GU5KVxiTApxU3kuKKyj86XK8FK3w6UPT hv4GjEKYpe1ynY9K5bza4LPHbMo3/XnAocriu3Mom7A+lz1HaUxRL0THl7xPPtx4F4Bj +rnju9Kr1m6ae0AvbCTnxcLeNwVhlL9KttwwBQfvHU6gSwXaclPUP4IjbAfle4LB5WU3 5MLNfQrRcbiAUxHz+SuapY3KanoVhsX2ek9uOomMVF4tVVLScRk+35loLB/P0S35BhOD 8fy7pfPU+VdVg7hkYJPd1eNONg6DLgPUTFQgQGiqNvWrzNGHjg6HJ2tTtswVN9eoTtyz CiaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version; bh=xFYqpZGgD9ruNkG8ri3jt40ZqJIo+xAo1KTt8HHIrmU=; b=HWi0x5rHfDqJPDIfdZVRgzMTHgt88Vo3NlFB1GTZ1K98GyjlAymyhmDf28v4m/S9oy DFslws/GisHAchr7fQFBrwQwiIxB70WJi/k8G14tgz5VCo7+fjSDVSXyaXxjPBD3dsad ug0FxlRys6wJGCsxpwVc+mp5tyBjU6jcA+VFIeYWMUfPVYrIjKKx2MK2jBDokcWce9v/ b8xAtwjMgLel0fak0s0jg2JMXhMvGxUGvDGvviw7K7/IANJvwNCMw7UJDdCpIpc+Nxxt nvwQGXdNPNhkjmo7eC/lpczzaKmpqrhiF5AMYsWOfkR2aLDaMZvE3FDya7WkZaH7XRYX S+4A== X-Gm-Message-State: AGi0PubPLJrSFCsASK2lQ+q4QKTGuiJKEb+D1ZOSD0hY1biw0160yjOo XEs9pxpHBZ92a4abh6TiDwklNmUsZ8s= X-Google-Smtp-Source: APiQypKYyQQRrnzyOtr+1m0UedmCwLgsBOJmHIHZ7eB1HnbibnQY+vgzuJNQ8KdDXj/FQi1eVKrrZw== X-Received: by 2002:a1c:7e43:: with SMTP id z64mr21482317wmc.45.1586178847810; Mon, 06 Apr 2020 06:14:07 -0700 (PDT) Received: from meru ([2a01:cb18:832e:5f00:1444:9107:245:3d55]) by smtp.gmail.com with ESMTPSA id v7sm26394218wrs.96.2020.04.06.06.14.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 06 Apr 2020 06:14:07 -0700 (PDT) From: Mathieu Othacehe To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts References: <20200328134202.rgl6usllluoo2b2y@pelzflorian.localdomain> <875zenyzh0.fsf@gnu.org> <20200329171609.puseiw4d4b6cxgd7@pelzflorian.localdomain> <878sjjt5cj.fsf@gmail.com> <87a73wv903.fsf@gnu.org> <87lfnfcqrh.fsf@gmail.com> <87zhbup4ke.fsf@gnu.org> <874ku2cdyw.fsf@gmail.com> <87o8s5f3uy.fsf@gnu.org> Date: Mon, 06 Apr 2020 15:14:06 +0200 In-Reply-To: <87o8s5f3uy.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 06 Apr 2020 09:52:21 +0200") Message-ID: <87r1x07o4h.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::32f X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: submit Cc: bug-guix@gnu.org, 40273-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hey, > Yes please! (BTW, sorry for the latency when replying; if you want, > please do chime in on #guix on IRC.) Merged! Heh, I know you are already quite busy :p The installer tests are really a nice addition. Being able to test it running: --8<---------------cut here---------------start------------->8--- make check-system TESTS="gui-installed-os gui-installed-os-encrypted gui-installed-desktop-os-encrypted" --8<---------------cut here---------------end--------------->8--- is much more convenient than by hand. Thanks for your work on that topic. > Yeah. If the change ends up looking risky, perhaps we should postpone > it? I would really like us to release this week. Seems fair. Florian, I'm closing the issue here :) Mathieu From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 07 05:49:16 2020 Received: (at submit) by debbugs.gnu.org; 7 Apr 2020 09:49:17 +0000 Received: from localhost ([127.0.0.1]:49571 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLkr6-0004Bx-Ao for submit@debbugs.gnu.org; Tue, 07 Apr 2020 05:49:16 -0400 Received: from lists.gnu.org ([209.51.188.17]:55275) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLkr4-0004Bh-9N for submit@debbugs.gnu.org; Tue, 07 Apr 2020 05:49:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37040) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLkr3-0001mO-7I for bug-guix@gnu.org; Tue, 07 Apr 2020 05:49:14 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=5.0 tests=ALL_TRUSTED,BAYES_00 autolearn=disabled version=3.3.2 Received: from fencepost.gnu.org ([2001:470:142:3::e]:52546) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jLkr3-00028k-3p; Tue, 07 Apr 2020 05:49:13 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=45714 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jLkr0-0005NB-Od; Tue, 07 Apr 2020 05:49:11 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Mathieu Othacehe Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts References: <20200328134202.rgl6usllluoo2b2y@pelzflorian.localdomain> <875zenyzh0.fsf@gnu.org> <20200329171609.puseiw4d4b6cxgd7@pelzflorian.localdomain> <878sjjt5cj.fsf@gmail.com> <87a73wv903.fsf@gnu.org> <87lfnfcqrh.fsf@gmail.com> <87zhbup4ke.fsf@gnu.org> <874ku2cdyw.fsf@gmail.com> <87o8s5f3uy.fsf@gnu.org> <87r1x07o4h.fsf@gmail.com> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 19 Germinal an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Tue, 07 Apr 2020 11:49:09 +0200 In-Reply-To: <87r1x07o4h.fsf@gmail.com> (Mathieu Othacehe's message of "Mon, 06 Apr 2020 15:14:06 +0200") Message-ID: <878sj7bp7u.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: submit Cc: bug-guix@gnu.org, 40273-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi! Mathieu Othacehe skribis: >> Yes please! (BTW, sorry for the latency when replying; if you want, >> please do chime in on #guix on IRC.) > > Merged! Heh, I know you are already quite busy :p > > The installer tests are really a nice addition. Being able to test it > running: > > make check-system TESTS=3D"gui-installed-os gui-installed-os-encrypted gu= i-installed-desktop-os-encrypted" > > is much more convenient than by hand. Thanks for your work on that > topic. Heh, thanks. Glad we have an easy way to switch layouts in the installer! >> Yeah. If the change ends up looking risky, perhaps we should postpone >> it? I would really like us to release this week. > > Seems fair. > > Florian, I'm closing the issue here :) Ideally we=E2=80=99d also offer a way to choose multiple layouts in the installer, so that one can end up with: (keyboard-layout "ar,us" #:options '("grp:alt_shift_toggle")) Although that=E2=80=99s mostly useful for the console as GDM and GNOME shou= ld be able to do the right thing. Anyway, we can discuss it in a separate issue. Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Tue Apr 07 13:15:22 2020 Received: (at submit) by debbugs.gnu.org; 7 Apr 2020 17:15:24 +0000 Received: from localhost ([127.0.0.1]:50804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLrof-0005bk-AA for submit@debbugs.gnu.org; Tue, 07 Apr 2020 13:15:20 -0400 Received: from lists.gnu.org ([209.51.188.17]:39778) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jLroO-0005Xh-Op for submit@debbugs.gnu.org; Tue, 07 Apr 2020 13:15:03 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58265) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jLroN-0006Uf-F9 for bug-guix@gnu.org; Tue, 07 Apr 2020 13:14:56 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,FREEMAIL_FROM, URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jLroM-0003Sw-Co for bug-guix@gnu.org; Tue, 07 Apr 2020 13:14:55 -0400 Received: from mail-wr1-x42d.google.com ([2a00:1450:4864:20::42d]:38104) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jLroM-0003Rj-6Z; Tue, 07 Apr 2020 13:14:54 -0400 Received: by mail-wr1-x42d.google.com with SMTP id 31so4787917wre.5; Tue, 07 Apr 2020 10:14:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=VWgPIpm8E4Vyh8FRG9eosSNnOZFilKXTIAoJ81dIjpU=; b=UPUfNqoN5Y4IpMzb64wt8ITQkDbYp6WwDK1Cz6tm4xvQ4Ivc3BDvSW+ke1in0RZH/T 4Y2IaXAzjU40dkW30JmG/enOI6X73c99W8+UJBEcej0v/TEkIdbBkj+pe7AC+6D8Xln1 W+35uNCEuy8BdO9xDOxJLojYw20K/UFC/Nve43HCvlXS5TD4DqoaHGtO74URFQOJfQd6 0DBBKasrd6Sy0zR7PsR8W4TIAEREIW5deBQiPYdjSr8qfY1CNjtUQBOg7CH0rufqBdg5 yqviMjwA8beCgyEDl0sIQBgEKK50wuTC4+ylg6ksajRtSkCCt7I1shVLGGOHXYjC8QXn pIuA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=VWgPIpm8E4Vyh8FRG9eosSNnOZFilKXTIAoJ81dIjpU=; b=MgMS3QC9qjB3gaQg0sMaIkuqPneduSKpDkoxQwtY02T+sag7wHQxmZVx7Rl1EpYmnD rRFOQjIs7g2S4OfMMWsnVEFASUpt5cntWxRdUPLZ3Tq0wCNKWpL/WizGQI/ntENxmUim ++M/l4w6stM88PIneVlum+HCVxigjcNg7sJMfgnCmW5t98vMu50pa72AWNm5OcXJU6Ej BPpgCItJ03DCEY8iXpJoY6CyimSmoyYpKQxhrY9OjOZNWmI4fksS6mVoyB0Pe9xKSx76 d2Em+CMrqcXKBZrbPTv/wRgXFjwEo6ZBwOJjPsdW+Fy5QiWj1ovJf61i9NI3d10bSUFf XDFg== X-Gm-Message-State: AGi0PubFCpmPyHATOwRujtlMvdzl5wljjq5zbc/Svy71UjGi7TR5Gbb1 1dXV3kQtLcF39TThLobPw8kaSa3DpUU= X-Google-Smtp-Source: APiQypJR08hfmOS4kjvqh6buLtktSrNP8eNi7MAVmWUNWxB5j4qe911Wf2XEWIT3vOKASHsTGOfH8g== X-Received: by 2002:adf:e942:: with SMTP id m2mr3703922wrn.364.1586279692847; Tue, 07 Apr 2020 10:14:52 -0700 (PDT) Received: from meru ([2a01:cb18:832e:5f00:6c54:9e52:aeb8:d04b]) by smtp.gmail.com with ESMTPSA id t2sm13714622wrs.7.2020.04.07.10.14.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 07 Apr 2020 10:14:52 -0700 (PDT) From: Mathieu Othacehe To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts References: <20200328134202.rgl6usllluoo2b2y@pelzflorian.localdomain> <875zenyzh0.fsf@gnu.org> <20200329171609.puseiw4d4b6cxgd7@pelzflorian.localdomain> <878sjjt5cj.fsf@gmail.com> <87a73wv903.fsf@gnu.org> <87lfnfcqrh.fsf@gmail.com> <87zhbup4ke.fsf@gnu.org> <874ku2cdyw.fsf@gmail.com> <87o8s5f3uy.fsf@gnu.org> <87r1x07o4h.fsf@gmail.com> <878sj7bp7u.fsf@gnu.org> Date: Tue, 07 Apr 2020 19:14:50 +0200 In-Reply-To: <878sj7bp7u.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Tue, 07 Apr 2020 11:49:09 +0200") Message-ID: <871rozmd4l.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::42d X-Spam-Score: 0.3 (/) X-Debbugs-Envelope-To: submit Cc: bug-guix@gnu.org, 40273-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -0.7 (/) Hey, > Ideally we=E2=80=99d also offer a way to choose multiple layouts in the > installer, so that one can end up with: > > (keyboard-layout "ar,us" #:options '("grp:alt_shift_toggle")) > > Although that=E2=80=99s mostly useful for the console as GDM and GNOME sh= ould be > able to do the right thing. > > Anyway, we can discuss it in a separate issue. You're right, I'm opening a new issue here[1]. Thanks, Mathieu [1]: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D40493 From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 08 03:20:33 2020 Received: (at 40273) by debbugs.gnu.org; 8 Apr 2020 07:20:33 +0000 Received: from localhost ([127.0.0.1]:51295 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jM50i-0005PF-Jk for submit@debbugs.gnu.org; Wed, 08 Apr 2020 03:20:32 -0400 Received: from imta-35.everyone.net ([216.200.145.35]:35080 helo=imta-38.everyone.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jM50f-0005P6-TA for 40273@debbugs.gnu.org; Wed, 08 Apr 2020 03:20:31 -0400 Received: from pps.filterd (m0004961.ppops.net [127.0.0.1]) by imta-38.everyone.net (8.16.0.27/8.16.0.27) with SMTP id 0387Jn6c028732; Wed, 8 Apr 2020 00:20:28 -0700 X-Eon-Originating-Account: YwSptbjI_i0hBoo0A5YTUXRbo27Mq_MQqqt8f3nluoo X-Eon-Dm: m0116293.ppops.net Received: by m0116293.mta.everyone.net (EON-AUTHRELAY2 - 5a81c720) id m0116293.5e67f91c.26c41c; Wed, 8 Apr 2020 00:20:27 -0700 X-Eon-Sig: AQMHrIJejXs7ehDtzQIAAAAD,67b088b472d66484b54236a49910d45a X-Eip: ZWm3ufEv5dmWg2xYVkoK82EsCL63mhWZzrWU_6m2L80 Date: Wed, 8 Apr 2020 09:20:18 +0200 From: Bengt Richter To: "pelzflorian (Florian Pelz)" Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts Message-ID: <20200408072018.GA17715@LionPure> References: <20200328134202.rgl6usllluoo2b2y@pelzflorian.localdomain> <875zenyzh0.fsf@gnu.org> <20200329171609.puseiw4d4b6cxgd7@pelzflorian.localdomain> <878sjjt5cj.fsf@gmail.com> <87a73wv903.fsf@gnu.org> <87lfnfcqrh.fsf@gmail.com> <87zhbup4ke.fsf@gnu.org> <20200402232743.GA2810@LionPure> <20200403231750.ddmqx6ekr35eye2u@pelzflorian.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20200403231750.ddmqx6ekr35eye2u@pelzflorian.localdomain> User-Agent: Mutt/1.10.1 (2018-07-13) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.676 definitions=2020-04-07_10:2020-04-07, 2020-04-07 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1034 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2002250000 definitions=main-2004080059 X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 40273 Cc: Ludovic =?utf-8?Q?Court=C3=A8s?= , 40273@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bengt Richter Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.4 (-) Hi Florian, On +2020-04-04 01:17:50 +0200, pelzflorian (Florian Pelz) wrote: > On Fri, Apr 03, 2020 at 01:27:43AM +0200, Bengt Richter wrote: > > I think I saw that PureOS was able to handle > > different-layout keyboards in different concurrent sessions -- different keyboards and displays > > can be attached to different "seats" -- or something like that, I obviously don't know much yet ;-) > > > > Anyway, to the point: even if I'm wrong about PureOS handling concurrent > > different-layout keyboards, I think that would be a good goal > > for GuixOS/Hurd/Shepherd to implement. > > From what I understand from > , > there can be per-device keyboard layouts, but they are not handled by > XKB options. If a device specifier were added to the keyboard-layout > constructor, the device specifier would need to be turned into > appropriate xorg.conf MatchUSBID or similar. > > Regards, > Florian Sorry for the delay in replying. Thanks for the informative link! I'm really against pursuing any new design dependencies on X, so even "or similar" sounds iffy to me. Just IMO ;-) I recognize it will be a while before we can ignore X-based apps, but we can stop using it as GUI infrastructure, if Wayland can provide GUI foundation with Xwayland giving X apps a path to the screen via Wayland. Of course Wayland has dependencies on what the kernel can provide, like libdrm stuff. Wayland seems a likely X successor, and represents an opportunity to do GUI without X dependencies, for a cleaner Guix. I can report that tilix as implemented in PureOS on a Librem13v4 provides a workable GUI solution for multiple keyboards, even if it's not what I had in mind ;-) Here is an overview: PureOS is debian-based Purism variant with gnome for desktop etc and I think all composited and displayed by their Wayland, providing xwayland only as a service for apps needing the X interface, but not itself depending on X. tilix is, I think, a pure wayland client implementation, and can provide multiple simultaneous terminal tiles on the screen, overlapping or not. These window tiles are created by typing "tilix" with optional args. Without args it creates a new tile space according to a Default "profile" which you can do a LOT with, but don't need to to demo the keyboard mappings. The first tilix command will normally be typed into a widget that comes up on pressing the super key (some keyboards will have a windows flag on that key :). Subsequent tilix commands can be typed in any tilix terminal, and will produce another terminal tile accordin to parameters in the profile (of which you can create different versions). Choosing a keyboard language (separate dropdown widget at top of screen) in any of these terminal tiles that has focus will set the keyboard mapping for that terminal tile only. Switching focus to another tile will use the the kb mapping chosen for it. Persistence is attached to the terminal tile. So you could have two different language keyboards plugged in and use one to type into one tile terminal and the other for the other. You just have to switch focus to where you want the typing to appear. But this is also a kind of illusion, because both keyboards' untranslated keycodes are apparently merged into the same stream and fed where the focus is. So you can't mix languages on one terminal tile by just typing on the alternate keyboard (as I had wanted)-- you have to go to the language choice widget and temporarily switch there, no matter which keyboard you are typing on. Some keys are obviously the same, so it doesn't matter which keyboard you type those on. It goes to the focused tile and gets translated, but the mapping for those keys is the same. Right now I am in GUI emacs called as editor for mutt, and the language selection has no effect even though when I exit all the way back to the bash where I typed mutt, it will (or should ;). pidparents ? 18587 Ss /usr/bin/bash /home/bokr/bin/pidparents emacs pts/0 18069 Sl+ emacs /home/bokr/.mutt/temp/mutt-LionPure-1000-17715-4020479191039126306 sh pts/0 18068 S+ sh -c emacs '/home/bokr/.mutt/temp/mutt-LionPure-1000-17715-4020479191039126306' mutt pts/0 17715 S+ mutt bash pts/0 13623 Ss /bin/bash tilix ? 13618 Sl /usr/bin/tilix --gapplication-service systemd ? 1644 Ss /lib/systemd/systemd --user systemd ? 1 Ss /sbin/init splash And if I were at the tty initial console, the widget for language change wouldn't be there, since no gnome GUI. I would have to use loadkeys. And back in grub, another world. And back in the BIOS, another. And all considerations repeated for booting from external disks, net, whatever. Phooey ;-) There's gotta be a better way :) That "joke" enthusing about a Mach microkernel sounded good :) -- Regards, Bengt Richter From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 08 05:42:52 2020 Received: (at 40273) by debbugs.gnu.org; 8 Apr 2020 09:42:52 +0000 Received: from localhost ([127.0.0.1]:51373 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jM7ES-0000TL-0P for submit@debbugs.gnu.org; Wed, 08 Apr 2020 05:42:52 -0400 Received: from eggs.gnu.org ([209.51.188.92]:54712) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jM7EQ-0000T7-7y for 40273@debbugs.gnu.org; Wed, 08 Apr 2020 05:42:50 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:49918) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jM7EK-0002Qf-5u; Wed, 08 Apr 2020 05:42:44 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=48522 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jM7EJ-0008Lc-MA; Wed, 08 Apr 2020 05:42:43 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Bengt Richter Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts References: <20200328134202.rgl6usllluoo2b2y@pelzflorian.localdomain> <875zenyzh0.fsf@gnu.org> <20200329171609.puseiw4d4b6cxgd7@pelzflorian.localdomain> <878sjjt5cj.fsf@gmail.com> <87a73wv903.fsf@gnu.org> <87lfnfcqrh.fsf@gmail.com> <87zhbup4ke.fsf@gnu.org> <20200402232743.GA2810@LionPure> <20200403231750.ddmqx6ekr35eye2u@pelzflorian.localdomain> <20200408072018.GA17715@LionPure> X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 20 Germinal an 228 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0x090B11993D9AEBB5 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 3CE4 6455 8A84 FDC6 9DB4 0CFB 090B 1199 3D9A EBB5 X-OS: x86_64-pc-linux-gnu Date: Wed, 08 Apr 2020 11:42:41 +0200 In-Reply-To: <20200408072018.GA17715@LionPure> (Bengt Richter's message of "Wed, 8 Apr 2020 09:20:18 +0200") Message-ID: <878sj671pq.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: 40273 Cc: 40273@debbugs.gnu.org, "pelzflorian \(Florian Pelz\)" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) Hi Bengt, Bengt Richter skribis: > I'm really against pursuing any new design dependencies on X, > so even "or similar" sounds iffy to me. Just IMO ;-) The XKB database and associated tools is the de facto standard for handling keyboard layouts; it does a great job! It originated in X11 but that=E2=80=99s about the only relation it has with X11. Anyway, please let=E2=80=99s try to keep issues at Debbugs and development discussions focused otherwise it=E2=80=99s easy to all get lost in open-end= ed discussions while making very little actual progress. :-) Thanks, Ludo=E2=80=99. From debbugs-submit-bounces@debbugs.gnu.org Wed Apr 08 17:11:18 2020 Received: (at 40273) by debbugs.gnu.org; 8 Apr 2020 21:11:18 +0000 Received: from localhost ([127.0.0.1]:52955 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jMHyg-0001JH-4P for submit@debbugs.gnu.org; Wed, 08 Apr 2020 17:11:18 -0400 Received: from imta-35.everyone.net ([216.200.145.35]:33300 helo=imta-38.everyone.net) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jMHye-0001J5-9A for 40273@debbugs.gnu.org; Wed, 08 Apr 2020 17:11:16 -0400 Received: from pps.filterd (omta001.sj2.proofpoint.com [127.0.0.1]) by imta-38.everyone.net (8.16.0.27/8.16.0.27) with SMTP id 038L9636018851; Wed, 8 Apr 2020 14:11:15 -0700 X-Eon-Originating-Account: 7a3cGXvi1pbmLTesWktOKO9qc_RdtvJlpmIGPPZ3KxA X-Eon-Dm: m0116953.ppops.net Received: by m0116953.mta.everyone.net (EON-AUTHRELAY2 - 53b92b05) id m0116953.5e67f935.2e0f8b; Wed, 8 Apr 2020 14:11:14 -0700 X-Eon-Sig: AQMHrIJejj3yorF0SQIAAAAD,c76ff7e960603dc6ca902b357160dbf4 X-Eip: nT2Kk1QVF6s3S8grFbyMrGkpgx32UMQvCRs0Hs_CO5s Date: Wed, 8 Apr 2020 23:11:04 +0200 From: Bengt Richter To: Ludovic =?utf-8?Q?Court=C3=A8s?= Subject: Re: bug#40273: installer: No way to input Latin characters with non-Latin keyboard layouts Message-ID: <20200408211104.GA2529@LionPure> References: <875zenyzh0.fsf@gnu.org> <20200329171609.puseiw4d4b6cxgd7@pelzflorian.localdomain> <878sjjt5cj.fsf@gmail.com> <87a73wv903.fsf@gnu.org> <87lfnfcqrh.fsf@gmail.com> <87zhbup4ke.fsf@gnu.org> <20200402232743.GA2810@LionPure> <20200403231750.ddmqx6ekr35eye2u@pelzflorian.localdomain> <20200408072018.GA17715@LionPure> <878sj671pq.fsf@gnu.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <878sj671pq.fsf@gnu.org> User-Agent: Mutt/1.10.1 (2018-07-13) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.676 definitions=2020-04-08_08:2020-04-07, 2020-04-08 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1034 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=999 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-2002250000 definitions=main-2004080146 X-Spam-Score: -0.4 (/) X-Debbugs-Envelope-To: 40273 Cc: 40273@debbugs.gnu.org, "pelzflorian \(Florian Pelz\)" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Bengt Richter Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.4 (-) Hi Ludo, On +2020-04-08 11:42:41 +0200, Ludovic Courtès wrote: > Hi Bengt, > > Bengt Richter skribis: > > > I'm really against pursuing any new design dependencies on X, > > so even "or similar" sounds iffy to me. Just IMO ;-) > > The XKB database and associated tools is the de facto standard for > handling keyboard layouts; it does a great job! It originated in X11 > but that’s about the only relation it has with X11. > I'm more than ok with declarative data representing a legacy of valuable info. I didn't mean to deprecate that part, sorry. > Anyway, please let’s try to keep issues at Debbugs and development > discussions focused otherwise it’s easy to all get lost in open-ended > discussions while making very little actual progress. :-) > Understood. Sincere apologies for disrupting and/or distracting. I understand the problem. (After all, I'm doing it to myself: It takes me much longer to write than it does to read ;-p ) So, off-topic replies being a problem. naturally I am triggered to think about this problem, and I am tempted to post ideas about automatically diverting off-topic reply posts to guix-offtopic@gnu.org and and automatically only posting references thereto to recipients who would otherwise get the whole thing. But beyond the above, I will restrain myself ;-) Sorry about this off-original-topic post. I guess it is like social distancing to avoid infecting people with distractions ;-/ I will try to practice better hygiene :) -- Regards, Bengt Richter From debbugs-submit-bounces@debbugs.gnu.org Thu Apr 09 08:38:05 2020 Received: (at control) by debbugs.gnu.org; 9 Apr 2020 12:38:05 +0000 Received: from localhost ([127.0.0.1]:53342 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jMWRU-0005yf-FW for submit@debbugs.gnu.org; Thu, 09 Apr 2020 08:38:05 -0400 Received: from eggs.gnu.org ([209.51.188.92]:36132) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1jMWRS-0005yS-UF for control@debbugs.gnu.org; Thu, 09 Apr 2020 08:37:59 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:45103) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jMWRN-0006OX-Py for control@debbugs.gnu.org; Thu, 09 Apr 2020 08:37:53 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=39820 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jMWRN-0006hS-8O for control@debbugs.gnu.org; Thu, 09 Apr 2020 08:37:53 -0400 Date: Thu, 09 Apr 2020 14:37:50 +0200 Message-Id: <874kts4yxt.fsf@gnu.org> To: control@debbugs.gnu.org From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: control message for bug #40273 MIME-version: 1.0 Content-type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -0.7 (/) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.7 (-) severity 40273 important quit From unknown Tue Jun 17 01:50:06 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 08 May 2020 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator