From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= Subject: Re: 07/07: services: console-keymap: Deprecate. Date: Fri, 12 Apr 2019 23:01:00 +0200 Message-ID: <87o95blz03.fsf@gnu.org> 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> <87k1g0mki5.fsf@gmail.com> 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]:50032) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hF3IG-0007Sc-Ld for guix-devel@gnu.org; Fri, 12 Apr 2019 17:01:05 -0400 In-Reply-To: <87k1g0mki5.fsf@gmail.com> (Alex Kost's message of "Thu, 11 Apr 2019 22:04:18 +0300") 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: Alex Kost Cc: guix-devel@gnu.org Hi Alex, Alex Kost skribis: > Ludovic Court=C3=A8s (2019-04-07 18:24 +0200) wrote: > > [...] >> As you found out, this is deprecated in favor of =E2=80=98keyboard-layou= t=E2=80=99, >> which has a couple of advantages: it=E2=80=99s uniform (the same config = works >> 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 all= ow me to do > this, right? Not directly, no. >> 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 experi= ence the inconsistencies >> we had before. That=E2=80=99s why I deprecated =E2=80=98console-keymap-= service=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). It=E2=80=99s deprecated in order to be removed eventually, yes. It=E2=80=99s =E2=80=9Cequivalent functionality=E2=80=9D in the sense that i= t deals with keyboard layout in the console, but it=E2=80=99s also a different interface. >> 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". I don=E2=80=99t think anyone mentioned user-friendliness, though I think user-friendliness is a good thing. :-) Anyway, keyboard settings have been a longstanding issue with several open bug reports, notably about the inconsistencies one would inevitably go through. This change was proposed precisely to address this problem. Debian uses =E2=80=98console-setup=E2=80=99 for the same reason. Now, that does not prevent users from configuring things separately, or using =E2=80=98loadkeys=E2=80=99 directly, etc. Thanks for your feedback, Ludo=E2=80=99.