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

Alexey Gladkov gladkov.alexey at gmail.com
Wed Oct 10 09:45:41 MSK 2018


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 at online.no>

> From 273c3ce09cefbc1ad9b5c337e7749af8495142ff Mon Sep 17 00:00:00 2001
> From: Erlend Pedersen <erlendpe at 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 at lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/kbd


-- 
Rgrds, legion



More information about the kbd mailing list