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

338.1. lxi-tools-2.8

Drive a bench instrument over ethernet with SCPI, from the lxi command or the lxi-gui window

2.8-1 · BSD-3-Clause · 0.6 SBU · 375.0 KiB, 14 files · 44_apps, 68 of 422 · ports/core/eda/lxi-tools

Homepage: https://lxi-tools.github.io/

Why it is in KDOS. The comment above it in script/phases/44_apps/packages.d/eda.txt:

An LXI device announces itself over mDNS, which avahi is already running — so lxi discover finds a scope nobody typed an address for.

Depends on: meson, ninja, pkgconf, liblxi, readline, lua, glib, gtk4, libadwaita, gtksourceview5, json-glib, cairo, gdk-pixbuf, librsvg, hicolor-icon-theme.

Required by: no port names it.

Sources: lxi-tools-2.8.tar.gz (987.3 KiB). Every step kpkg takes applies to this port.

Install: script/chroot/exec.sh bash -c 'source script/phases/44_apps/phase.env && kpkg install lxi-tools'

build.sh:

meson setup build \
	--prefix=/usr \
	--libdir=lib \
	--buildtype=release \
	--wrap-mode=nofallback \
	-Dbashcompletiondir=/usr/share/bash-completion/completions \
	-Dgui=true
meson compile -C build
DESTDIR=$PKG meson install --no-rebuild -C build

for s in 48 64 128 256; do
	install -d "$PKG/usr/share/icons/hicolor/${s}x$s/apps"
	rsvg-convert -w $s -h $s \
		data/icons/hicolor/scalable/apps/io.github.lxi-tools.lxi-gui.svg \
		-o "$PKG/usr/share/icons/hicolor/${s}x$s/apps/io.github.lxi-tools.lxi-gui.png"
done

cat > "$PKG/usr/share/applications/io.github.lxi-tools.lxi-gui.desktop" <<'DESKTOP'
[Desktop Entry]
Type=Application
Name=LXI Instruments
GenericName=Instrument Control
Comment=Find, command and chart bench instruments over the network with SCPI
Exec=lxi-gui
Icon=io.github.lxi-tools.lxi-gui
Terminal=false
StartupWMClass=io.github.lxi-tools.lxi-gui
Categories=GTK;Development;Electronics;
Keywords=lxi;scpi;oscilloscope;multimeter;power supply;instrument;bench;
DESKTOP
chmod 644 "$PKG/usr/share/applications/io.github.lxi-tools.lxi-gui.desktop"

Programs: lxi, lxi-gui.

Directories: /usr/share/licenses/lxi-tools.