This is not my first fcitx5 related question but so far I always thought my issues were specific to Wayland. But now I switched back to X11, yet fcitx5 is still not working. This is my configuration:
{
i18n.defaultLocale = "en_US.UTF-8";
i18n = {
inputMethod = {
enabled = "fcitx5";
fcitx5.addons = with pkgs; [
fcitx5-mozc
fcitx5-chinese-addons
fcitx5-gtk
];
};
};
}
and running the diagnosis tool doesn’t show me anything that’s obviously wrong. Here are a few things that it found though:
3. Qt IM module files:
**Cannot find fcitx5 input method module for Qt4.**
**Cannot find fcitx5 input method module for Qt5.**
2. `gtk-query-immodules`:
1. gtk 2:
**Cannot find `gtk-query-immodules` for gtk 2**
**Cannot find fcitx5 im module for gtk 2.**
2. gtk 3:
**Cannot find `gtk-query-immodules` for gtk 3**
**Cannot find fcitx5 im module for gtk 3.**
3. Gtk IM module cache:
1. gtk 2:
**Cannot find immodules cache for gtk 2**
**Cannot find fcitx5 im module for gtk 2 in cache.**
2. gtk 3:
**Cannot find immodules cache for gtk 3**
**Cannot find fcitx5 im module for gtk 3 in cache.**
3. gtk 4:
**Cannot find immodules cache for gtk 4**
**Cannot find fcitx5 im module for gtk 4 in cache.**
what do I mean by “it doesn’t work”? Well, I can’t get the input switcher to appear. I added Japanese input through mozc in the config tool and also tried changing the key combo for triggering the input switcher but it never works, regardless of which application I’m in.
Maybe someone here has an fcitx5 Nix config snippet they can share, which works on their machine.