[kde-linux/kde-linux] /: Pre-install fcitx and CJKV add-ons

Nate Graham <[email protected]>
Newsgroups gmane.comp.kde.cvs
Message-ID <[email protected]>
Git commit 7817695e194a1475c003466dfb35331181ac3afc by Nate Graham.
Committed on 05/08/2026 at 21:45.
Pushed by ngraham into branch 'master'.

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

M  +17   -1    mkosi.extra/usr/lib/install-flatpaks
M  +7    -1    mkosi.postinst.chroot

https://invent.kde.org/kde-linux/kde-linux/-/commit/7817695e194a1475c003466dfb35331181ac3afc

diff --git a/mkosi.extra/usr/lib/install-flatpaks b/mkosi.extra/usr/lib/install-flatpaks
index 6fa25846..487d3e9f 100755
--- a/mkosi.extra/usr/lib/install-flatpaks
+++ b/mkosi.extra/usr/lib/install-flatpaks
@@ -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 \
diff --git a/mkosi.postinst.chroot b/mkosi.postinst.chroot
index 8d342e76..05f2aa6f 100755
--- a/mkosi.postinst.chroot
+++ b/mkosi.postinst.chroot
@@ -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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.