From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on sa.local.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.1 X-Auth: erlendpe Message-ID: <1a634c1a90a674264fc1087572bca66f19bb538d.camel@online.no> From: "Erlend Pedersen :." To: kbd@lists.altlinux.org Date: Sun, 14 Oct 2018 22:32:25 +0200 In-Reply-To: <20181010064541.GL3219@comp-core-i7-2640m-0182e6> References: <1538680756.26976.9.camel@online.no> <20181010064541.GL3219@comp-core-i7-2640m-0182e6> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.78 Subject: Re: [kbd] While we're on norwegian keymaps: prefer qwerty keymap X-BeenThere: kbd@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: Linux console tools development discussion List-Id: Linux console tools development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 14 Oct 2018 20:32:32 -0000 Archived-At: List-Archive: 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 :.