From 231bb74f99a9d7305169d9cafd95a0b412728b01 Mon Sep 17 00:00:00 2001 From: Guanran Wang Date: Fri, 12 Apr 2024 17:36:35 +0800 Subject: [PATCH] steamPackages.steam-fhsenv: fix IME issues --- pkgs/games/steam/fhsenv.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/pkgs/games/steam/fhsenv.nix b/pkgs/games/steam/fhsenv.nix index 936a3510b31d..95668e1ecea9 100644 --- a/pkgs/games/steam/fhsenv.nix +++ b/pkgs/games/steam/fhsenv.nix @@ -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 {