Linux console tools development discussion
 help / color / mirror / Atom feed
* [kbd] Please accept this patch to make Norwegian kb-layout actually match the markings on most Norwegian keyboards.
  @ 2018-09-29  4:43 ` Hagbard Celine
  2018-10-02 20:55   ` Alexey Gladkov
  0 siblings, 1 reply; 2+ messages in thread
From: Hagbard Celine @ 2018-09-29  4:43 UTC (permalink / raw)
  To: kbd

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [kbd] Please accept this patch to make Norwegian kb-layout actually match the markings on most Norwegian keyboards.
  2018-09-29  4:43 ` [kbd] Please accept this patch to make Norwegian kb-layout actually match the markings on most Norwegian keyboards Hagbard Celine
@ 2018-10-02 20:55   ` Alexey Gladkov
  0 siblings, 0 replies; 2+ messages in thread
From: Alexey Gladkov @ 2018-10-02 20:55 UTC (permalink / raw)
  To: Linux console tools development discussion

On Sat, Sep 29, 2018 at 06:43:22AM +0200, Hagbard Celine wrote:
> 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:

Looks good. Applied. 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
> _______________________________________________
> kbd mailing list
> kbd@lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/kbd
> 

-- 
Rgrds, legion



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-10-02 20:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-09-29  4:43 ` [kbd] Please accept this patch to make Norwegian kb-layout actually match the markings on most Norwegian keyboards Hagbard Celine
2018-10-02 20:55   ` 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