[kbd] Please accept this patch to make Norwegian kb-layout actually match the markings on most Norwegian keyboards.

Alexey Gladkov gladkov.alexey at gmail.com
Tue Oct 2 23:55:13 MSK 2018


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 at lists.altlinux.org
> https://lists.altlinux.org/mailman/listinfo/kbd
> 

-- 
Rgrds, legion



More information about the kbd mailing list