kime (Korean input) on SliTaz 5.1 x86_64, live ISOs, and issues found on the way

development en iso

otrona · 2026-11-14 10:50 UTC · edited 2026-11-14 10:53 UTC

Hello,

Over the last few days I got Korean (Hangul) input working on SliTaz 5.1 cooking x86_64 with the kime (https://github.com/Riey/kime) input method, and built two live ISOs from the firefox-x86_64 flavor. Everything is on GitHub:

- https://github.com/Otrona/slitaz-kime
  receipts for kime 3.2.0, Korean fonts and LibreOffice 7.6.7.2, metier flavors, and prebuilt .tazpkg files in the releases
- https://github.com/Otrona/slitaz-rust-meson
  Rust 1.99.1 and meson 1.5.2, receipts and packages
- https://github.com/Otrona/slitaz-qemu-clipboard
  receipts for spice-vdagent 0.20.0, spice-protocol 0.14.1 and xsel, plus the QEMU setup

There are two ISOs: kime (Firefox, kime and fonts) and kime-office (the same plus LibreOffice). Both boot in QEMU (BIOS) and on a ThinkPad E14 Gen 3 (UEFI, Ventoy). The live login is tux / tux and root / root. I haven't tested installing with tazinst from these ISOs, or Hanja and emoji input.

Below are the issues I ran into, with the workaround I used for each.

1) cook.conf has i486 values on x86_64. After cook setup, /etc/slitaz/cook.conf has i486 ARCH and CFLAGS, so C builds fail with "CPU you selected does not support x86-64 instruction set". I fixed it with sed (guest/fix-cook-conf.sh in slitaz-kime).

2) tazinst does not install cookutils. An installed system has no cook, so tazpkg get-install cookutils is needed.

3) busybox wget can't reach the HTTPS mirror on an installed system. tazpkg recharge fails with "Connection reset by peer" on https://mirror.slitaz.org. The http:// mirror works.

4) No virtio_pci on the ISO, and no virtual GPU drivers. virtio_pci is in linux-lts-virt and virtio_console in linux-lts-extra, so the live ISO can't see virtio disks or the SPICE channel. There is no X driver for qxl, virtio-gpu or bochs, so X falls back to fbdev and drawing is slow in QEMU. Real hardware is fine.

5) No spice-vdagent package. Clipboard sharing in QEMU needs spice-vdagent, which also needs modprobe uinput as root. The receipt is in slitaz-qemu-clipboard.

6) The firefox flavor lacks the rtw89 firmware. Realtek Wi-Fi 6 cards (RTL8852AE and others) are common in recent laptops. The rtw89 driver is in linux-lts-wireless, but the firmware is missing, so there is no Wi-Fi. Adding firmware-rtw89-8851b, -8852a, -8852b, -8852c and -8922a to the flavor fixed it on the ThinkPad.

7) lzma rootfs fails with Ventoy. Ventoy appends its own initramfs. With the lzma rootfs the kernel reports "rootfs image is not initramfs (LZMA data is corrupt)" and login fails. Setting COMPRESSION="xz" in the flavor receipt fixes it. I haven't checked whether the official ISO does the same.

8) metier's 120 s download limit. Large packages such as firefox-official time out on a slow connection. Downloading them into /home/slitaz/x86_64/cache/cooking first works.

9) tazlito writeiso fails on x86_64. It stops because isolinux is missing. metier works.

10) The LXTaz session ignores /etc/profile.d. lxtaz-dm reads only the locale from /etc/locale.conf, so variables such as XMODIFIERS can't be set for the session. GTK3 apps pick kime anyway, but XIM-only apps such as xterm get no Hangul.

11) The panel shows no StatusNotifierItem icons. kime's indicator never appears, because the panel supports only XEmbed tray icons.

12) Rust: busybox unxz and cook's strip step. busybox unxz reports "corrupted data" on Rust's .tar.xz; the .tar.gz works. Cook's strip step breaks librustc_driver, so rustc segfaults. COOKOPTS="!strip" fixes it.

13) LibreOffice. 7.6.7.2 is the last release that runs on glibc 2.20. Its gtk3 VCL plugin crashes on SliTaz. SAL_USE_VCLPLUGIN=gen works, and Korean input goes through XIM.

Thanks for SliTaz. Feedback is welcome here or as GitHub issues.

Image 1 of this post Image 2 of this post

1 thank you

otrona · 2026-11-14 11:20 UTC

14) get-LibreOffice is 32-bit only, so it can't work on x86_64

get-LibreOffice in the x86_64 cooking repository downloads the 32-bit
build: SUFFIX="Linux_x86_rpm.tar.gz" and URLs under .../rpm/x86/, with the
default version pinned to 6.2.8.2 ("Newer versions than 6.2.8.2 are not
available in 32-bit flavour!"). On x86_64, /lib/ld-linux.so.2 is only a
symlink to ld-linux-x86-64.so.2 and there are no 32-bit libraries, so the
resulting LibreOffice cannot run.

For x86_64 the script would need the x86-64 build: Linux_x86-64_rpm.tar.gz
under .../rpm/x86_64/. The version matters too: LibreOffice 24.2 and newer
need glibc 2.27, and SliTaz 5.1 has 2.20. 7.6.7.2 is the last release that
works (it needs glibc 2.17). My receipt for it, tested with Korean input:
https://github.com/Otrona/slitaz-kime/tree/main/wok/libreoffice
1 thank you

pankso moderator · 2026-11-15 00:18 UTC

Hey! As discussed by mail: Welcome to the SliTaz dev team! You will be able to push most of your worl by yourself.

2) That's normal, cookutils and it's deps is not necessary on a user machine.

