From e40f670cb41ef23eeb318cfa1e53fcd148fb84cd Mon Sep 17 00:00:00 2001 From: AiraYumi Date: Tue, 28 Jan 2025 10:52:37 +0900 Subject: [PATCH] enable ime on xwayland --- indra/newview/linux_tools/wrapper.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/indra/newview/linux_tools/wrapper.sh b/indra/newview/linux_tools/wrapper.sh index eb3f7c3109..39e5ea7af3 100755 --- a/indra/newview/linux_tools/wrapper.sh +++ b/indra/newview/linux_tools/wrapper.sh @@ -103,6 +103,10 @@ echo "LIBGL_DRIVERS_PATH is ${LIBGL_DRIVERS_PATH}" if [ "$GTK_IM_MODULE" = "scim" ]; then export GTK_IM_MODULE=xim fi +if [ "$XMODIFIERS" = "" ]; then + ## IME is valid only for fcitx, not when using ibus + export XMODIFIERS="@im=fcitx" +fi ## - Automatically work around the ATI mouse cursor crash bug: ## (this workaround is disabled as most fglrx users do not see the bug)