I'm trying to get ibus-mozc
to work under WSL2. So far I can switch to different inputs using the configured shortcut, but no candidate window is displayed as I type which prevents me from inputting any Japanese characters.
Steps I've tried:
sudo apt -y install gedit ibus-mozc
- Put the following into my
~/.profile
:
export GTK_IM_MODULE=ibus export QT_IM_MODULE=ibus export XMODIFIERS=@im=ibus ibus-daemon -drxR
- Restart bash
- Open
ibus-setup
, configure the desired input shortcut and add Mozc to the list of inputs - Open
gedit
- Switch to Mozc using the configured shortcut and type some characters
Screenshot of the IBus input selection popup
What I suspect is that this is caused by mozc starting in direct input instead of kana input (Make IBus-Mozc start in Hiragana rather than Direct input mode). But because there is no taskbar in WSL, this makes it impossible to switch to kana input.
Another issue is that the Preferences button for the Mozc input within the IBus Preferences window does nothing for me.
Is there any possible solution for this issue?