Linux console tools development discussion
 help / color / mirror / Atom feed
From: "Erlend Pedersen :." <erlendpe@online.no>
To: kbd@lists.altlinux.org
Subject: [kbd] While we're on norwegian keymaps: prefer qwerty keymap
Date: Thu, 04 Oct 2018 21:19:16 +0200
Message-ID: <1538680756.26976.9.camel@online.no> (raw)

[-- Attachment #1: Type: text/plain, Size: 583 bytes --]

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?

Attached is a trivial patch against master.

-- 
Erlend Pedersen :. <erlendpe@online.no>

[-- Attachment #2: 0001-Renamed-dvorak-no-keymap-to-avoid-shadowing-qwerty-n.patch --]
[-- Type: text/x-patch, Size: 801 bytes --]

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


             reply	other threads:[~2018-10-04 19:19 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-10-04 19:19 Erlend Pedersen :. [this message]
2018-10-10  6:45 ` Alexey Gladkov
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=1538680756.26976.9.camel@online.no \
    --to=erlendpe@online.no \
    --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