Bug 44866 - Incorrect key on Norwegian Dvorak layout
Summary: Incorrect key on Norwegian Dvorak layout
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: 2012-01-17 08:37 UTC by torquil
Modified: 2012-01-19 15:24 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description torquil 2012-01-17 08:37:03 UTC
Please direct me elsewhere if this is not the correct place for this report.

I'm using the Dvorak variant of the Norwegian layout. However, there seems to be an error on one of the keys.  Consider the file:

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

In the section "xkb_symbols "nodeadkeys"" (i.e. non Dvorak) I find:

key <AD12>  { [ diaeresis, asciicircum,   asciitilde,      macron ] };

However, in the section "xkb_symbols "dvorak"" I find

key <AD12> { [  asciitilde, asciicircum, dead_diaeresis, dead_tilde ] };

These are not supposed to be different (ignoring the "dead-property"), as seen  by comparing the following two layout images of ordinary and dvorak layouts:

http://no.wikipedia.org/wiki/Fil:KB_Norway.svg
http://dvorak.tg90nor.net/

Having them different causes problems for those who have simply moved the keys around on the keyboard to obtain the Dvorak layout.

I'm on Debian Sid using an Asus laptop. The file referred to comes from the Debian package xkb-data.
Comment 1 Sergey V. Udaltsov 2012-01-17 14:51:28 UTC
Would it be correct just to replace AD12 definition in dvorak - from the default one? Are you absolutely sure? I am asking because I do not know what are the expectations. Did you discuss that on some public (Norwegian) forum?
Comment 2 torquil 2012-01-19 01:35:43 UTC
(In reply to comment #1)
> Would it be correct just to replace AD12 definition in dvorak - from the
> default one? Are you absolutely sure? I am asking because I do not know what
> are the expectations. Did you discuss that on some public (Norwegian) forum?

Hi!

I didn't discuss it, but my claim is supported by all the images and descriptions I have found of Norwegian Dvorak on the internet:

From the official site of Norwegian Dvorak:

http://dvorak.tg90nor.net/

Translation excerpt from the "design philosophy" on the official page:

"Symbol groupings on single keys should be unchanged from QWERTY"

("Gruppering av tegn på samme tast bør beholdes uendret fra norsk QWERTY" in Norwegian)

And on wikipedia it is the same:

http://no.wikipedia.org/wiki/Fil:Touch_for_Dvoraktastaturet.png
http://no.wikipedia.org/wiki/Fil:Dvoraktastatur.png
http://no.wikipedia.org/wiki/Fil:Dvorak_hybrid.jpg
http://no.wikipedia.org/wiki/Fil:Keyboard-Dvorak-norwegian.JPG
http://no.wikipedia.org/wiki/Fil:Dvorak_klistrelapper.jpg(Thos.

( From: http://no.wikipedia.org/wiki/Dvorak_%28tastatur%29 )

So it would be correct to "replace AD12 definition in dvorak - from the
default one", as long as the dead key issue is correctly handled. I have changed from

key <AD12> { [  asciitilde, asciicircum, dead_diaeresis, dead_tilde ] };

to

key <AD12> { [  dead_diaeresis, asciicircum, asciitilde, macron] };

to fix it manually. Personally, I don't know if keys should be dead or not, in this configuration file, but I'm happy with the result, and it is consistent with the info I have found around the net.

But I will make an effort to ask on the dvorak forum or mailing list, and then get back to you with more info.
Comment 3 torquil 2012-01-19 05:18:45 UTC
Hi again!

I now have confirmation from one of the maintainers of Norwegian Dvorak:

"As the maintainer of the Norwegian Dvorak layout for Windows and the Linux text console, I can confirm that the key in question should behave identically with Norwegian QWERTY and Dvorak.
See this image for a keyboard reference:Â  http://dvorak.tg90nor.net/images/PCTastatur.gif"

For the full discussion, go here:

http://groups.yahoo.com/group/norskdvorak/message/180

After analysing the matter a bit more thoroughly, I see that the standard Norwegian QWERTY picks up the AD12 definition by using the command:

include "latin(type2)"

This picks up the definition:

key <AD12>  { [dead_diaeresis, dead_circumflex, dead_tilde, dead_caron ] };

from line 82 in the file /usr/share/X11/xkb/symbols/latin

So I think an identical line should be used in the Norwegian Dvorak variant, in the file

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

(line 86 in my version).

This works beautifully over here!
Comment 4 Sergey V. Udaltsov 2012-01-19 15:24:23 UTC
Fine, committed. Thanks!


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.