Comment 4 for bug 1514544

Revision history for this message
Mitsuya Shibata (cosmos-door) wrote :

Sebastien and William,

Ah, I understand. Thank you for your clarification.

Anyway, do I have a chance to drop "(xkb,us)" when layouts has specific layout like "ja"?

For example, japanese layout has completely alphabet keys as same as "us" layout.
Therefore japanese layout user doesn't need "us" layout for shortcuts and other operations.
If input-sources has "us" layout, user confuses key layout when layout switching (super+space).

- [('xkb','ja'), ('fcitx','mozc')]

  User can switch layout between xkb/ja (use direct input) and fcitx/mozc (use IME).

- [('xkb','ja'), ('xkb', 'us'), ('fcitx','mozc')]

  User needs twice "spuer+space" to switch from xkb/ja to fcitx/mozc.

My goal is dropping xkb/us from *default* settings for japanese locale.
Adding code which drop DEFAULT_LAYOUT if layouts has "ja" is acceptable?
Or should I do this out of unity-settings-daemon?