Skip to content

Commit

Permalink
Fix: wrong enviroment variable in fxitx5. (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
puddings233 authored Apr 5, 2024
1 parent e2c1e18 commit a3244b9
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/guide/rookie/desktop-env-and-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -375,16 +375,16 @@ sudo pacman -S fcitx5-material-color # 输入法主题
2. 此外,我们还需要设置环境变量。通过 `vim` 编辑文件 `/etc/environment`

```bash
sudo vim /etc/environment
sudoedit /etc/environment
```

3. 在文件中加入以下内容并保存退出:

```environment
GTK_IM_MODULE=fcitx5
QT_IM_MODULE=fcitx5
XMODIFIERS=@im=fcitx5
SDL_IM_MODULE=fcitx5
GTK_IM_MODULE=fcitx
QT_IM_MODULE=fcitx
XMODIFIERS=@im=fcitx
SDL_IM_MODULE=fcitx
GLFW_IM_MODULE=ibus
```

Expand Down

0 comments on commit a3244b9

Please sign in to comment.