# Interestingly, it is apparently available as a Flatpak. Surprisingly, it # works as if you installed the native package on most repos. --- - name: Install fcitx5 nightly Flatpak repo flatpak_remote: state: present name: fcitx5-unstable flatpakrepo_url: https://flatpak.fcitx-im.org/unstable-repo/fcitx5-unstable.flatpakrepo - name: Install i18n tools flatpak: state: present name: "{{ item }}" remote: fcitx5-unstable loop: - org.fcitx.Fcitx5 - org.fcitx.Fcitx5.Addon.Zhuyin - org.fcitx.Fcitx5.Addon.Unikey - org.fcitx.Fcitx5.Addon.Rime - org.fcitx.Fcitx5.Addon.Mozc - org.fcitx.Fcitx5.Addon.ChineseAddons - org.fcitx.Fcitx5.Addon.Lua - name: Enable fcitx5 to autostart copy: src: "{{ role_path }}/files/org.fcitx.Fcitx5.desktop" dest: "/etc/xdg/autostart/org.fcitx.Fcitx5.desktop" setype: etc_t