I'm running Ubuntu 18.04 on my PC, I use Mozc
to input Japanese. Its default input mode is direct input(input English), I need to change it to hirakana everytime after restarting PC. Can I make hirakana to default?
I'm running Ubuntu 18.04 on my PC, I use Mozc
to input Japanese. Its default input mode is direct input(input English), I need to change it to hirakana everytime after restarting PC. Can I make hirakana to default?
Many Japanese users say that ibus-mozc has many bugs or uncomfortable features. So I think, until the bug-fix comes you can use other InputMethodEngine for a while.
or
After install open System preference > Language
Please change this into your choice iBus/fcitx/uim and restart computer or your session.
If you are keen to stick on iBus and you can build Mozc from the source code with a handy Mozc support package Mozc UT. I omit how you download and extend source files.
Then build and install this. This information is provided from A wise programmer's blog "karelie" and Glasse-age
If this is too much work for you, there's an alternative. You can switch Composition Mode by the hotkey.
First activate the Mozc then, click on Mozc Icon on the menu bar.
Mozc Tool > Configuration Tools.
Like this.
The Mozc Settings Window should appear and click on the Customize button.
When you click on the Command column, you can select actions for a hotkey, choose set input mode to Hiragana. Then you can assign your favourite hotkey, this example is for the Hiragana key that most of US keyboard layout doesn't have it. You may need to restart your computer after this setting.
Note: I think the window and the menu bar look different on 18.04 but it's essentially the same, in my opinion and I hope this helps or gives you a hint.
solution 1: recompile mozc with hiragana
A discussion can be found in Is there a way to set hiragana as default? and Enhancement Request: making initial mode customizable for ibus-mozc:
Basically, you will need:
To rebuild ibus-mozc:
cd ~
./mozc*/src/unix/ibus/property_handler.cc
, replacing:const bool kActivatedOnLaunch = false;
const bool kActivatedOnLaunch = true;
./mozc*/src/protocol/commands.proto
, replacing:sudo apt install ibus-mozc*.deb
solution 2: use the mozc default shortcuts to switch between japanese modes
The mozc's keys/shortcuts can be found from ibuz-mozc menu. You can read it from the ibus-mozc source-code too.
To access the ibus-mozc configurations:
Gnome Status menu
(Gnome's top-left bar) >IBus icon menu
(i.e. keyboard/input language selector) > SelectJapanese Mozc
input method.Gnome Status Menu
>IBuz
>tools
>Properties
>Mozc Settings window
.Keymap style
section > click oncustomize
button (first one).So, the keys that binding the japanese mode switchers (i.e. hiragana, katakana, half-with etc) in a japanese JIS keyboard are bellow in table 1:
And consider these keys too, in table 2. Mainly if you have a real non-japanese keybard. Look the Ctrl and F# switcher keys.
solution 3: bind your own shortcut keys
From the solution 2, you can insert new entries on that table. The idea is replicate the table 1, but changing the key/shortcut combinations.
For example, my suggestions:
If you are interested, you can read MOZC's romaji-hiragana conversion table too.
Solution 4: click on Ibus icon from Gnome
Click on
Gnome Status Menu
>IBus
>Input Mode
> select your desired input mode.Solution 1 resolves your question, and the others solutions are all the possible ways to switch (and to set hiragana).