steamPackages.steam-fhsenv: fix IME issues

This commit is contained in:
Guanran Wang 2024-04-12 17:36:35 +08:00
parent fce85f5e7c
commit 231bb74f99
No known key found for this signature in database
GPG Key ID: 91F97D9ED12639CF
1 changed files with 4 additions and 0 deletions

View File

@ -68,6 +68,10 @@ let
envScript = ''
# prevents various error messages
unset GIO_EXTRA_MODULES
# This is needed for IME (e.g. iBus, fcitx5) to function correctly on non-CJK locales
# https://github.com/ValveSoftware/steam-for-linux/issues/781#issuecomment-2004757379
GTK_IM_MODULE='xim'
'' + lib.toShellVars extraEnv;
in buildFHSEnv rec {