I’ve been trying to type Chinese/Japanese characters in VS Code on KDE, but after following a few old guides to enable alternative keyboard layouts, the language switching icon and keyboard shortcuts do work, but the character suggestion window does not pop up. I’ve tried to install fcitx but for some odd reason dnf search fcitx doesn’t show any packages/results for installation. ibus doesn’t seem to be working either, as ibus-setup fails with a python error ModuleNotFoundError: No module named 'gi' (I’m on Python 3.9.18, which seems to be the default version)
fcitx isn’t available in RHEL9 and clones. Last time I checked, which was awhile ago, ibus was working OK with Gnome. I haven’t tried with KDE though. I’ve not used VS code so I wonder if the issue is there, rather than with ibus itself.
On a more minimal install, using openbox it works for me with this in .xinitrc (or .bashrc)
Hey thanks for the exports, it helps but I found the root cause of my ibus issue.
Turns out that because I had python 3.12 installed via homebrew, ibus was calling the wrong python binary in the wrong folder. Running brew unlink python3 resolved the missing gi dependency issue.