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: Sun, 07 Apr 2019 18:24:17 +0200 Message-ID: <87r2adlr66.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> 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]:54347) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hDAah-0007Dl-J2 for guix-devel@gnu.org; Sun, 07 Apr 2019 12:24:20 -0400 In-Reply-To: <87tvfa29qs.fsf@gmail.com> (Alex Kost's message of "Sat, 06 Apr 2019 22:51:07 +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 Mark & Alex, Alex Kost skribis: > Mark H Weaver (2019-04-05 21:45 -0400) wrote: > >> Hi Ludovic, >> >> guix-commits@gnu.org writes: >> >>> civodul pushed a commit to branch master >>> in repository guix. >>> >>> commit 3a665637afc32a142dc24a77ce7ce9235eb6a3af >>> Author: Ludovic Court=C3=A8s >>> Date: Wed Apr 3 14:32:41 2019 +0200 >>> >>> services: console-keymap: Deprecate. >>>=20=20=20=20=20 >>> * gnu/services/base.scm (console-keymap-service): Mark as deprecate= d. >>> * doc/guix.texi (Base Services): Remove its documentation. >> >> Why is this being deprecated? > > Ouch, this is unpleasant surprise. For the record I submitted it here: . >> Is there an alternative service to replace it? > > I wonder too! I see there is a new =E2=80=98keyboard-layout=E2=80=99 fie= ld, but if I > understand (gnu system keyboard) correctly, it does not allow me to use > my own file in "loadkeys" format. 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 wor= ks 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, M= ark (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. 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 experienc= e the inconsistencies we had before. That=E2=80=99s why I deprecated =E2=80=98console-keymap-ser= vice=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. WDYT? Ludo=E2=80=99.