1

I have a Japanese keyboard and am running Ubuntu 22.04.2 LTS (Arm64). I cannot find a matching keyboard layout for typing English. All the English keyboard options I've tried have much of the punctuation in incorrect places for the Japanese keyboard. I tried the "Japanese (Macintosh)" layout but it only inputs the kana characters printed on the key caps.

Windows has a "Japanese (QWERTY)" layout which matches the keyboard and produces English characters. What is the equivalent on Ubuntu?

Note, this question has nothing to do with Japanese input, i.e the IME (mozc). I am suffering there too. mozc is using the layout of the last keyboard selected before mozc so I still can't type the punctuation. I applied the fix suggested in Japanese (Mozc) Wrong Keyboard Layout but it has made no difference.

msc
  • 215

2 Answers2

2

I found the answer. Select the "Japanese" keyboard from the list.

Since "Japanese (Macintosh) did not work, it didn't occur to me before to try "Japanese".

"Japanese (Macintosh) looks to be identical to the "Japanese (Kana)" layout which matches what's on my Windows laptop and also inputs only kana characters.

msc
  • 215
0

Let me address your sub question.

Note, this question has nothing to do with Japanese input, i.e the IME (mozc). I am suffering there too. mozc is using the layout of the last keyboard selected before mozc

The method for setting a specific layout is different in later ibus-mozc versions compared to the solution in the question you linked to. In Ubuntu 22.04 there is the ~/.config/mozc/ibus_config.textproto file where you can replace "default" with something else.

Edit:

This is what the file looks like on my system:

$ cat ~/.config/mozc/ibus_config.textproto
engines {
  name : "mozc-jp"
  longname : "Mozc"
  layout : "default"
}