Files
euri-iso/docs/launcher.md
T

51 lines
1.9 KiB
Markdown
Raw Normal View History

---
title: Launcher
layout: default
2026-06-30 19:38:41 +02:00
nav_order: 10
---
# Calamares Launcher
The `calamares-next` script (`calamares-next.sh`) handles the installer boot flow. It's installed by `calamares-branding-antergos-next` to `/usr/bin/calamares-next`.
## Boot flow
2026-07-16 20:32:23 +02:00
1. **Notice** — explains why the so-called "Offline Install" was removed (it wasn't actually offline)
2. **Welcome** — branded splash screen with an "Install" button
3. **Configuration** — copies `calamares-online/settings.conf` to `/etc/calamares/settings.conf`
4. **Launch** — runs `calamares` with the online config
## Desktop entry
`/usr/share/applications/calamares.desktop` in the live-overlay launches with:
```
Exec=sudo -E calamares-next
```
`sudo -E` preserves environment variables (`WAYLAND_DISPLAY`, `XDG_CURRENT_DESKTOP`, etc.) when launched from the SDDM session. Without it, Calamares may not detect the display server correctly.
2026-07-16 20:32:23 +02:00
## Installer flow
2026-07-16 20:32:23 +02:00
The launcher shows a YAD info notice explaining the removal of the offline mode, then presents a branded splash with a single "Install" button. Calamares launches in online mode with the DE selector.
## Config switching
`SetConfig()` in `calamares-next.sh`:
2026-07-16 20:32:23 +02:00
1. `rm -f` the existing settings file at `/etc/calamares/settings.conf`
2. `cp` the online settings file to `/etc/calamares/settings.conf`
3. 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 "Install Artix Linux" desktop entry while keeping the binary available for other uses.
## Module configs
Configs live in `live-overlay/etc/calamares-online/modules/`:
2026-07-16 20:32:23 +02:00
- `packagechooser_dm.conf` — display manager selector using `method: netinstall-select`
- `initcpiocfg.conf` — mkinitcpio configuration
2026-07-16 20:32:23 +02:00
- `services-artix.conf` — service enablement via `artix-service`