Skip to the text
KDOS
Menu
kdos.dev KDOS from Scratch KDOS 0.2 · 4dd4a10 · 2026-11-30 Contents Index

347.10. fcitx5-configtool-5.1.16

Fcitx 5 settings — the System Settings input-method page and fcitx5-config-qt

5.1.16-1 · GPL-2.0-or-later · 3.4 SBU · 3.3 MiB, 13 files · 50_desktop, 23 of 92 · ports/core/input/fcitx5-configtool

Homepage: https://github.com/fcitx/fcitx5-configtool

Why it is in KDOS. The comment above it in script/phases/50_desktop/packages.txt:

The input-method page of System Settings.

fcitx5-configtool is fcitx5‘s settings interface. Its kcm_fcitx5 is the Input Method page of System Settings: which engines are active, their order, the global keys and each addon’s options. It also installs fcitx5-config-qt, the same settings as a standalone window that fcitx5’s own “Configure” action opens; kbd-layout-viewer5, which draws a keyboard layout; fcitx5-plasma-theme-generator, which writes a fcitx5 classic-UI theme from the Plasma style; and fcitx5-migrator, which imports Fcitx 4 settings. The input method itself is started by KWin, which System Settings’ Virtual Keyboard page points at fcitx5 (see Input methods).

Depends on: cmake, ninja, extra-cmake-modules, fcitx5, fcitx5-qt, qt6-qtbase, qt6-qtdeclarative, qt6-qtsvg, kitemviews, kdbusaddons, kwindowsystem, kcoreaddons, ki18n, kpackage, kdeclarative, kiconthemes, kirigami, libplasma, ksvg, kcmutils, kwidgetsaddons, iso-codes, libX11, libxkbfile, libxkbcommon, xkeyboard-config, gettext, desktop-file-utils.

Required by (1): kde-plasma.

Sources: fcitx5-configtool-5.1.16.tar.zst (154.2 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/50_desktop/phase.env && kpkg install fcitx5-configtool'

build.sh:

tar -xf "$PORT_SRC/$name-$version.tar.zst" --strip-components=1

cmake -S . -B build -G Ninja \
	-D CMAKE_INSTALL_PREFIX=/usr \
	-D KDE_INSTALL_LIBDIR=lib \
	-D CMAKE_BUILD_TYPE=Release \
	-D KDE_INSTALL_USE_QT_SYS_PATHS=ON \
	-D ENABLE_KCM=ON \
	-D ENABLE_CONFIG_QT=ON \
	-D ENABLE_TEST=OFF \
	-D CMAKE_REQUIRE_FIND_PACKAGE_KF6DBusAddons=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_KF6WindowSystem=ON \
	-D CMAKE_REQUIRE_FIND_PACKAGE_Qt6Svg=ON \
	-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build

desktop-file-edit --set-key=NoDisplay --set-value=true \
	"$PKG/usr/share/applications/org.fcitx.fcitx5-migrator.desktop"

Programs: fcitx5-config-qt, fcitx5-migrator, fcitx5-plasma-theme-generator, kbd-layout-viewer5.

Libraries: libFcitx5Migrator.so.

Directories: /usr/share/licenses/fcitx5-configtool.

The source is a .tar.zst, which kpkg copies into the work directory whole instead of unpacking; build.sh unpacks it, as the other fcitx5 recipes do.

The keyboard-layout code reads layout names from xkeyboard-config’s rules files and draws a layout through libxkbfile and Xlib’s XKB headers; it opens no X connection, but the configure requires libX11 and libxkbfile whatever is built.

fcitx5-migrator imports Fcitx 4’s configuration, which never exists on KDOS, so build.sh marks its desktop entry NoDisplay=true with desktop-file-edit from desktop-file-utils, and it is not a row in the application menu. The Input Method page’s own entry and fcitx5-config-qt’s are hidden upstream, since System Settings and fcitx5 open them.

ECM warns at configure time that each KDE_INSTALL_* directory took its value from the GNUInstallDirs one, because fcitx5’s CMake package includes GNUInstallDirs before KDEInstallDirs runs; the two agree under /usr, so the warnings change nothing.