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=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM autolearn=ham autolearn_force=no version=3.4.1 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=YwImXCygR9qKSwThC3mRi4bM8fbHGT00bk0/KexFfpY=; b=OLAdeo+6N8bj+HoTpSSa+hv2CbFbwovcYjIjiiHBiYcgqhmiEnPblsgIqWL4bQwLEk 0zImlwsKf7WnRNySZkLKoHpqEVKbsipPH2O5RFlynuUGKUO55qKQAMg4kLSWuzqXOmCB t1tR9FBjr+n0pW6vRBPX2fUYXYmcVVgn3nSvkLLmQ0whOXrHTTbgMMw6/xBNMSJRNtaG 6ZzCS+cpg2F+EHvwQpUPJAQn4GchHavMY80YWT9xoENU/erQxKW7i81ShKBRHHsWGNbm VA7pumSYImAdvhud1iW+RJRGN20cxLaAA/xl+lnwR9c3gH+MItSLfQQ2yH/gAFdmedtY tYVA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=YwImXCygR9qKSwThC3mRi4bM8fbHGT00bk0/KexFfpY=; b=qia8hfaoQoU7HaFrg7EsylJ1kWiFlcIQ/SdiSTK400QmPM9MfLowh0vDPbXNK/Q4WP XgAbecxf074TCYLKCRz4WLc/K8Bx6GgbvfSg2C4qy+JpgIHxwtXkOx6xkH5XmRcXBcS+ owSyNk3dcyHao42iERzJt1L44Aem2jNE/qO5+sEek9pm+StRP4MpDuzIbiFD/Peq8mTW eSLmaAqTCkV7pfmcyV/A7yQTR/yTcJEjDnVWaAFyprNCMMKm2AEl42fe5uOkmfWAydtq LVSo1+dNlHVGxGBjtWkHU288wn2ChJJch/obNcWnncMQslvSiohnf/H7ksmyhwolZrAd mCSw== X-Gm-Message-State: ABuFfoj8RCjdrUxmpD55aHP34ZYdSnIbiVpawHgi7ls6ov/vGhkqf7z7 a+gvU7LIiXhwoaI1rPFAZdL58d+DyDlgrZICMEkPbA== X-Google-Smtp-Source: ACcGV62dm1w29IQGKk5T6jlQmgQKUFMyPUcqWWRnOWurXfT2Gq3xXSTqLfopA9cT6mfpB35uZaadrlGn0n/UVUBkdEA= X-Received: by 2002:a2e:9e10:: with SMTP id e16-v6mr741863ljk.169.1538196202773; Fri, 28 Sep 2018 21:43:22 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: From: Hagbard Celine Date: Sat, 29 Sep 2018 06:43:22 +0200 Message-ID: To: kbd@lists.altlinux.org Content-Type: text/plain; charset="UTF-8" Subject: [kbd] Please accept this patch to make Norwegian kb-layout actually match the markings on most Norwegian keyboards. 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: Sat, 29 Sep 2018 04:43:25 -0000 Archived-At: List-Archive: I sent this about two weeks ago, but it did not seem to get trough(according to the list archive page). So I'm trying again after subscribing to the list. Hi. this has bothered me since my firs Linux install in the kernel 2.x days. None of the Norwegian KB-layouts for console has matched any keyboard I've ever seen. A few years ago I got fed up, and made my own layout. This layout has been used on about 10 different keyboard for more than 3 years, and Ive yet to find any key not matching the actual markings on the keys. Following is a patch against kbd-2.0.4, thanks: diff -uNr a/data/keymaps/i386/qwerty/no.map b/data/keymaps/i386/qwerty/no.map --- a/data/keymaps/i386/qwerty/no.map 2012-02-27 11:27:11.000000000 +0100 +++ b/data/keymaps/i386/qwerty/no.map 2018-09-17 09:27:14.064598049 +0100 @@ -43,20 +43,21 @@ keycode 15 = Tab shift keycode 15 = Meta_Tab alt keycode 15 = Meta_Tab -keycode 26 = braceright bracketright - control keycode 26 = Escape - alt keycode 26 = Meta_bracketleft +keycode 26 = aring Aring braceright bracketright + control keycode 26 = Control_bracketright + alt keycode 26 = Meta_bracketright keycode 27 = asciitilde asciicircum asciitilde control keycode 27 = Control_bracketright alt keycode 27 = Meta_bracketright keycode 28 = Return alt keycode 28 = Meta_Control_m keycode 29 = Control -keycode 39 = bar backslash - alt keycode 39 = Meta_semicolon -keycode 40 = braceleft bracketleft - control keycode 40 = Control_g - alt keycode 40 = Meta_apostrophe +keycode 39 = oslash Ooblique bar backslash + control keycode 39 = Control_backslash + alt keycode 39 = Meta_backslash +keycode 40 = ae AE braceleft bracketleft + control keycode 40 = Escape + alt keycode 40 = Meta_bracketleft keycode 41 = bar control keycode 41 = nul alt keycode 41 = Meta_grave