bazzite/spec_files/steamdeck-kde-presets/wayland-remove-env.patch
Chenx Dust 26c8b6d9aa
fix(kde): Remove QT_IM_MODULE and GTK_IM_MODULE for IBus in wayland (#1069)
To enable IBus in wayland session, it is necessary to remove environment variable  `QT_IM_MODULE` and `GTK_IM_MODULE`. The proper method to make ibus work is setting virtual keyboard to "IBus Wayland".
2024-05-03 16:12:03 -07:00

9 lines
304 B
Diff

diff --git a/etc/xdg/plasma-workspace/env/ibus.sh b/etc/xdg/plasma-workspace/env/ibus.sh
index 36558e7..97f74e7 100644
--- a/etc/xdg/plasma-workspace/env/ibus.sh
+++ b/etc/xdg/plasma-workspace/env/ibus.sh
@@ -1,3 +1 @@
-export QT_IM_MODULE=ibus
-export GTK_IM_MODULE=ibus
export XMODIFIERS= @ im = ibus