Pre-install fcitx and CJKV add-ons

With this, we'll get fcitx and some important add-ons for CJKV input
from Flathub, like we do Firefox.

No environment variables for compatibility with XWayland-using apps are
set here; instead this is documented at
https://linux.kde.org/docs/cjkv-input/#fixing-compatibility-issues

If it's not too disruptive, we could set them here in the future.

Resolves #329
This commit is contained in:
Nate Graham
2026-07-24 18:12:04 -06:00
parent 439c5c9642
commit 3e14424964
2 changed files with 24 additions and 2 deletions

View File

@@ -4,4 +4,20 @@
set -eux
flatpak install --noninteractive --assumeyes --sideload-repo=/usr/share/factory/var/lib/flatpak/.ostree/repo org.gtk.Gtk3theme.Breeze org.kde.gwenview org.kde.okular org.kde.kwrite org.kde.haruna org.kde.qrca org.kde.ark org.kde.kcalc org.kde.keepsecret org.mozilla.firefox
flatpak install --noninteractive --assumeyes --sideload-repo=/usr/share/factory/var/lib/flatpak/.ostree/repo \
org.gtk.Gtk3theme.Breeze \
org.kde.gwenview \
org.kde.okular \
org.kde.kwrite \
org.kde.haruna \
org.kde.qrca \
org.kde.ark \
org.kde.kcalc \
org.kde.keepsecret \
org.mozilla.firefox \
org.fcitx.Fcitx5 \
org.fcitx.Fcitx5.Addon.ChineseAddons \
org.fcitx.Fcitx5.Addon.Chewing \
org.fcitx.Fcitx5.Addon.Mozc \
org.fcitx.Fcitx5.Addon.Hangul \
org.fcitx.Fcitx5.Addon.Unikey \

View File

@@ -114,7 +114,13 @@ download_flatpaks() {
flatpak install --or-update --noninteractive --assumeyes flathub \
org.gtk.Gtk3theme.Breeze \
org.kde.kwrite \
org.mozilla.firefox
org.mozilla.firefox \
org.fcitx.Fcitx5 \
org.fcitx.Fcitx5.Addon.ChineseAddons \
org.fcitx.Fcitx5.Addon.Chewing \
org.fcitx.Fcitx5.Addon.Mozc \
org.fcitx.Fcitx5.Addon.Hangul \
org.fcitx.Fcitx5.Addon.Unikey \
# And restore default
flatpak config --unset languages