The fcitx5 Chinese input method cannot be used in the Electron software

I am unable to use fcitx5 to switch to Chinese input method when using Electron software. I am using Wayland, and this issue is quite common on Wayland.Most software written in Electron encounters this issue, such as vscode and cursor. After my search, I found that adding --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime when running can solve the problem. However, I also encountered this issue when using Obsidian. Since it is not packaged in the Fedora official repository, I chose to run it using flatpak. In this case, I need to run it with flatpak run md.obsidian.Obsidian, and adding those parameters will result in an error and fail to run.


(没有那个文件或目录 means There is no such file or directory.
段错误 means segmentation fault
核心已转储 means Core dumped)
As a result, I can only choose to use appimage, but this way I will not be able to update the software in a timely manner. Are there any other ways to solve the input method problem?

Here’s my system info.

Check out flathub/md.obsidian.Obsidian on github. The document helps.

2 Likes

Thank you for your help, I found the answer in flathub/md.obsidian, it works for me.

1 Like