mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-02 23:21:02 +01:00
fcitx5: set im-module for X11 GTK apps
This commit is contained in:
parent
b9c0dae3e4
commit
df3eda5816
1 changed files with 8 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue