Linux console tools development discussion
 help / color / mirror / Atom feed
From: Alexey Gladkov <gladkov.alexey@gmail.com>
To: Linux console tools development discussion <kbd@lists.altlinux.org>
Subject: Re: [kbd] While we're on norwegian keymaps: prefer qwerty keymap
Date: Wed, 10 Oct 2018 08:45:41 +0200
Message-ID: <20181010064541.GL3219@comp-core-i7-2640m-0182e6> (raw)
In-Reply-To: <1538680756.26976.9.camel@online.no>

On Thu, Oct 04, 2018 at 09:19:16PM +0200, Erlend Pedersen :. wrote:
> Hi!
> 
> Both the dvorak and qwerty norwegian maps are in files named "no.map".
> In NixOS, this clash yields me the dvorak map instead of the qwerty one
> when I specify a "no" keymap. I can tell you that makes supplying a very long password for decrypting har drives very interesting for a poor qwerty keyboard user! :)
> 
> I suspect most distros just quietly rename the dvorak/no.map file to
> keep it from causing problems. Perhaps the problematic keymap could be
> renamed here, at the source, instead?

Why you can not just load "dvorak/no" keymap ?

> Attached is a trivial patch against master.
> 
> -- 
> Erlend Pedersen :. <erlendpe@online.no>

> From 273c3ce09cefbc1ad9b5c337e7749af8495142ff Mon Sep 17 00:00:00 2001
> From: Erlend Pedersen <erlendpe@online.no>
> Date: Fri, 1 Dec 2017 23:51:14 +0100
> Subject: [PATCH] Renamed dvorak/no keymap to avoid shadowing qwerty/no.
> 
> Renamed data/keymaps/i386/dvorak/no.map to keep it from being loaded
> when the user wants the "no" (qwerty) keymap. Added a "dvorak-"
> prefix, making it similar to the other dvorak keymaps.
> ---
>  data/keymaps/i386/dvorak/{no.map => dvorak-no.map} | 0
>  1 file changed, 0 insertions(+), 0 deletions(-)
>  rename data/keymaps/i386/dvorak/{no.map => dvorak-no.map} (100%)
> 
> diff --git a/data/keymaps/i386/dvorak/no.map b/data/keymaps/i386/dvorak/dvorak-no.map
> similarity index 100%
> rename from data/keymaps/i386/dvorak/no.map
> rename to data/keymaps/i386/dvorak/dvorak-no.map
> -- 
> 2.18.0
> 

> _______________________________________________
> kbd mailing list
> kbd@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/kbd


-- 
Rgrds, legion



  reply	other threads:[~2018-10-10  6:45 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-04 19:19 Erlend Pedersen :.
2018-10-10  6:45 ` Alexey Gladkov [this message]
2018-10-14 20:32   ` Erlend Pedersen :.
2018-10-22  8:41     ` Alexey Gladkov

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

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

  git send-email \
    --in-reply-to=20181010064541.GL3219@comp-core-i7-2640m-0182e6 \
    --to=gladkov.alexey@gmail.com \
    --cc=kbd@lists.altlinux.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

Linux console tools development discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/kbd/0 kbd/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kbd kbd/ http://lore.altlinux.org/kbd \
		kbd@lists.altlinux.org kbd@lists.altlinux.ru kbd@lists.altlinux.com
	public-inbox-index kbd

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.kbd


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git