Calamares Launcher
The calamares-next script (calamares-next.sh) handles the installer boot flow.
Flow
- Mode picker — Dialog asking Offline or Online install
- Configuration — Copies the appropriate
settings.conf(offline or online) to/etc/calamares/settings.conf - Launch — Runs
calamareswith the selected config
Launcher location
Installed by calamares-branding-antergos-next to /usr/bin/calamares-next.
Desktop entry
/usr/share/applications/calamares.desktop in the live-overlay launches with:
Exec=sudo -E calamares-next
Note: sudo -E preserves environment variables (required for WAYLAND_DISPLAY, XDG_CURRENT_DESKTOP, etc. when launched from the SDDM session).
Mode picker (dialog)
A simple kdialog or zenity dialog:
- Offline — No internet required, installs KDE Plasma from squashfs
- Online — Init system selector + DE selector via packagechooser, downloads packages from the internet
Config switching
SetConfig() in calamares-next.sh:
- Removes existing symlink at
/etc/calamares/settings.conf(mustrm -ffirst, not overwrite, orcpfollows the symlink) - Copies the selected settings file
- Calamares reads the config on launch
Hiding “Install Artix”
The live-overlay includes calamares-config-switcher.desktop with NoDisplay=true — this hides the upstream Artix launcher while keeping the binary available.