From: Alex Kost <alezost@gmail.com>
To: "Ludovic Courtès" <ludo@gnu.org>
Cc: guix-devel@gnu.org
Subject: Re: 07/07: services: console-keymap: Deprecate.
Date: Thu, 11 Apr 2019 22:04:18 +0300 [thread overview]
Message-ID: <87k1g0mki5.fsf@gmail.com> (raw)
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")
Ludovic Courtès (2019-04-07 18:24 +0200) wrote:
[...]
> 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’.
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, ‘keyboard-layout’ does not allow me to do
this, right?
> 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.
Sure, it's not a problem for me to add ‘console-keymap-service’ 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".
--
Alex
next prev parent reply other threads:[~2019-04-11 19:04 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
2019-04-11 19:04 ` Alex Kost [this message]
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=87k1g0mki5.fsf@gmail.com \
--to=alezost@gmail.com \
--cc=guix-devel@gnu.org \
--cc=ludo@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).