Bug 9380 - Danish and Swedish xkb keymap corrections
Danish and Swedish xkb keymap corrections
Status: CLOSED RAWHIDE
Product: Red Hat Linux
Classification: Retired
Component: XFree86 (Show other bugs)
6.1
All Linux
medium Severity medium
: ---
: ---
Assigned To: Preston Brown
:
Depends On:
Blocks: 9867
  Show dependency treegraph
 
Reported: 2000-02-12 11:10 EST by Christian Rose
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2000-02-19 18:55:48 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Christian Rose 2000-02-12 11:10:00 EST
Certain keys on the Swedish (se) and Danish (dk) keyboards don't work as
expected with the xkb keymaps for those layouts. The problem arises when
one wants to type characters with accents (^"~'`) and has to use dead keys
for this. It doesn't matter if dead_keys is enabled, the problem is in the
keymap.

The problem may affect more than the Swedish and Danish layout. I use the
Swedish layout myself and the problem with the Danish layout was reported
by a Danish user, Birger Langkjer, to the Redhat I18N mailing list.
It is probably a safe bet that this problem also effects the Norwegian (no)
layout, for example, and that the solution should be similar to those
below.

The solutions:

Swedish layout
File: /usr/X11R6/lib/X11/xkb/symbols/se
The lines:
    key <AE12> {        [           acute,           grave      ]       };
    key <AD12> {        [       diaeresis,     asciicircum      ]       };
should be changed to:
    key <AE12> {        [      dead_acute,      dead_grave      ]       };
    key <AD12> {        [  dead_diaeresis, dead_circumflex      ]       };


Danish layout:
File: /usr/X11R6/lib/X11/xkb/symbols/dk
The lines:
    key <AE12> {        [           acute,           grave      ],
                        [             bar,     dead_ogonek      ]       };
    key <AD12> {        [       diaeresis,     asciicircum      ],
                        [      asciitilde,     dead_macron      ]       };
should be changed to:
    key <AE12> {        [      dead_acute,      dead_grave      ],
                        [             bar,     dead_ogonek      ]       };
    key <AD12> {        [  dead_diaeresis, dead_circumflex      ],
                        [      dead_tilde,     dead_macron      ]       };
Comment 1 Preston Brown 2000-02-14 12:49:59 EST
dk seems to have been fixed for 3.3.6.  I fixed the swedish and norwegian ones.
Comment 2 Christian Rose 2000-02-14 13:27:59 EST
The Finnish keyboard map may also be affected by this bug, as it is almost(?)
identical to the Swedish one. Sorry for not discovering this the first time.
Comment 3 Preston Brown 2000-02-14 14:54:59 EST
I'll patch that too.
Comment 4 birger.langkjer 2000-02-19 18:55:59 EST
The solution above was taken from a danish HOWTO somewhere, however there's a
more updated solution at:
http://anubis.dkuug.dk/keld/xkbd_latin1-1.5.tgz
(or http://www.dkuug.dk/keld)

I recommend using this fix instead since a lot of thought has gone into it.
Comment 5 Christian Rose 2000-08-27 13:26:45 EDT
Closing old reports.

Note You need to log in before you can comment on or make changes to this bug.