Tuesday, October 22, 2024

Enabling Japanese/Chinese (international) Input on Fedora

Enabling input methods for languages other than English on Fedora requires you to manually add the language that you want yourself through the Input Method Selector (im-chooser) tool, selecting the ibus option preference and picking the input method you want to use.  I always forget this and would go to Settings > Languages or Settings > Keyboard, but neither one of those are for adding input methods. 

*** Update 3/2024 ***

The above method stopped working on Fedora 41 (Cinnamon).  It seems like the Input Method Selector (im-chooser) isn't able to talk to ibus so it won't start the ibus-daemon.  A more direct way to is to run the ibus-setup and ibus-daemon yourself.

First, add to your .bashrc the following lines:

export GTK_IM_MODULE=ibus
export XMODIFIERS=@im=ibus
export QT_IM_MODULE=ibus

Then the following commands can be used:

ibus-setup

Lets you set up the languages, short-cut keys, etc.

ibus-daemon -d

Starts the daemon in the background.

There's another system called fcitx that can be used instead of ibus.