Linux console tools development discussion
 help / color / mirror / Atom feed
* [kbd] While we're on norwegian keymaps: prefer qwerty keymap
@ 2018-10-04 19:19 Erlend Pedersen :.
  2018-10-10  6:45 ` Alexey Gladkov
  0 siblings, 1 reply; 4+ messages in thread
From: Erlend Pedersen :. @ 2018-10-04 19:19 UTC (permalink / raw)
  To: kbd

[-- 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-10-22  8:41 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-04 19:19 [kbd] While we're on norwegian keymaps: prefer qwerty keymap Erlend Pedersen :.
2018-10-10  6:45 ` Alexey Gladkov
2018-10-14 20:32   ` Erlend Pedersen :.
2018-10-22  8:41     ` Alexey Gladkov

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