Fcitx5: Difference between revisions

Merrkry (talk | contribs)
Add workaround for SVG themes.
34j (talk | contribs)
 
(4 intermediate revisions by 3 users not shown)
Line 42: Line 42:
   "Groups/0/Items/1".Name = "mozc";
   "Groups/0/Items/1".Name = "mozc";
};
};
# i18n.inputMethod.fcitx5.settings.globalOptions = { };
i18n.inputMethod.fcitx5.settings.globalOptions = {
  # Without "Active By Default" set to True, fcitx5 needs to be
  # manually activated by pressing the hotkey etc. after the initial launch
  # ActiveByDefault = True;
};


# If not using Home Manager, you may want to ignore your local config at ~/.config/fcitx5 using the following option.
# Local config at ~/.config/fcitx5 needs to be ignored using the following option.
# i18n.inputMethod.fcitx5.ignoreUserConfig = true;
i18n.inputMethod.fcitx5.ignoreUserConfig = true;
}}
}}
<translate>
<translate>
Line 53: Line 57:
=== Add-ons Not Detected ===
=== Add-ons Not Detected ===


'''Do not''' install fcitx5 using <code>environment.systemPackages</code> can interfere with add-on detection. Make sure to only add fcitx5 to your config as shown in [[Special:MyLanguage/Fcitx5#Setup | Setup]].
'''Do not''' install fcitx5 using <code>environment.systemPackages</code>, since it can interfere with add-on detection. Make sure to only add fcitx5 to your config as shown in [[Special:MyLanguage/Fcitx5#Setup | Setup]].


</translate>
</translate>
Line 77: Line 81:


=== SVG Themes Broken ===
=== SVG Themes Broken ===
Themes using SVG format might not be rendered correctly. You need to introduce `librsvg`. The easiest way to do so is<syntaxhighlight lang="nix">
 
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 ];
programs.gdk-pixbuf.modulePackages = [ pkgs.librsvg ];
</syntaxhighlight>See also [https://github.com/NixOS/nixpkgs/pull/451267][https://github.com/NixOS/nixpkgs/pull/428697].
</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:}}]]