mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08:00
fcitx5: set im-module for X11 GTK apps
This commit is contained in:
committed by
Matthieu Coudron
parent
b9c0dae3e4
commit
df3eda5816
@@ -215,6 +215,14 @@ in
|
||||
sessionSearchVariables.QT_PLUGIN_PATH = [ "${fcitx5Package}/${pkgs.qt6.qtbase.qtPluginPrefix}" ];
|
||||
};
|
||||
|
||||
# Make sure X11 GTK apps still use IM module.
|
||||
# https://wiki.archlinux.org/title/Fcitx5#IM_modules
|
||||
gtk = lib.optionalAttrs cfg.waylandFrontend {
|
||||
gtk2.extraConfig = ''gtk-im-module="fcitx"'';
|
||||
gtk3.extraConfig.gtk-im-module = "fcitx";
|
||||
gtk4.extraConfig.gtk-im-module = "fcitx";
|
||||
};
|
||||
|
||||
xdg = {
|
||||
configFile.fcitx5 =
|
||||
let
|
||||
|
||||
Reference in New Issue
Block a user