Comment 5 for bug 989626

Revision history for this message
In , Bryce Harrington (bryce) wrote :

Created attachment 60806
dk-dvorak-fix

Forwarding this patch from Ubuntu reporter Anders Bruun Olsen:

  https://bugs.launchpad.net/ubuntu/+source/xkeyboard-config/+bug/989626

"Danish Dvorak keyboard layout is just a copy of Norwegian Dvorak created by including the xkb definition for Norwegian Dvorak in the Danish Dvorak section. Apparently Norwegian Dvorak was changed in 12.04 to no longer have the tilde key in the same place. It was correctly placed in 11.10. This is easily fixed by adding the AD12-key from Norwegian Dvorak in 11.10 to the right section in Danish Dvorak in 12.04. This change goes into /usr/share/X11/xkb/symbols/dk. I have attached a patch.

It should also be noted that when you choose to view the keyboard layout through the system settings, the tilde key for Danish Dvorak is shown as being where it has always been."

[locale]
LANG=en_DK.UTF-8
LANGUAGE=en_US:en
LC_CTYPE=en_US.UTF-8
LC_NUMERIC="en_DK.UTF-8"
LC_TIME="en_DK.UTF-8"
LC_COLLATE=en_US.UTF-8
LC_MONETARY="en_DK.UTF-8"
LC_MESSAGES=C
LC_PAPER="en_DK.UTF-8"
LC_NAME="en_DK.UTF-8"
LC_ADDRESS="en_DK.UTF-8"
LC_TELEPHONE="en_DK.UTF-8"
LC_MEASUREMENT="en_DK.UTF-8"
LC_IDENTIFICATION="en_DK.UTF-8"
LC_ALL=

[setxkbmap]
xkb_keymap {
 xkb_keycodes { include "evdev+aliases(qwerty)" };
 xkb_types { include "complete" };
 xkb_compat { include "complete" };
 xkb_symbols { include "pc+dk(dvorak)+dk:2+inet(evdev)+level3(ralt_switch_for_alts_toggle):1+level3(ralt_switch_for_alts_toggle):2+group(alts_toggle)" };
 xkb_geometry { include "pc(pc105)" };
};

[xkbcomp]
https://launchpadlibrarian.net/103251827/xkbcomp.txt