rules/*.xml allow unsupported model/layout combinations
Submitted by Anton Zinoviev
Assigned to xkb..@..bat.ru
Description
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.