Cannot use Mozc on ThinkPad X1 Carbon gen1 + Artix Linux (Wayland)

2 min

language: ja bn en es hi pt ru zh-cn zh-tw

Hello, I am incompetent.

I was having trouble because Mozc, which I could use with Chromium on X11, was not working.

So, after much deliberation, I went to the Arch Wiki.

https://wiki.archlinux.org/title/Fcitx5

>Fcitx5 not available in Chromium running on Wayland
This issue arises from Chromium not yet supporting GTK IM on Wayland, which can be resolved by adding --gtk-version=4 to the startup flags. If still not working, please make sure you have installed gtk4. [8]

It seems that it is not yet supported in the Wayland environment.

So, I created the following script to launch it with gtk4.
By the way, I installed gtk4 with `pacman -S gtk4` just for this purpose.

#!/bin/bash
chromium --gtk-version=4

Now I can use it.

I hope it gets proper support soon...