In this article, I’ll demonstrate how to use Fcitx 4 and Mozc to enable Japanese input in the Ubuntu 22.04.1 environment (fcitx-mozc).
What is Mozc?
According to GitHub, Mozc is a Japanese Input Method Editor based on Google Japanese Input that was created for several platforms, including Linux, Windows, macOS, and Android.
What is fcitx-mozc?
Fcitx-mozc is a lightweight input method framework based on Mozc and fcitx-mozc is for Japanese input.
How to enable Japanese input
- Step 1Install fcitx-mozc
Go to the Terminal and type the following command to install fcitx-mozc.
sudo apt -y install fcitx-mozc
- Step 2Change input method to Fcitx 4
Navigate to Settings, then Region & Language.
Install language support by selecting “Manage Installed Languages” from the menu.Once done, change the keyboard input method to Fcitx 4.
Close the window and log out and log back in for the change to take effect.
- Step 3Add Mozc
The keyboard icon in the top right of the screen should be visible once you log back in, indicating that Fcitx is activated.
Go to Fcitx Configuration either by clicking the keyboard icon on top of your screen or searching for Fcitx Configuration from the Show Applications.
Click + and uncheck Only Show Current Language and type “mozc”. Select Mozc and click OK and add Mozc input.
- Step 4Switch between Japanese and English input
Once Mozc has been added, you are ready to go.
When the cursor is in the text input area, you can switch between Japanese and English by using Ctrl + Space to begin typing in the Japanese language.An orange Mozc indicator showing the active status of Japanese input will appear on the top right of the screen when Japanese input is enabled.
- Extra StepChanging the trigger input method
By default, Ctrl + Space allows switching the input however if this key combination conflicts with another application, you can change the key combination as follows:
- Go to Fcitx Configuration (keyboard icon to top)
- Highlight Mozc
- Click Global Config
- Change Trigger Input Method
Comments