Bug 23518

Summary: Updated layout for Norwegian Keyboard
Product: xkeyboard-config Reporter: Karl Ove Hufthammer <karl>
Component: GeneralAssignee: xkb
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: Patch with updates for symbols/no

Description Karl Ove Hufthammer 2009-08-25 13:19:16 UTC
The Norwegian team for I18N and L10N of free software (the i18n-no list) has discussed improvements of the Norwegian keyboard layout, and has agreed on the additions in the attached patch.

The patch adds the following characters, used in Norwegian, or for typesetting math:

ellipsis: …
en-dash and em-dash: – and —
trademark sign: ™
pi letters: π and Π
per mille sign: ‰
non-breaking space and thin non-breaking space (nbsp include)
typographic mathematical operators on the numeric keypad (ossmath include)

Please include these changes in the next release.

Thanks!
Karl Ove Hufthammer
on behalf of i18n-no
Comment 1 Karl Ove Hufthammer 2009-08-25 13:20:42 UTC
Created attachment 28907 [details] [review]
Patch with updates for symbols/no
Comment 2 Karl Ove Hufthammer 2009-08-26 08:19:50 UTC
I also have a question regarding how setxkbmap works. When creating the patch, I used a different filename, e.g.,

/usr/share/X11/xkb/symbols/new

The command ‘setxkbmap new’ correctly loaded the new keyboard settings, and everything seemd fine, so I submitted the patch. However, now that I have changed the actual file

/usr/share/X11/xkb/symbols/no

the changes don’t seem to take effect. That is, if I type

setxkbmap new

the changes work, so that, for example, ‘AltGr + .’ gives me …
However, if I use

setxkbmap no

the changes are reverted, so that ‘AltGr + .’ gives me · instead of …

The files ‘no’ and ‘new’ contains the exact same data (‘diff’ reports no differences). So what’s going on? Should the patch be based on some other file?
Comment 3 Sergey V. Udaltsov 2009-08-28 03:09:28 UTC
Thanks, your patch is in git now.

I do not actually know why it picked the old version. May be, you have another 'no' file around (for example, ./symbols/no)? Try

setxkbmap -layout no -print | xkbcomp -I -I /usr/share/X11/xkb - :0

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.