309.6. linuxcnc-2.9.10
CNC machine controller for mills, lathes, routers and plasma: HAL, G-code interpreter and the AXIS GUI
| Version | 2.9.10, release 3 |
| Shelf | fabrication — 3D-printing slicers and hosts, and CNC control |
| Phase | 44_apps (Applications), 127 of 422 in build order |
| Licence | GPL-2.0-or-later AND LGPL-2.1-or-later |
| Homepage | https://linuxcnc.org/ |
| Build time | 1.7 SBU |
| Installed size | 93.4 MiB in 5729 files |
| Recipe | ports/core/fabrication/linuxcnc/kpkgbuild |
About
LinuxCNC controls machine tools (mills, lathes, routers, plasma cutters) from G-code: a realtime motion layer, the HAL component system that wires it to the hardware, the RS274NGC interpreter, the Tk interfaces AXIS and the configuration picker, and GTK 3 configuration wizards. In KDOS it is built and shipped as the simulator: the package carries no setuid file, so its realtime threads run without realtime priority and it cannot drive a machine (see LinuxCNC is the simulator only).
Sources
linuxcnc-2.9.10.tar.gz(89.2 MiB)
sha2569d1f7a9177ab133de340dcdc9036c9f225eb48aabfcbc87a3df3c78dcd226f24
upstream: https://github.com/LinuxCNC/linuxcnc/archive/refs/tags/v2.9.10.tar.gz
archive copy: sources-2/fabrication--linuxcnc-2.9.10.tar.gz
Dependencies
Depends on: autoconf, automake, pkgconf, gettext, libintl, intltool, asciidoc, docbook-xsl, libxslt, python3, python3-yapps, python3-tkinter, python3-gobject, python3-cairo, python3-configobj, python3-opengl, python3-xlib, python3-dbus, python3-pillow, numpy, tcl, tk, bwidget, boost, libtirpc, libedit, readline, libmodbus, libusb, libgpiod, eudev, glib, gtk3, mesa, libglvnd, glu, libX11, libXmu, libXinerama, procps-ng, psmisc, util-linux.
Required by: no port names it.
Patches
build.sh applies these; kpkg applies nothing by itself.
link-ldflags.patch— Adds$(LDFLAGS)to the two link rules that leave it out,paneluiandlinuxcnc_module_helper, so the tree’s linker flags, and the-lintlabove, reach them too.musl.patch— musl has nomallopt(), nopthread_attr_setaffinity_np()and only the POSIXbasename(); itsstderris not assignable; its socket calls take a plainstruct sockaddrpointer; and its headers declarestruct timeval,u_shortand the byte-order helpers only where they are included by name. The patch pins the realtime thread withpthread_setaffinity_np()once the thread exists, reopensstderrin place withfreopen, gives the interpreter a GNUbasename(), casts the socket addresses, includes<endian.h>,<sys/time.h>and<sys/types.h>where they are needed, and keeps the glibc-only calls behind__GLIBC__.no-preconv.patch— Writes the HAL component manual pages straight fromhalcompileinstead of passing them through groff’spreconv, which escapes non-ASCII characters. The pages are UTF-8 and are read by mandoc, which takes UTF-8 as it is, so the build does not need groff.pygi-glib.patch— Ingremlin_view.pyandpyngcgui.py, imports GLib through PyGObject (from gi.repository import GLib as glib) instead of the staticglibmodule of the old PyGTK bindings, which is not a port.tcl9.patch— This release builds against Tcl/Tk 8 only, and Tcl/Tk 9 is the one the tree has. This is upstream’s Tcl/Tk 9 port of the C extensions (emcsh,halsh), Togl, the Tcl programs (halshow, pickconfig, tooledit) and AXIS, taken from its master branch, with the matchingconfigure.acchange.tk9-trace-add.patch— Use trace_add("write") instead of the trace("w") and trace_variable("w") API Tk 9 removed
Installation
From the repository root, inside the build container, this is the line kdosbuild runs for the port:
script/chroot/exec.sh bash -c 'source script/phases/44_apps/phase.env && kpkg install linuxcnc'
What kpkg does
kpkg runs these steps, in this order, as root inside the chroot. The port directory is /ports/core/fabrication/linuxcnc.
1. Verify every declared source. Each file a sha256 = line names, found in the port directory or in /var/cache/kpkg/sources, must hash to its line; a mismatch stops the build before anything is unpacked.
cd /ports/core/fabrication/linuxcnc
echo '9d1f7a9177ab133de340dcdc9036c9f225eb48aabfcbc87a3df3c78dcd226f24 linuxcnc-2.9.10.tar.gz' | sha256sum -c -
2. Unpack. The work directory is emptied and the first source is unpacked into $SRC with its top directory stripped; any later tarball lands unstripped beside it in $SRC_ROOT, and a file that is not a tarball is copied into $SRC.
SRC_ROOT=/var/cache/kpkg/work/linuxcnc
SRC=$SRC_ROOT/linuxcnc-2.9.10
PKG=$SRC_ROOT/pkg
rm -rf "$SRC_ROOT"
mkdir -p "$SRC" "$PKG"
tar --no-same-permissions --warning=no-unknown-keyword -xf linuxcnc-2.9.10.tar.gz -C "$SRC" --strip-components=1
Every config.guess and config.sub older than automake’s is then replaced with automake’s, so a configure script recognises the musl target.
3. Build. build.sh is sourced in a subshell under set -e, from $SRC, with name, version, release and the five paths PKGNAME, PORT_SRC, SRC_ROOT, SRC and PKG set as shell variables. Its body, verbatim:
patch -p1 -i "$PORT_SRC/musl.patch"
patch -p1 -i "$PORT_SRC/tcl9.patch"
patch -p1 -i "$PORT_SRC/tk9-trace-add.patch"
patch -p1 -i "$PORT_SRC/no-preconv.patch"
patch -p1 -i "$PORT_SRC/link-ldflags.patch"
patch -p1 -i "$PORT_SRC/pygi-glib.patch"
cd src
./autogen.sh
_py=$(python3 -c 'import sys; print(f"{sys.version_info[0]}{sys.version_info[1]}")')
export CFLAGS="$CFLAGS -g0" CXXFLAGS="$CXXFLAGS -g0"
export LDFLAGS="$LDFLAGS -Wl,--push-state,--no-as-needed -lintl -Wl,--pop-state"
./configure \
PYTHON_BIN="python$(python3 -c 'import sys; print("%d.%d" % sys.version_info[:2])')" \
PYTHON=/usr/bin/python3 \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--with-realtime=uspace \
--with-tclConfig=/usr/lib/tclConfig.sh \
--with-tkConfig=/usr/lib/tkConfig.sh \
--with-boost-python=boost_python$_py \
--enable-gtk \
--disable-gtk2 \
--disable-check-runtime-deps \
--disable-build-documentation
_ulflags='-Wall -I. -I$(RTDIR)/include -DULAPI -D_GNU_SOURCE -DLOCALE_DIR=\"$(localedir)\" -DPACKAGE=\"$(package)\"'
_mkflags=(EXTRA_DEBUG=-g0 ULFLAGS="$_ulflags" XHC_WHB04B6_DEBUG=-funwind-tables)
make "${_mkflags[@]}"
make "${_mkflags[@]}" DESTDIR="$PKG" install
find "$PKG" -perm -4000 -exec chmod u-s {} +
mv "$PKG/etc/X11/app-defaults/TkLinuxCNC" "$PKG/usr/lib/tcltk/linuxcnc/TkLinuxCNC"
rm -rf "$PKG/etc/X11"
rmdir "$PKG/lib/linuxcnc" "$PKG/lib"
_site=$(python3 -c 'import sysconfig; print(sysconfig.get_path("platlib"))')
if [ -d "$PKG/usr/lib/python3/dist-packages" ]; then
install -d "$PKG$_site"
cp -a "$PKG/usr/lib/python3/dist-packages/." "$PKG$_site/"
rm -rf "$PKG/usr/lib/python3"
fi
find "$PKG/usr/lib/tcltk/linuxcnc/msgs" -name '*.msg' ! -name 'en*.msg' -delete 2>/dev/null || true
find "$PKG/usr/share/doc/linuxcnc" -type l ! -exec test -e {} \; -delete
install -Dm644 ../linuxcncicon.png "$PKG/usr/share/icons/hicolor/48x48/apps/linuxcncicon.png"
rm -f "$PKG/usr/share/applications/linuxcnc-latency-histogram.desktop" \
"$PKG/usr/share/applications/linuxcnc-stepconf.desktop" \
"$PKG/usr/share/applications/linuxcnc-pncconf.desktop"
cat > "$PKG/usr/share/applications/linuxcnc.desktop" <<'DESKTOP'
[Desktop Entry]
Type=Application
Name=LinuxCNC
GenericName=CNC Machine Controller
Comment=Run a mill, lathe, router or plasma cutter from G-code
Exec=linuxcnc
Icon=linuxcncicon
Terminal=false
StartupWMClass=Pickconfig.tcl
Categories=Science;Engineering;
Keywords=cnc;linuxcnc;gcode;g-code;mill;lathe;router;plasma;axis;hal;
DESKTOP
cat > "$PKG/usr/share/applications/linuxcnc-latency.desktop" <<'DESKTOP'
[Desktop Entry]
Type=Application
Name=LinuxCNC Latency Test
Comment=Measure how steadily this machine keeps realtime deadlines
Exec=latency-test
Icon=linuxcncicon
Terminal=false
NoDisplay=true
StartupWMClass=Latency-test
Categories=Science;Engineering;
Keywords=cnc;linuxcnc;latency;jitter;benchmark;realtime;
DESKTOP
cat > "$PKG/usr/share/applications/stepconf.desktop" <<'DESKTOP'
[Desktop Entry]
Type=Application
Name=LinuxCNC StepConf Wizard
Comment=Write a LinuxCNC configuration for a stepper machine
Exec=stepconf
Icon=linuxcncicon
Terminal=false
StartupWMClass=stepconf
Categories=Science;Engineering;
Keywords=cnc;linuxcnc;stepper;configuration;wizard;parallel;
DESKTOP
cat > "$PKG/usr/share/applications/pncconf.desktop" <<'DESKTOP'
[Desktop Entry]
Type=Application
Name=LinuxCNC PnCConf Wizard
Comment=Write a LinuxCNC configuration for Mesa I/O cards
Exec=pncconf
Icon=linuxcncicon
Terminal=false
StartupWMClass=pncconf
Categories=Science;Engineering;
Keywords=cnc;linuxcnc;mesa;configuration;wizard;servo;
DESKTOP
chmod 644 "$PKG"/usr/share/applications/linuxcnc*.desktop \
"$PKG"/usr/share/applications/stepconf.desktop "$PKG"/usr/share/applications/pncconf.desktop
The switches, and why each is set:
-lintl— Added toLDFLAGSinside--push-state,--no-as-needed…--pop-state. gettext’slibintl.hrenamesgettext()tolibintl_gettext(), which only libintl defines, while configure probes for plaingettext()and finds it in the C library, so libintl is named on every link line throughLDFLAGS, the one variable LinuxCNC’s link rules share (two that do not are patched, below). The shared-library rules putLDFLAGSbefore the objects, where--as-neededwould drop the library, so it is linked unconditionally.-g0— Appended toCFLAGSandCXXFLAGS. The makefile puts its own-Osand-gahead of them, so the exported optimisation level wins and the trailing-g0takes the debug information back out.PYTHON_BIN— WithPYTHON=/usr/bin/python3: configure’s Python check tries a fixed list ofpython3.Nnames, then plainpython, and does not reach the tree’s Python.PYTHON_BINnames the interpreter it looks for and the library it links;PYTHONthe one the development-headers check runs.--with-realtime=uspace— The realtime layer runs as POSIX threads in userspace on the stock kernel, instead of on an RTAI kernel.--with-tclConfig=/usr/lib/tclConfig.sh— With--with-tkConfig=/usr/lib/tkConfig.sh: where tcl and tk put their configuration scripts.--with-boost-python=boost_python$_py— The Boost.Python library for the running interpreter, named by its major and minor version, as boost installs it.--enable-gtk— The parts of LinuxCNC that depend on GTK 3, the StepConf and PnCConf wizards among them. Upstream’s default, named.--disable-gtk2— The one GTK 2 part, classicladder, is not built; GTK 2 is not a port.--disable-check-runtime-deps— Skips configure’s checks for the Tcl packages and Python modules that are needed only at run time. One of them stops configure when Tclx is missing, and Tclx is not a port.--disable-build-documentation— No HTML or PDF manuals; the manual pages are still built.EXTRA_DEBUG=-g0— The realtime components compile with upstream’s-Osand-gand none of the exported flags.EXTRA_DEBUGcomes after that-gon their command line, so this-g0cancels it.ULFLAGS— The flags the Tcl, Togl and Python-embedding objects add afterCFLAGS, given as upstream’s own value without-gand-Os. Its paths and defines stay make references, single-quoted inbuild.shso make expands them.XHC_WHB04B6_DEBUG=-funwind-tables— That pendant driver’s-g -funwind-tables, without the-g.
The common switches of each build system are explained in the Flag glossary.
4. Package. kpkg removes libtool archives, the info directory index, mimeinfo.cache and every fonts.dir from $PKG, copies the source’s licence files into /usr/share/licenses/linuxcnc, prunes what the image does not ship, lints the tree and rolls it reproducibly:
tar --sort=name --format=gnu --numeric-owner --owner=0 --group=0 \
--mtime=@$SOURCE_DATE_EPOCH \
--use-compress-program='xz -9 -T0 --block-size=32MiB --no-adjust' \
-cf linuxcnc-2.9.10-3.tar.xz -C "$PKG" .
5. Adopt. kpkgadd installs the package’s files over the root, refusing a path another package owns, records the file list in /var/lib/kpkg/db/linuxcnc, and runs the triggers its paths call for.
Contents
Installed programs: 5axisgui, axis, axis-remote, debuglevel, elbpcom, genserkins, gladevcp, gladevcp_demo, gmoccapy, gremlin_view, gs2_vfd, gscreen, hal-histogram, hal_input, hal_manualtoolchange, halcmd, halcmd_twopass, halcompile, halmeter, halreport, halrmt, halrun, halsampler, halscope, halshow, halstreamer, haltcl, halui, hbmgui, hexagui, hy_gt_vfd, hy_vfd, image-to-gcode, inivar, io, iov2, latency-histogram, latency-plot, latency-test, lineardelta, linuxcnc, linuxcnc_info, linuxcnc_module_helper, linuxcnc_var, linuxcnclcd, linuxcncmkdesktop, linuxcncrsh, linuxcncsvr, linuxcnctop, maho600gui, max5gui, mb2hal, mdi, melfagui, mesambccc, milltask, millturngui, mitsub_vfd, modcompile, monitor-xhc-hb04, motion-logger, moveoff_gui, mqtt-publisher, ngcgui, panelui, pi500_vfd, pmx485, pmx485-test, pncconf, puma560gui, pumagui, pyngcgui, pyui, pyvcp, pyvcp_demo, qtplasmac-cfg2prefs, qtplasmac-materials, qtplasmac-plasmac2qt, qtplasmac_gcode, qtvcp, rotarydelta, rs274, rtapi_app, scaragui, schedrmt, scorbot-er-3, sendkeys, setup_designer, shuttle, sim-torch, sim_pin, simulate_probe, stepconf, svd-ps_vfd, teach-in, thermistor, tool_mmap_read, tool_watch, tooledit, touchy, update_ini, vfdb_vfd, vfs11_vfd, wj200_vfd, xhc-hb04, xhc-hb04-accels, xhc-whb04b-6, xyzab-tdr-gui, xyzac-trt-gui, xyzbc-trt-gui, z_level_compensation.
Installed libraries: liblinuxcnc.a, liblinuxcnchal.so, liblinuxcncini.so, libnml.so, libposemath.so, libpyplugin.so, librs274.so, libtooldata.so.
Installed directories: /etc/linuxcnc, /usr/include/linuxcnc, /usr/lib/linuxcnc, /usr/lib/python3.14/site-packages/gladevcp, /usr/lib/python3.14/site-packages/gmoccapy, /usr/lib/python3.14/site-packages/gscreen, /usr/lib/python3.14/site-packages/plasmac, /usr/lib/python3.14/site-packages/pncconf, /usr/lib/python3.14/site-packages/pyui, /usr/lib/python3.14/site-packages/qtvcp, /usr/lib/python3.14/site-packages/rs274, /usr/lib/python3.14/site-packages/stepconf, /usr/lib/python3.14/site-packages/touchy, /usr/lib/tcltk, /usr/share/axis, /usr/share/doc/linuxcnc, /usr/share/glade, /usr/share/gmoccapy, /usr/share/gscreen, /usr/share/licenses/linuxcnc, /usr/share/linuxcnc, /usr/share/qtvcp.
Short descriptions
5axisgui |
Vismach Virtual Machine GUI |
axis |
AXIS LinuxCNC Graphical User Interface |
axis-remote |
AXIS Remote Interface |
debuglevel |
sets the debug level for the non-realtime part of LinuxCNC |
elbpcom |
Communicate with Mesa ethernet cards |
gladevcp |
Virtual Control Panel for LinuxCNC based on Glade, Gtk and HAL widgets |
gladevcp_demo |
used by sample configs to deonstrate Glade Virtual_demo |
gmoccapy |
TOUCHY LinuxCNC Graphical User Interface |
gremlin_view |
G-code graphical preview |
gs2_vfd |
HAL non-realtime component for Automation Direct GS2 VFDs |
gscreen |
TOUCHY LinuxCNC Graphical User Interface |
hal-histogram |
plots the value of a HAL pin as a histogram |
hal_input |
control HAL pins with any Linux input device, including USB HID devices |
hal_manualtoolchange |
HAL non-realtime component to enable manual tool changes. |
halcmd |
manipulate the LinuxCNC HAL from the command line |
halcmd_twopass |
short description |
halcompile |
Build, compile and install LinuxCNC HAL components |
halmeter |
observe HAL pins, signals, and parameters |
halreport |
creates a report on the status of the HAL |
halrmt |
remote-control interface for LinuxCNC |
halrun |
manipulate the LinuxCNC HAL from the command line |
halsampler |
sample data from HAL in realtime |
halscope |
short description |
halshow |
Show HAL parameters, pins and signals |
halstreamer |
stream file data into HAL in real-time |
haltcl |
manipulate the LinuxCNC HAL from the command line using a Tcl interpreter. |
halui |
observe HAL pins and command LinuxCNC through NML |
hbmgui |
Vismach Virtual Machine GUI |
hexagui |
Vismach Virtual Machine GUI |
hy_gt_vfd |
HAL non-realtime component for Huanyang GT-series VFDs |
hy_vfd |
HAL non-realtime component for Huanyang VFDs |
image-to-gcode |
converts bitmap images to G-code |
inivar |
Query an INI file |
io |
interacts with HAL or G-code in non-realtime |
iov2 |
interacts with HAL or G-code in non-realtime |
latency-histogram |
plot a histogram of machine latency |
latency-plot |
another way to view latency numbers |
latency-test |
test the realtime system latency |
lineardelta |
Vismach Virtual Machine GUI |
linuxcnc |
LinuxCNC (The Enhanced Machine Controller) |
linuxcnc_info |
collects information about the LinuxCNC version and the host |
linuxcnc_module_helper |
controls root access for system hardware |
linuxcnc_var |
retrieves LinuxCNC variables |
linuxcnclcd |
LinuxCNC Graphical User Interface for LCD character display |
linuxcncmkdesktop |
create a desktop icon for LinuxCNC |
linuxcncrsh |
text-mode interface for commanding LinuxCNC over the network |
linuxcncsvr |
Allows network access to LinuxCNC internals via NML |
linuxcnctop |
live LinuxCNC status description |
maho600gui |
Vismach Virtual Machine GUI |
max5gui |
Vismach Virtual Machine GUI |
mb2hal |
HAL non-realtime component for Modbus |
mdi |
Send G-code commands from the terminal to the running LinuxCNC instance |
melfagui |
Vismach Virtual Machine GUI |
mesambccc |
Utility for compiling hm2_modbus command control description files |
milltask |
Non-realtime task controller for LinuxCNC |
mitsub_vfd |
HAL non-realtime component for Mitsubishi A500 F500 E500 A500 D700 E700 F700-series VFDs (others may work) This uses the COMPUTER LINK protocol _not_ MODBUS. The connection is made through the PU connector. |
modcompile |
Utility for compiling Modbus drivers |
monitor-xhc-hb04 |
monitors the XHC-HB04 pendant and warns of disconnection |
motion-logger |
log motion commands sent from LinuxCNC's Task module |
moveoff_gui |
a GUI for the moveoff component |
mqtt-publisher |
send HAL pin data to MQTT broker periodically |
ngcgui |
a framework for conversational G-code generation on the controller |
panelui |
interface buttons to LinuxCNC or HAL |
pi500_vfd |
Powtran PI500 Modbus driver |
pmx485 |
Modbus communications with a Powermax Plasma Cutter. |
pmx485-test |
Modbus communications testing with a Powermax Plasma Cutter |
pncconf |
configuration wizard for Mesa cards |
puma560gui |
Vismach Virtual Machine GUI |
pumagui |
Vismach Virtual Machine GUI |
pyngcgui |
Python implementation of NGCGUI |
pyui |
utility for panelui |
pyvcp |
Virtual Control Panel for LinuxCNC |
pyvcp_demo |
Python Virtual Control Panel demonstration component |
qtplasmac-cfg2prefs |
Convert plasma parameters. |
qtplasmac-materials |
Create a plasma materials file. |
qtplasmac-plasmac2qt |
Migrate a PlasmaC configuration. |
qtplasmac_gcode |
A python script that is part of Plasmac, a Plasma cutting system. |
qtvcp |
Qt-based virtual control panels |
rotarydelta |
Vismach Virtual Machine GUI |
rs274 |
standalone G-code interpreter |
rtapi_app |
creates a simulated real time environment |
scaragui |
Vismach Virtual Machine GUI |
schedrmt |
telnet based scheduler for LinuxCNC |
scorbot-er-3 |
to link the Intellitek Scorbot educational robot to LinuxCNC |
sendkeys |
send input events based on pins or scancodes from HAL |
setup_designer |
A script to configure the system for use of QTdesigner |
shuttle |
control HAL pins with the ShuttleXpress, ShuttlePRO, and ShuttlePRO2 device made by Contour Design |
sim-torch |
A simulated plasma torch |
sim_pin |
GUI for displaying and setting one or more HAL inputs |
simulate_probe |
simulate a probe input |
stepconf |
A configuration wizard for parallel-port based machines. |
svd-ps_vfd |
HAL non-realtime component for SVD-P(S) VFDs |
teach-in |
jog the machine to a position, and record the state |
thermistor |
compute temperature indicated by a thermistor |
tool_mmap_read |
A component of the tool database system (an alternative to the classic tooltable) |
tool_watch |
A component of the tool database system (an alternative to the classic tooltable) |
tooledit |
tool table editor |
touchy |
TOUCHY LinuxCNC Graphical User Interface |
update_ini |
converts 2.7 format INI files to 2.8 format |
vfdb_vfd |
HAL non-realtime component for Delta VFD-B Variable Frequency Drives |
vfs11_vfd |
HAL non-realtime component for Toshiba-Schneider VF-S11 Variable Frequency Drives |
wj200_vfd |
Hitachi wj200 modbus driver |
xhc-hb04 |
HAL non-realtime component for the xhc-hb04 pendant. |
xhc-hb04-accels |
Obsolete script for jogging wheel |
xhc-whb04b-6 |
Non-realtime jog dial HAL component for the wireless XHC WHB04B-6 USB device. |
xyzab-tdr-gui |
Vismach Virtual Machine GUI |
xyzac-trt-gui |
Vismach Virtual Machine GUI |
xyzbc-trt-gui |
Vismach Virtual Machine GUI |
Notes
The install marks rtapi_app and linuxcnc_module_helper setuid root; build.sh clears every setuid bit in the package (see setuid binaries).
No package may install under /etc/X11. The install puts the TkLinuxCNC X resource file there; build.sh moves it beside the Tcl sources in /usr/lib/tcltk/linuxcnc, where it is read from instead, and removes the directory. The install also makes an empty /lib/linuxcnc, named outright rather than under the prefix; /lib is a link to usr/lib, so build.sh removes both from the package.
configure falls back to Debian’s dist-packages when the interpreter has no Debian install scheme, and this Python imports from its own site-packages, so build.sh moves the Python modules there. The Tcl message catalogs other than English are deleted, and so are the symbolic links under /usr/share/doc/linuxcnc that point at nothing in the package.
The launcher and the latency test are Tk, so they open X11 windows under Xwayland; the wizards are GTK 3. Upstream’s entry for the latency histogram is removed: it draws with BLT, which is not a port. The latency test’s entry is NoDisplay, as a diagnostic.
The entries are KDOS’s own, written over upstream’s so that each finds its window. The launcher’s first window is Tk’s pickconfig.tcl, whose X11 instance name is pickconfig.tcl, and KWin compares an X11 window’s instance name with StartupWMClass, ignoring case, so the entry gives Pickconfig.tcl. The wizards’ Wayland app ids are their program names, stepconf and pncconf, and KWin finds a Wayland window’s icon only in the entry of that file name, so their entries are stepconf.desktop and pncconf.desktop, in place of upstream’s linuxcnc-stepconf.desktop and linuxcnc-pncconf.desktop, which build.sh removes.