teams-for-linux
teams-for-linux copied to clipboard
cannot run fcitx5 input method for appimage format
i using the fcitx5 to input chinese
i using the typora to compare teams
the teams cannot input chinese but typora it can using
the bug is your appimage not full gtk lib file
and you need export QT_IM_MODULE=fcitx export GTK_IM_MODULE=fcitx
add appimage apprun
Hi @newyorkthink, thanks for reporting.
Can you use the template and try with another packaging system? This is to ease finding the problem and solution (if there is any).
I suspect it's related to https://github.com/electron/electron/issues/33662 and that would mean we are fairly blocked.
Hi @newyorkthink, thanks for reporting.
Can you use the template and try with another packaging system? This is to ease finding the problem and solution (if there is any).
I suspect it's related to electron/electron#33662 and that would mean we are fairly blocked.
you need add this
Detect input method framework
if pgrep -x "fcitx5" > /dev/null; then export QT_IM_MODULE=fcitx export GTK_IM_MODULE=fcitx echo "Using fcitx5" elif pgrep -x "fcitx" > /dev/null; then export QT_IM_MODULE=fcitx export GTK_IM_MODULE=fcitx echo "Using fcitx" elif pgrep -x "ibus-daemon" > /dev/null; then export QT_IM_MODULE=ibus export GTK_IM_MODULE=ibus echo "Using ibus" else echo "No fcitx, fcitx5, or ibus detected, falling back to default" fi
# Detect input method framework
if pgrep -x "fcitx5" > /dev/null; then
export QT_IM_MODULE=fcitx
export GTK_IM_MODULE=fcitx
echo "Using fcitx5"
elif pgrep -x "fcitx" > /dev/null; then
export QT_IM_MODULE=fcitx
export GTK_IM_MODULE=fcitx
echo "Using fcitx"
elif pgrep -x "ibus-daemon" > /dev/null; then
export QT_IM_MODULE=ibus
export GTK_IM_MODULE=ibus
echo "Using ibus"
else
echo "No fcitx, fcitx5, or ibus detected, falling back to default"
fi
in you AppRun
Hi @newyorkthink, thanks for reporting.
Can you use the template and try with another packaging system? This is to ease finding the problem and solution (if there is any).
I suspect it's related to electron/electron#33662 and that would mean we are fairly blocked.
I try to change AppRun
and it work , but the appimage always show loss the ibus , please merge full library file for the team appimage
is my test, please fixed and review it , i just simple operate.
Thanks for the info! I got a few changes on the go, and holidays will slow things down for a bit, but I will try to add it at some point.
If anyone needs it faster, I would appreciate a PR.
I mark it as a 'workaround available'. Thanks for reporting and providing a workaround!
This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days.
@newyorkthink I tried your method but it still doesn't allow me to use fcitx in teams-for-linux
我用的是Obsidian,也是appimage 无法同时用fcitx5(wayland)。 解决方法:https://forum.obsidian.md/t/ime-fcitx-doesnt-work-when-wayland-is-enabled/79941/3
🙃
@liruohrh Yes, --enable-wayland-ime is the flag that is needed to make it work. Thank you!