3) Very strange, can't reproduce, Busybox wget works fine with https.

6) Adding the five rtw89 firmware packages (8851b, 8852a, 8852b, 8852c, 8922a) would make the ISO about 2.2 MB bigger, compressed. In a live session the root filesystem sits in RAM, so they would also use about 25 MB of memory once unpacked. The x86_64 kernel already has all the rtw89 drivers; the i486 kernel has none, so they only make sense on the x86_64 ISOs. For comparison, the new firmware-amdgpu-renoir package (Ryzen 4000 APUs) adds 0.44 MB to the ISO and 1.4 MB in RAM. Maybe we could provide only 8852b, 8852c et 8922a (Wi-Fi 6/6E/7) ?

7) Hu, slitaz is part of the supported distro by Ventoy and I had feedback that it work fine. It was with your custom ISO ?

8) we can increase the 129s

9) tazlito is replaced by metier

10 and 11) you are the expert on those one ;-)

And yeah, kime, libreoffice fix/update and 64bit version is welcome.

Any thing else ca be discussed here or on Filature dev threads!

otrona · 2026-11-15 07:13 UTC

Thank you, and thanks for the welcome to the dev team! How do I get push
access (hg account, and which repos: wok, flavors)?

2) Understood. I'll keep it only as a note in my README for people who want
to cook.

3) You're right: I tested again on the installed system, and both busybox
wget and tazpkg recharge now work with https. It was probably a passing
network problem on my side. Please ignore it.

6) My own laptop (ThinkPad E14 Gen 3) has a Realtek RTL8852AE. The kernel
loads rtw89/rtw8852a_fw.bin for it, so 8852b, 8852c and 8922a alone would
not help it. I'd suggest 8852a, 8852b and 8852c, the common Wi-Fi 6/6E
laptop chips, and leaving out 8851b and 8922a (Wi-Fi 7 is still rare).

7) Yes, it was my custom ISO built with metier (lzma rootfs). I haven't
tried the official firefox ISO on Ventoy yet; I'll test it and report back.

8) Thanks, a longer limit (or a retry) would help on slow connections.

9) OK, metier works well.

10 and 11) I'll look into them: lxtaz-dm reading /etc/profile.d, and maybe
snixembed for the tray icons.

15) get-wifi-firmware 2.2 (new on the mirror) fails during installation.
Its post-install tries to download old Intel firmware from
www.intellinuxwireless.org, which no longer exists: every download ends
with "404 Not Found", and the file names have an empty version
(iwlwifi-3945-ucode-.tgz, iwlwifi-4965-ucode-.tgz...), so the version
variable seems unset. It loops through every model until interrupted. These
firmwares are in linux-firmware (iwlwifi-3945-2.ucode, iwlwifi-4965-2.ucode,
iwlwifi-5000-5.ucode...), so a firmware-iwlwifi-* package could replace it.

I'll prepare kime, the LibreOffice 7.6.7.2 x86_64 update for
get-LibreOffice (or a package), and the other receipts for the wok.

pankso moderator · 2026-11-15 09:21 UTC

Foyer credentials created, check your mail!

6) I'm going to handle that

15) Thanks for the report, well spotted. One correction though: it is not new in 2.2. The post-install has called the dead intellinuxwireless.org downloads for years, which is why the version is empty and every model gets a 404. The 2.2 rebuild last night only removed the ipw2100/2200 entries, which now come from the firmware-ipw2x00 package.

You're right that it is useless now. Everything it tried to download is already in our own firmware splits:

- firmware-iwlwifi-3945, -4965, -5000, -5150, -1000 and -6000 for the Intel cards;
- firmware-rt2x00 for rt61, rt73 and rt2870 (rt2561.bin, rt2661.bin, rt73.bin, rt2870.bin).

So we are removing get-wifi-firmware from the wok and from the loram flavors. To get the firmware, just install the matching package, for example tazpkg get-install firmware-iwlwifi-4965. get-b43-firmware stays, because b43 firmware cannot be redistributed. The package will stay on the mirror until the next repository cleanup, so please don't install it in the meantime.

otrona · 2026-11-15 11:57 UTC

Thanks! And thanks for the correction on 15: I only noticed it because 2.2
appeared in the new packages list.

Update: as a new SliTaz developer, I committed today:

- get-LibreOffice 1.32 (issue 14): on x86_64 it now builds the 64-bit
  LibreOffice 7.6.7.2, and i486 still gets 6.2.8.2. It also no longer tries
  a language pack that doesn't exist, and stops instead of installing an
  empty package.

- spice-protocol 0.14.1, spice-vdagent 0.20.0 and xsel 1.2.1 (issue 5):
  clipboard sharing in QEMU. spice-vdagent has an init script: add
  spice-vdagentd to RUN_DAEMONS in /etc/rcS.conf. All three were cooked in
  the chroot and tested in QEMU.

For 6, my card (RTL8852AE) needs firmware-rtw89-8852a, in case that helps.

otrona · 2026-11-15 12:51 UTC

7) Tested tonight: the official firefox ISO (2026-11-10) boots fine with
Ventoy (normal mode) on my ThinkPad E14 Gen 3, so the problem was only the
lzma rootfs of my own ISO built with metier. Sorry for the noise.
As expected, no Wi-Fi without the rtw89 firmware ("no card"), so 6) still
applies: this card needs firmware-rtw89-8852a.

pankso moderator · 2026-11-15 20:08 UTC

@otrona

Your wifi will work in the next ISO: https://hg.slitaz.org/flavors/rev/461d08c1bbc9
1 thank you

Log in to reply Sign up