Open 500InternalError opened 8 months ago
Or maybe we can add an option to let user choose whether to set this environment variable or not
According to this post, it seems that this variable should not be set when you're under wayland, not just gnome.
Temporary workaround.
environment.variables.GTK_IM_MODULE = lib.mkForce "";
Perhaps the following patch is needed for ibus as well. Unfortunately I do not have time to work on it. https://github.com/NixOS/nixpkgs/pull/278765/files
Temporary workaround.
environment.variables.GTK_IM_MODULE = lib.mkForce "";
Perhaps the following patch is needed for ibus as well. Unfortunately I do not have time to work on it. https://github.com/NixOS/nixpkgs/pull/278765/files
It's not a very clean workaround, since it leaves error in log(not important though). For a cleaner workaround, you can fetch the ibus.nix and remove those variables, then disable the original module and import the modified one.
Describe the bug
IBus module sets
GTK_IM_MODULE = "ibus"
, which causes ibus still leave committed texts on screen in certain apps like gnome-console and nautilus under gnome.This environment variable should not be set under gnome any longer as it seems that gnome now handles it properly, and setting this variable will break it. (According to this and this)
Steps To Reproduce
Steps to reproduce the behavior:
GTK_IM_MODULE=ibus kgx
and type some random texts, then press left shift.Expected behavior
Committed texts should not leave on screen
Screenshots
Additional context
Add any other context about the problem here.
Notify maintainers
Metadata
Please run
nix-shell -p nix-info --run "nix-info -m"
and paste the result.Add a :+1: reaction to issues you find important.