# Fcitx Chinese IME problem

**URL:** https://discourse.nixos.org/t/fcitx-chinese-ime-problem/51715
**Category:** Help
**Created:** [September 6, 2024, 4:18pm UTC](https://discourse.nixos.org/t/fcitx-chinese-ime-problem/51715 "2024-09-06T16:18:15Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![remo](https://discourse.nixos.org/user_avatar/discourse.nixos.org/remo/32/28184_2.png) [@remo](https://discourse.nixos.org/u/remo)
#### Post date: [September 6, 2024, 4:18pm UTC](https://discourse.nixos.org/t/fcitx-chinese-ime-problem/51715/1 "2024-09-06T16:18:15Z")

</div>

Hyprland DE

I’ve set XMODIFIERS and QT\_IM\_MODULE in zsh.sessionVariables following fcitx’s official guide.

The problem is fairly simple:  
fcitx works totally fine if I launch an app like vscode in terminal emulators and it can normally type Chinese characters.  
However, once I use a launcher (wofi for me now), the ime won’t work but can switch input methods. The popup window is on the left-top of the screen.

Non-electron apps have the same issue.  
Firefox works fine btw.

I guess it could be some environment-specific problems as wofi runs under tty but terminal is under pts/n

---

<div class="post-metadata">

### Author: ![waffle8946](https://discourse.nixos.org/user_avatar/discourse.nixos.org/waffle8946/32/27221_2.png) [@waffle8946](https://discourse.nixos.org/u/waffle8946)
#### Post date: [September 6, 2024, 4:43pm UTC](https://discourse.nixos.org/t/fcitx-chinese-ime-problem/51715/2 "2024-09-06T16:43:47Z")

</div>

Well that’s unsurprising because you used zsh to configure the envvars which means it only works in zsh.  
What distro/OS are you using?
