aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHuang Rui <vowstar@gmail.com>2022-06-02 20:05:51 +0800
committerHuang Rui <vowstar@gmail.com>2022-06-02 20:05:51 +0800
commit34dc180aaa2b72704ed86c351b6139cd95149c7d (patch)
treeb1e8213d921032494c6d0cb11e9cb962f1acac09 /media-gfx/zwcad
parentgames-arcade/taisei: Fix install directory for docs. (diff)
downloadguru-34dc180aaa2b72704ed86c351b6139cd95149c7d.tar.gz
guru-34dc180aaa2b72704ed86c351b6139cd95149c7d.tar.bz2
guru-34dc180aaa2b72704ed86c351b6139cd95149c7d.zip
media-gfx/zwcad: fix fcitx5 environment
Signed-off-by: Huang Rui <vowstar@gmail.com>
Diffstat (limited to 'media-gfx/zwcad')
-rw-r--r--media-gfx/zwcad/zwcad-2022.22.2.2.3.ebuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/media-gfx/zwcad/zwcad-2022.22.2.2.3.ebuild b/media-gfx/zwcad/zwcad-2022.22.2.2.3.ebuild
index 6c50bfc2c..ca643b08b 100644
--- a/media-gfx/zwcad/zwcad-2022.22.2.2.3.ebuild
+++ b/media-gfx/zwcad/zwcad-2022.22.2.2.3.ebuild
@@ -89,13 +89,14 @@ if [ -z "\${QT_IM_MODULE}" ]
then
if [ -n "\$(pidof fcitx5)" ]
then
- export XMODIFIERS="@im=fcitx5"
- export QT_IM_MODULE=fcitx5
+ export XMODIFIERS="@im=fcitx"
+ export QT_IM_MODULE=fcitx
elif [ -n "\$(pidof ibus-daemon)" ]
then
export XMODIFIERS="@im=ibus"
export QT_IM_MODULE=ibus
- else
+ elif [ -n "\$(pidof fcitx)" ]
+ then
export XMODIFIERS="@im=fcitx"
export QT_IM_MODULE=fcitx
fi