From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: Re: 07/07: services: console-keymap: Deprecate. Date: Thu, 11 Apr 2019 22:04:18 +0300 Message-ID: <87k1g0mki5.fsf@gmail.com> References: <20190405134511.7740.88403@vcs0.savannah.gnu.org> <20190405134516.BD1962158A@vcs0.savannah.gnu.org> <87v9zr7vpf.fsf@netris.org> <87tvfa29qs.fsf@gmail.com> <87r2adlr66.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([209.51.188.92]:49085) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hEezl-0000LD-DL for guix-devel@gnu.org; Thu, 11 Apr 2019 15:04:22 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hEezk-0000zT-AD for guix-devel@gnu.org; Thu, 11 Apr 2019 15:04:21 -0400 In-Reply-To: <87r2adlr66.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Sun, 07 Apr 2019 18:24:17 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel@gnu.org Ludovic Court=C3=A8s (2019-04-07 18:24 +0200) wrote: [...] > As you found out, this is deprecated in favor of =E2=80=98keyboard-layout= =E2=80=99, > which has a couple of advantages: it=E2=80=99s uniform (the same config w= orks > for GRUB, Linux, and Xorg), and it=E2=80=99s installed from the initrd, so > already effective when you type in your passphrase (see > ). > > =E2=80=98keyboard-layout=E2=80=99 definitely works for what you describe,= Mark (see the > examples in the manual.) > > If you do fancy things with Linux-native keymap files, Alex, it=E2=80=99s > probably not for you. In that case you do need > =E2=80=98console-keymap-service=E2=80=99. The fancy thing I do is simply loading my own keymap file, like this: (console-keymap-service (local-file ".../my.map")) If I understand correctly, =E2=80=98keyboard-layout=E2=80=99 does not allow= me to do this, right? > However, I was thinking that we probably want to steer users towards the > =E2=80=98keyboard-layout=E2=80=99 mechanism so they don=E2=80=99t experie= nce the inconsistencies > we had before. That=E2=80=99s why I deprecated =E2=80=98console-keymap-s= ervice=E2=80=99. I=E2=80=99d > argue that keymap experts won=E2=80=99t have difficulties coming up with a > =E2=80=98console-keymap-service=E2=80=99 if they need it. Sure, it's not a problem for me to add =E2=80=98console-keymap-service=E2= =80=99 to my config, I was just surprised that some feature was removed ("deprecating" means "removing sooner or later", right?) without replacing it with equivalent functionality (as I see it). > WDYT? Please do whatever seems appropriate to you. I just think that keyboard layouts for grub, tty and X server are completely unrelated settings, and I don't like when such unrelated configurations are combined just to become more "user-friendly". --=20 Alex