Keyboards for japanese require some special "compat". Though xc/programs/xkbcomp/compat/japan file has been prepared for that, it is not used by default rule of xorg (in xc/programs/xkbcomp/rules/xorg file). For example, rules/sgi has following entry: ! layout = compat jp = complete+japan This "japana" compat file is not sgi architecture specific, so rules/xorg should have similar entry like following: ! model layout = compat pc98 nec/jp = pc98(basic) * jp = complete+japan * * = complete To be exact, keyboards which use "symbols/jp" or "symbols/sgi/jp" need "japan" compat file, because Caps_Lock is assigned to Shift+<CAPS>. If "japan" compat file does not used in those keyboards, <CAPS> without Shift modifier is also interpreted as a Lock modifier (because symbols in modifier_map are translated to keycode at last). "japan" compat file fixes this odd behavior.
Well, the rule files sgi and sun are not actively maintained these days. About the base rules file, the idea of adding * jp = complete+japan looks reasonable to me. So if you confirm it will work with all models - I'd commit it.
Well, I' ll confirm now! The settings ! model layout = compat pc98 nec/jp = pc98(basic) * jp = complete+japan * * = complete will work fine. Thanks in advance.
committed.
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.