Bug 23518 - Updated layout for Norwegian Keyboard
Summary: Updated layout for Norwegian Keyboard
Status: RESOLVED FIXED
Alias: None
Product: xkeyboard-config
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: xkb
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-08-25 13:19 UTC by Karl Ove Hufthammer
Modified: 2009-08-28 03:09 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Patch with updates for symbols/no (971 bytes, patch)
2009-08-25 13:20 UTC, Karl Ove Hufthammer
Details | Splinter Review

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.