You are not logged in.

#1 2020-09-18 09:11:21

Sffred
Member
Registered: 2020-08-30
Posts: 50

[Solved] Input methods don't function in wine programs

I have tried input methods like ibus, fcitx, and wine or deepin wine, but none of them works. For ibus, It just not work in wine apps; for fcitx, it will show an candidate window below the app's window, but the words cannot be inputted into those wine apps.

I am using KDE, and both ibus and fcitx works well in other programs. My desktop environment is started by xstart, so I added these lines in ~/.xinitrc in order to use fcitx

export XMODIFIERS=@im=fcitx
export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx

And I have tried adding these lines to (for example) /opt/deepinwine/apps/Deepin-QQ/run.sh

env locale=zh_CN

export XIM="fcitx"
export GTK_IM_MODULE="fcitx"
export QT_IM_MODULE="fcitx"
export XMODIFIERS="@im=fcitx"

but it made no difference.

So is there's someway to use input method in wine programs

Last edited by Sffred (2020-10-06 04:30:14)

Offline

#2 2020-10-06 04:29:55

Sffred
Member
Registered: 2020-08-30
Posts: 50

Re: [Solved] Input methods don't function in wine programs

Now I have solved the problem - there are other lines in the default run.sh setting input methods to ibus so my export lines were overridden. Omit these lines and fcitx functions well now.

Offline

Board footer

Powered by FluxBB