[kbd] While we're on norwegian keymaps: prefer qwerty keymap

"Erlend Pedersen :." <[email protected]> Thu, 04 Oct 2018 21:19:16 +0200
Newsgroups dev.linux.lists.kbd
Message-ID <[email protected]>
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 :. <[email protected]>
0001-Renamed-dvorak-no-keymap-to-avoid-shadowing-qwerty-n.patch (text/x-patch, 801 B)
From 273c3ce09cefbc1ad9b5c337e7749af8495142ff Mon Sep 17 00:00:00 2001
From: Erlend Pedersen <[email protected]>
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