Makoto wrote: Mon Mar 28, 2022 12:57 am
The .deb files are still installed, but I'm wary of editing .xinitrc and trying again.
I should have written more in detail.
Even if anything is wrong with the settings related to IME, I think X will start normally. In some cases IME may not function, though.
Run the following commands in case:
# gtk-query-immodules-2.0 --update-cache
# gtk-query-immodules-3.0 --update-cache
The best place where I think the inserted lines should go is:
(part of /root/.xinitrc)
Code: Select all
if [ -f $usermodmap ]; then
xmodmap $usermodmap
fi
xhost +local: 2>/dev/null
export XMODIFIERS='@im=fcitx'
export GTK_IM_MODULE="fcitx"
export QT_IM_MODULE="fcitx"
fcitx
CURRENTWM="`cat /etc/windowmanager`"
if [ "$CURRENTWM" = "startkde" ];then
/sbin/pup_event_frontend_d & #130525
exec startkde
fi
After editing .xinitrc, restarting X is necessary.
I confirm that fcitx + anthy functions under the environment ja_JP.UTF-8.
I am not sure whether the locale setting will affect the function of the IME.
Edit
If you see a "keyboard" icon in the tray, fcitx is running. Pressing [Ctrl] + [space] will turn on Japanese input.
If nothing happens, right-click the keyboard icon, and go to "configure."
If anthy is not there, press the "+" button and add anthy. To enable the change, right-click the keyboard icon and select "restart."