unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: "Ludovic Courtès" <ludo@gnu.org>
To: Alex Kost <alezost@gmail.com>
Cc: guix-devel@gnu.org
Subject: Re: 07/07: services: console-keymap: Deprecate.
Date: Sun, 07 Apr 2019 18:24:17 +0200	[thread overview]
Message-ID: <87r2adlr66.fsf@gnu.org> (raw)
In-Reply-To: <87tvfa29qs.fsf@gmail.com> (Alex Kost's message of "Sat, 06 Apr 2019 22:51:07 +0300")

Hi Mark & Alex,

Alex Kost <alezost@gmail.com> 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ès <ludo@gnu.org>
>>> Date:   Wed Apr 3 14:32:41 2019 +0200
>>>
>>>     services: console-keymap: Deprecate.
>>>     
>>>     * gnu/services/base.scm (console-keymap-service): Mark as deprecated.
>>>     * 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:
<https://issues.guix.info/issue/35120>.

>> Is there an alternative service to replace it?
>
> I wonder too!  I see there is a new ‘keyboard-layout’ field, 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 ‘keyboard-layout’,
which has a couple of advantages: it’s uniform (the same config works
for GRUB, Linux, and Xorg), and it’s installed from the initrd, so
already effective when you type in your passphrase (see
<https://issues.guix.info/issue/34929>).

‘keyboard-layout’ 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’s
probably not for you.  In that case you do need
‘console-keymap-service’.

However, I was thinking that we probably want to steer users towards the
‘keyboard-layout’ mechanism so they don’t experience the inconsistencies
we had before.  That’s why I deprecated ‘console-keymap-service’.  I’d
argue that keymap experts won’t have difficulties coming up with a
‘console-keymap-service’ if they need it.

WDYT?

Ludo’.

  reply	other threads:[~2019-04-07 16:24 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20190405134511.7740.88403@vcs0.savannah.gnu.org>
     [not found] ` <20190405134516.BD1962158A@vcs0.savannah.gnu.org>
2019-04-06  1:45   ` 07/07: services: console-keymap: Deprecate Mark H Weaver
2019-04-06 19:51     ` Alex Kost
2019-04-07 16:24       ` Ludovic Courtès [this message]
2019-04-11 19:04         ` Alex Kost
2019-04-12 21:01           ` Ludovic Courtès
2019-04-12  2:00         ` Mark H Weaver
2019-04-12 21:09           ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87r2adlr66.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=alezost@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).