Keyboard layout won't change when using Japanese IME

Bug #1240004 reported by Guill-muller on 2013-10-15
This bug affects 3 people
Affects Status Importance Assigned to Milestone
indicator-keyboard (Ubuntu)

Bug Description

Until Ubuntu 13.10, having an azerty keyboard layout when writing in French, and a qwerty layout for Japanese input (be it Anthy or Mozc) was only a matter of telling IBus not to "use system layout".

This option is not present in the "text entry" configuration tool, which means I am stuck with the azerty layout even when using the Japanese IME. I tried to leave the "text entry" tool to default in order to configure my IMEs directly from ibus-setup, but for some reason, even then the "do not use system layout" option doesn't work.

This is using the latest ubuntu 13.10 daily build.

tags: added: saucy
affects: im-config (Ubuntu) → indicator-keyboard (Ubuntu)
description: updated
Guill-muller (guill-muller) wrote :

Update :

After some digging, I managed to fix this by editing /usr/share/ibus/component/mozc.xml
It is a matter of replacing the <layout>default</layout> line with <layout>jp</layout>, and voilà.

Still, I believe the option should be available directly from the keyboard indicator. It's all the more confusing since doing this used to be so easy from ibus-setup.

Sebastien Bacher (seb128) wrote :

Thank you for your bug report, could you explain what the option is supposed to do exactly? If I add a japanese layout I can switch between the french and japanese ones using the indicator or the keybindings

Guill-muller (guill-muller) wrote :

I can change the layout, as in switch from French to Japanese IME and back. Here is the thing : being a french keyboard, my keyboard's default layout is azerty, and not qwerty. I used to be able to type French with the azerty layout, and in Japanese with the qwerty one, using the "do not use system layout" option. Now, the layout is azerty all the time, in French or in Japanese, except if I manually edit the line in mozc.xml.

Typing in qwerty when using the Japanese IME feels more natural since all Japanese keyboards use the qwerty layout, even though you have to keep in mind that typing the "A" key on the keyboard will show a "Q" on your screen.

Basically, it used to be :

French IME (in azerty) - Japanese IME (in qwerty)

and now it's just

French IME (in azerty) - Japanese IME (in azerty)

Is that clear enough ? I might lack the vocabulary to properly explain the situation...

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in indicator-keyboard (Ubuntu):
status: New → Confirmed
tbys (tbys) wrote :

I am having what I believe is the same problem as Guill-Muller.

I have the following entries in "input sources to use":

Japanese (mozc)

When I switch to mozc the keyboard layout remains unchanged. So if I switch from danish to mozc then I get mozc with danish keyboard layout. What I expect is that mozc has it's own keyboard layout setting or at least defaults to japanese keyboard layout.

Guill-muller (guill-muller) wrote :


This does indeed sound like the same issue.

You can still try the ugly fix I provided in comment #1 and see how it works out.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers