Linux console tools development discussion
 help / color / mirror / Atom feed
From: Hagbard Celine <hagbardcelin@gmail.com>
To: kbd@lists.altlinux.org
Subject: [kbd] Please accept this patch to make Norwegian kb-layout actually match the markings on most Norwegian keyboards.
Date: Sat, 29 Sep 2018 06:43:22 +0200
Message-ID: <CADoWrG_Py66T7AuVS9P+HYZbjNEov1PjrETz2QC-duc6RAnQVg@mail.gmail.com> (raw)
In-Reply-To: <CADoWrG8jjyqU0K9bXWxgjyggxUov5S0Rt=Cbh+8NFObCG9ZfrA@mail.gmail.com>

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


       reply	other threads:[~2018-09-29  4:43 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-09-29  4:43 ` Hagbard Celine [this message]
2018-10-02 20:55   ` Alexey Gladkov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADoWrG_Py66T7AuVS9P+HYZbjNEov1PjrETz2QC-duc6RAnQVg@mail.gmail.com \
    --to=hagbardcelin@gmail.com \
    --cc=kbd@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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