* [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
* Re: [kbd] While we're on norwegian keymaps: prefer qwerty keymap
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 :.
0 siblings, 1 reply; 4+ messages in thread
From: Alexey Gladkov @ 2018-10-10 6:45 UTC (permalink / raw)
To: Linux console tools development discussion
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@online.no>
> 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
>
> _______________________________________________
> kbd mailing list
> kbd@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/kbd
--
Rgrds, legion
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [kbd] While we're on norwegian keymaps: prefer qwerty keymap
2018-10-10 6:45 ` Alexey Gladkov
@ 2018-10-14 20:32 ` Erlend Pedersen :.
2018-10-22 8:41 ` Alexey Gladkov
0 siblings, 1 reply; 4+ messages in thread
From: Erlend Pedersen :. @ 2018-10-14 20:32 UTC (permalink / raw)
To: kbd
on., 10.10.2018 kl. 08.45 +0200, skrev Alexey Gladkov:
> 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 ?
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.
--
Erlend Pedersen :. <erlendpe@online.no>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [kbd] While we're on norwegian keymaps: prefer qwerty keymap
2018-10-14 20:32 ` Erlend Pedersen :.
@ 2018-10-22 8:41 ` Alexey Gladkov
0 siblings, 0 replies; 4+ messages in thread
From: Alexey Gladkov @ 2018-10-22 8:41 UTC (permalink / raw)
To: Linux console tools development discussion
On Sun, Oct 14, 2018 at 10:32:25PM +0200, Erlend Pedersen :. wrote:
> > 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.
Oh I see. Applied.
--
Rgrds, legion
^ 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