Fcitx5: Difference between revisions
Prepared the page for translation |
→Configuration: Set `i18n.inputMethod.fcitx5.ignoreUserConfig = true` even if Home Manager due to https://github.com/nix-community/home-manager/commit/6d1f834ca63700604a96d8c38aa8ac272d95071a |
||
| (4 intermediate revisions by 2 users not shown) | |||
| Line 44: | Line 44: | ||
# i18n.inputMethod.fcitx5.settings.globalOptions = { }; | # i18n.inputMethod.fcitx5.settings.globalOptions = { }; | ||
# | # Local config at ~/.config/fcitx5 needs to be ignored using the following option. | ||
i18n.inputMethod.fcitx5.ignoreUserConfig = true; | |||
}} | }} | ||
<translate> | <translate> | ||
| Line 61: | Line 61: | ||
Another possibility is that you are calling <code>${pkgs.fcitx5}/bin/fcitx5</code> instead of the patched <code>fcitx5-with-addons</code> (<code>/run/current-system/sw/bin/fcitx5</code>). For example in [[Special:MyLanguage/Hyprland|Hyprland]]: | Another possibility is that you are calling <code>${pkgs.fcitx5}/bin/fcitx5</code> instead of the patched <code>fcitx5-with-addons</code> (<code>/run/current-system/sw/bin/fcitx5</code>). For example in [[Special:MyLanguage/Hyprland|Hyprland]]: | ||
</translate> | |||
# ~/.config/hypr/hyprland.conf | # ~/.config/hypr/hyprland.conf | ||
exec-once=fcitx5 -d # not ${pkgs.fcitx5}/bin/fcitx5 ! | exec-once=fcitx5 -d # not ${pkgs.fcitx5}/bin/fcitx5 ! | ||
<translate> | |||
=== Fcitx5 Doesn't Start When Using WM === | === Fcitx5 Doesn't Start When Using WM === | ||
| Line 74: | Line 76: | ||
For more details on how to correctly set fcitx5 for different compositors and applications, refer to the [https://fcitx-im.org/wiki/Using_Fcitx_5_on_Wayland fcitx5 wiki]. | For more details on how to correctly set fcitx5 for different compositors and applications, refer to the [https://fcitx-im.org/wiki/Using_Fcitx_5_on_Wayland fcitx5 wiki]. | ||
=== SVG Themes Broken === | |||
Themes using SVG format might not be rendered correctly. You need to introduce <code>librsvg</code>. The easiest way to do so is | |||
</translate> | |||
<syntaxhighlight lang="nix"> | |||
programs.gdk-pixbuf.modulePackages = [ pkgs.librsvg ]; | |||
</syntaxhighlight> | |||
<translate> | |||
See also [https://github.com/NixOS/nixpkgs/pull/451267][https://github.com/NixOS/nixpkgs/pull/428697]. | |||
</translate> | </translate> | ||
[[Category:Applications{{#translation:}}]] | [[Category:Applications{{#translation:}}]] | ||