While we're on norwegian keymaps: prefer qwerty keymap
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.
Signature · 1 line
Erlend Pedersen :. <[email protected]>
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%)data/keymaps/i386/dvorak/dvorak-no.map renamed from data/keymaps/i386/dvorak/no.map +0 -0
Signature · 1 line
2.18.0
Quoted 9 lines · 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 ?
Quoted 30 lines
Attached is a trivial patch against master.
Signature · 14 lines
Erlend Pedersen :. <[email protected]> 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%)data/keymaps/i386/dvorak/dvorak-no.map renamed from data/keymaps/i386/dvorak/no.map +0
-0Signature · 7 lines
2.18.0 _______________________________________________ kbd mailing list [email protected] https://lists.altlinux.org/mailman/listinfo/kbd
Signature · 1 line
Rgrds, legion
on., 10.10.2018 kl. 08.45 +0200, skrev Alexey Gladkov:
Quoted 11 lines · On Thu, Oct 04, 2018 at 09:19:16PM +0200, Erlend Pedersen :. wrote:
Quoted 10 lines
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! :)
Quoted 7 lines
Quoted 5 lines
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 ?
I'm sorry; I didn't explain very well, so I think you got it backwards.
Almost all Norwegian users use a qwerty layout, and would hence expect a simple "no" to load a qwerty layout. Instead, it yields a dvorak layout. It's just a weird default. Renaming the dvorak/no.map to dvorak/dvorak-no.map achieves two things:
1. The default "no" map becomes qwerty.
2. The Norwegian dvorak map has a name that is consistent with all
the other dvorak/*.map files. Right now, the Norwegian map is the only one without a "dvorak-" prefix.
Signature · 1 line
Erlend Pedersen :. <[email protected]>
Quoted 9 lines · On Sun, Oct 14, 2018 at 10:32:25PM +0200, Erlend Pedersen :. wrote:
Quoted 1 line
Why you can not just load "dvorak/no" keymap ?
I'm sorry; I didn't explain very well, so I think you got it backwards.
Almost all Norwegian users use a qwerty layout, and would hence expect a simple "no" to load a qwerty layout. Instead, it yields a dvorak layout. It's just a weird default. Renaming the dvorak/no.map to dvorak/dvorak-no.map achieves two things:
Quoted 5 lines
1. The default "no" map becomes qwerty.
2. The Norwegian dvorak map has a name that is consistent with all
the other dvorak/*.map files. Right now, the Norwegian map is the only one without a "dvorak-" prefix.
Oh I see. Applied.
Signature · 1 line
Rgrds, legion