#536006 rules/*.xml allow unsupported model/layout combinations

#536006#5
Date:
2009-07-06 18:09:23 UTC
From:
To:
Hi!

Keyboard configuration programs use /usr/share/X11/xkb/rules/*.xml file
in order to find the possible models, layouts, variants.  Unfortunately
some Macintosh-related combination are not supported.  For example the
following logical choice is not supported: keyboard model 'macintosh'
("Macintosh"), layout 'de' ("Germany") and variant 'mac_nodeadkeys'
("Germany - Macintosh, eliminate dead keys").

The reason for this is that when the user selects model 'macintosh' and
layout 'de' the file /usr/share/X11/xkb/symbols/macintosh_vndr/de is
used instead of /usr/share/X11/xkb/symbols/de and there is no
mac_nodeadkeys there.  As a result the keyboard is leaved in a bad
state.

I suppose that one possible fix for this problem would be to ignore the
files in macintosh_vndr.  The standard files in
/usr/share/X11/xkb/symbols describe all Mac-layouts so there is no need
to use the files in macintosh_vndr.  You can find attached a patch that
shows how this can be fixed but I suppose this will require some
discussion with the upstream before applying it.

Anton Zinoviev

#536006#12
Date:
2011-01-28 03:40:21 UTC
From:
To:
tag 536006 upstream
thanks

Hi Anton!

Anton Zinoviev <anton@lml.bas.bg> (06/07/2009):

(Still current with 1.8-2 (squeeze/sid) or 2.1-1 (experimental)? If
so, feel free to mark it as found in those versions.)

I'd suggest opening a bug upstream, and discussing that there
directly:
http://bugs.freedesktop.org/ (component: xkeyboard-config)

KiBi.

#536006#19
Date:
2011-01-28 20:46:33 UTC
From:
To:
forwarded 536006 https://bugs.freedesktop.org/show_bug.cgi?id=33670
thanks

Anton Zinoviev