Skip to content

A hardened Linux desktop, rebuilt from scratch, with your Windows apps built in. Free and open source.

Sync with build 612: Beta 2 refresh

Dan56f0e449d05c
diff --git a/build-iso.sh b/build-iso.sh
index 81af766..d6061f7 100644
--- a/build-iso.sh
+++ b/build-iso.sh
@@ -97,6 +97,7 @@ docker run --rm --privileged \
-e WILDOS_PATCH_COUNTS="$patch_counts" \
-e WILDOS_ONLY \
-e WILDOS_PUBLISH \
+ -e WILDOS_PACKAGES_FROM \
-e WILDOS_BUILD_SLOTS -e WILDOS_UPDATES_KEY \
-e WILDOS_CHECKOUT="$PWD" \
-v "$PWD":/src:ro \
diff --git a/build/build.sh b/build/build.sh
index 10feb0f..b022104 100644
--- a/build/build.sh
+++ b/build/build.sh
@@ -152,6 +152,52 @@ wildos_suffix() {
echo "+wildos${n:-1}"
}
+# A release image carries Wild OS's packages exactly as the update repository
+# has them. Rebuilding them stamped every one with the release's own +rN,
+# higher than the published copies of unchanged packages, and a fresh install
+# was then offered dozens of "updates" to identical packages with lower
+# numbers (deb.wildos.io is pinned above everything). A source whose version
+# is published, every one of its packages, is taken from there and checked
+# against the repository's SHA-256 sums; anything not published is built.
+if [ -n "${WILDOS_PACKAGES_FROM:-}" ]; then
+ log "Taking published Wild OS packages from $WILDOS_PACKAGES_FROM"
+ # The builder has Python, not curl.
+ fetch() {
+ python3 -I -c 'import sys, urllib.request, shutil
+with urllib.request.urlopen(sys.argv[1], timeout=120) as r, open(sys.argv[2], "wb") as f:
+ shutil.copyfileobj(r, f, 1 << 20)' "$1" "$2" || { echo "ERROR: could not download $1" >&2; exit 1; }
+ }
+ index="$WORK/published-Packages"
+ fetch "$WILDOS_PACKAGES_FROM/dists/stable/main/binary-amd64/Packages" "$index"
+ published_srcs=
+ for pkg in "$WORK"/pkgsrc/*/; do
+ [ -e "$pkg/NOT-READY" ] && continue
+ ver=$(dpkg-parsechangelog -l "$pkg/debian/changelog" -S Version)
+ bins=$(sed -n 's/^Package:[[:space:]]*//p' "$pkg/debian/control")
+ files=()
+ for bin in $bins; do
+ entry=$(awk -v p="$bin" -v v="$ver" '
+ /^Package: /{name=$2} /^Version: /{version=$2} /^Filename: /{file=$2} /^SHA256: /{sum=$2}
+ /^$/{ if (name == p && (version == v || index(version, v "+r") == 1)) print file, sum; name="" }
+ END{ if (name == p && (version == v || index(version, v "+r") == 1)) print file, sum }' "$index" | tail -n 1)
+ [ -n "$entry" ] || { files=(); break; }
+ files+=("$entry")
+ done
+ [ "${#files[@]}" -gt 0 ] || continue
+ for entry in "${files[@]}"; do
+ file=${entry% *}
+ sum=${entry#* }
+ fetch "$WILDOS_PACKAGES_FROM/$file" "$WORK/repo/$(basename "$file")"
+ echo "$sum $WORK/repo/$(basename "$file")" | sha256sum -c --quiet \
+ || { echo "ERROR: $file does not match the repository's checksum" >&2; exit 1; }
+ done
+ published_srcs="$published_srcs $(basename "$pkg")"
+ done
+ log "Published, not rebuilt:${published_srcs:- none}"
+ # The rest are built as usual.
+ for name in $published_srcs; do touch "$WORK/pkgsrc/$name/PUBLISHED"; done
+fi
+
if [ -n "${WILDOS_REVISION:-}" ]; then
stamp=$(date -R)
for changelog in "$WORK"/pkgsrc/*/debian/changelog; do
@@ -175,6 +221,7 @@ else
todo=0
for pkg in "$WORK"/pkgsrc/*/; do
[ -e "$pkg/NOT-READY" ] && continue
+ [ -e "$pkg/PUBLISHED" ] && continue
if [ -n "${WILDOS_ONLY+set}" ] && [[ " $WILDOS_ONLY " != *" $(basename "$pkg") "* ]]; then continue; fi
todo=$((todo + 1))
done
@@ -187,6 +234,8 @@ else
for pkg in "$WORK"/pkgsrc/*/; do
# Work in progress is kept out of the image until it is ready.
[ -e "$pkg/NOT-READY" ] && continue
+ # Already in the image as published (WILDOS_PACKAGES_FROM).
+ [ -e "$pkg/PUBLISHED" ] && continue
# WILDOS_ONLY, when set, names the packages to build (an update that
# reuses the rest as published).
if [ -n "${WILDOS_ONLY+set}" ] && [[ " $WILDOS_ONLY " != *" $(basename "$pkg") "* ]]; then
diff --git a/packages/wildos-branding/debian/changelog b/packages/wildos-branding/debian/changelog
index 675f850..affc571 100644
--- a/packages/wildos-branding/debian/changelog
+++ b/packages/wildos-branding/debian/changelog
@@ -1,3 +1,12 @@
+wildos-branding (0.1.65) trixie; urgency=medium
+
+ * Wild OS plays its shutdown sound as it signs out, restarts or shuts
+ down, and nothing flashes on screen between the maker's logo and the
+ Wild OS screen at start-up or shutdown. Holding Shift at start-up still
+ shows the start-up menu.
+
+ -- Wild OS Developers <[email protected]> Sat, 14 Nov 2026 17:25:04 +0000
+
wildos-branding (0.1.64) trixie; urgency=medium
* The Updates icon is on the taskbar again when updates are waiting or
diff --git a/packages/wildos-branding/debian/install b/packages/wildos-branding/debian/install
index cabf6bf..49811b3 100644
--- a/packages/wildos-branding/debian/install
+++ b/packages/wildos-branding/debian/install
@@ -30,6 +30,7 @@ files/aurorae/WildOSLight/* usr/share/aurorae/themes/WildOSLight/
files/skel/.config etc/skel/
files/polkit/* usr/share/polkit-1/actions/
files/grub/45_wildos_theme.cfg etc/default/grub.d/
+files/grub/06_wildos_menu_look etc/grub.d/
files/pam-configs/* usr/share/pam-configs/
files/sounds/wildos usr/share/sounds/
icons/apps/fluent-ui-system-icons.txt usr/share/wildos-branding/licences/
diff --git a/packages/wildos-branding/debian/links b/packages/wildos-branding/debian/links
index 5f3632e..4e7bc18 100644
--- a/packages/wildos-branding/debian/links
+++ b/packages/wildos-branding/debian/links
@@ -14,3 +14,4 @@ usr/share/wildos/xdg/taskmanagerrulesrc etc/xdg/taskmanagerrulesrc
usr/lib/systemd/user/wildos-camera-mic.service usr/lib/systemd/user/graphical-session.target.wants/wildos-camera-mic.service
usr/lib/systemd/user/wildos-panic-key.service usr/lib/systemd/user/plasma-workspace.target.wants/wildos-panic-key.service
usr/lib/systemd/user/wildos-panic-key.path usr/lib/systemd/user/plasma-workspace.target.wants/wildos-panic-key.path
+usr/lib/systemd/user/wildos-logout-sound.service usr/lib/systemd/user/graphical-session.target.wants/wildos-logout-sound.service
diff --git a/packages/wildos-branding/debian/rules b/packages/wildos-branding/debian/rules
index 1447552..70cac8a 100644
--- a/packages/wildos-branding/debian/rules
+++ b/packages/wildos-branding/debian/rules
@@ -88,3 +88,4 @@ execute_after_dh_fixperms:
# USBGuard refuses rule files other users can read.
chmod 0600 debian/wildos-branding/etc/usbguard/rules.d/40-wildos-built-in.conf
chmod 0755 debian/wildos-branding/usr/lib/dracut/modules.d/*/*.sh
+ chmod 0755 debian/wildos-branding/etc/grub.d/06_wildos_menu_look
diff --git a/packages/wildos-branding/files/grub/06_wildos_menu_look b/packages/wildos-branding/files/grub/06_wildos_menu_look
new file mode 100644
index 0000000..acfed8f
--- /dev/null
+++ b/packages/wildos-branding/files/grub/06_wildos_menu_look
@@ -0,0 +1,54 @@
+#!/bin/sh
+# Draws the Wild OS start-up menu only when it is going to be seen.
+#
+# GRUB normally switches the screen to its graphics mode at every start, menu
+# hidden or not, and that mode change is a flash between the maker's logo
+# and the Wild OS screen. With GRUB_TERMINAL_OUTPUT=console
+# (45_wildos_theme.cfg) GRUB leaves the firmware's screen alone, and this
+# switches to the themed menu only when Shift is held or the last start did
+# not finish (recordfail, when the menu shows by itself). Esc during the
+# hidden timeout still opens the menu, as plain text.
+set -e
+
+prefix="/usr"
+exec_prefix="/usr"
+datarootdir="/usr/share"
+. "${pkgdatadir:-/usr/share/grub}/grub-mkconfig_lib"
+
+[ -n "$GRUB_THEME" ] && [ -f "$GRUB_THEME" ] && is_path_readable_by_grub "$GRUB_THEME" || exit 0
+
+font_path=
+for dir in "${pkgdatadir}" /boot/grub /usr/share/grub; do
+ if is_path_readable_by_grub "$dir/unicode.pf2" >/dev/null; then
+ font_path="$dir/unicode.pf2"
+ break
+ fi
+done
+[ -n "$font_path" ] || exit 0
+
+# GRUB's script has no || or &&, so the two reasons set one flag.
+cat << 'EOF'
+set wildos_menu_look=0
+if [ "${recordfail}" = 1 ]; then set wildos_menu_look=1; fi
+if keystatus --shift; then set wildos_menu_look=1; fi
+if [ "${wildos_menu_look}" = 1 ]; then
+EOF
+prepare_grub_to_access_device $(${grub_probe} --target=device "$font_path") | sed 's/^/ /'
+cat << EOF
+ if loadfont $(make_system_path_relative_to_its_root "$font_path"); then
+ set gfxmode=${GRUB_GFXMODE:-auto}
+ load_video
+ insmod gfxterm
+ terminal_output gfxterm
+ fi
+EOF
+prepare_grub_to_access_device $(${grub_probe} --target=device "$GRUB_THEME") | sed 's/^/ /'
+echo ' insmod gfxmenu'
+themedir=$(dirname "$GRUB_THEME")
+for x in "$themedir"/*.pf2 "$themedir"/f/*.pf2; do
+ [ -f "$x" ] && echo " loadfont (\$root)$(make_system_path_relative_to_its_root "$x")"
+done
+echo ' insmod png'
+echo " set theme=(\$root)$(make_system_path_relative_to_its_root "$GRUB_THEME")"
+echo ' export theme'
+echo 'fi'
diff --git a/packages/wildos-branding/files/grub/45_wildos_theme.cfg b/packages/wildos-branding/files/grub/45_wildos_theme.cfg
index d451a56..0daeb18 100644
--- a/packages/wildos-branding/files/grub/45_wildos_theme.cfg
+++ b/packages/wildos-branding/files/grub/45_wildos_theme.cfg
@@ -7,3 +7,14 @@ GRUB_THEME="/boot/grub/themes/wildos/theme.txt"
# of the last decade offer one of these; the firmware's own preference
# ("auto") is often 4K, where a 1440x900 design is tiny.
GRUB_GFXMODE="1920x1080,1920x1200,1600x900,1440x900,1366x768,1280x800,1280x720,1024x768,auto"
+
+# Nothing between the maker's logo and the Wild OS screen, as on a Mac. GRUB
+# stays on the firmware's console, so it changes no screen mode at a normal
+# start; 06_wildos_menu_look draws the themed menu only when it will be
+# seen. Linux keeps the firmware's screen mode instead of the 1024x768 that
+# Kicksecure's 30_screen_resolution.cfg asks for, and systemd's status lines
+# ("A stop job is running...") stay off the screen, in the start-up image
+# too. They still go to the log.
+GRUB_TERMINAL_OUTPUT=console
+GRUB_GFXPAYLOAD_LINUX=keep
+GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT systemd.show_status=false rd.systemd.show_status=false"
diff --git a/packages/wildos-branding/files/libexec/logout-sound b/packages/wildos-branding/files/libexec/logout-sound
new file mode 100644
index 0000000..e97ff0b
--- /dev/null
+++ b/packages/wildos-branding/files/libexec/logout-sound
@@ -0,0 +1,22 @@
+#!/bin/sh
+# Plays desktop-logout from the chosen sound scheme when the session ends
+# (wildos-logout-sound.service). It follows Settings > Sound: no sound when
+# the scheme is None or the start-up and shutdown sound switch is off, which
+# Settings keeps on Plasma's start-up event.
+read_kde() { kreadconfig6 --file "$1" --group "$2" --key "$3" 2>/dev/null; }
+
+[ "$(read_kde kdeglobals Sounds Enable)" = false ] && exit 0
+case "$(read_kde plasma_workspace.notifyrc Event/startkde Action)" in
+ *Sound*) ;;
+ *) exit 0 ;;
+esac
+theme=$(read_kde kdeglobals Sounds Theme)
+file=
+for dir in "${XDG_DATA_HOME:-$HOME/.local/share}" /usr/local/share /usr/share; do
+ if [ -f "$dir/sounds/${theme:-ocean}/stereo/desktop-logout.oga" ]; then
+ file="$dir/sounds/${theme:-ocean}/stereo/desktop-logout.oga"
+ break
+ fi
+done
+[ -n "$file" ] || exit 0
+exec pw-play "$file"
diff --git a/packages/wildos-branding/files/systemd-user/obex.service.d/wildos-quick-stop.conf b/packages/wildos-branding/files/systemd-user/obex.service.d/wildos-quick-stop.conf
new file mode 100644
index 0000000..d78d727
--- /dev/null
+++ b/packages/wildos-branding/files/systemd-user/obex.service.d/wildos-quick-stop.conf
@@ -0,0 +1,9 @@
+# Bluetooth file transfer (obexd) hung for 15 seconds at every sign-out and
+# shutdown: the session's D-Bus had already stopped and obexd waited on it.
+# Stopping it while D-Bus is still there lets it end at once; the timeout
+# keeps a stuck one from holding the shutdown back.
+[Unit]
+After=dbus.service
+
+[Service]
+TimeoutStopSec=3
diff --git a/packages/wildos-branding/files/systemd-user/wildos-logout-sound.service b/packages/wildos-branding/files/systemd-user/wildos-logout-sound.service
new file mode 100644
index 0000000..b9f1c4d
--- /dev/null
+++ b/packages/wildos-branding/files/systemd-user/wildos-logout-sound.service
@@ -0,0 +1,16 @@
+# The shutdown sound, played as the desktop closes rather than before it.
+# Plasma's own logout sound (Event/exitkde) holds the whole sign-out, restart
+# or shutdown back until it has finished. Here it plays while the session
+# winds down: the stop runs when the graphical session ends, and since this
+# starts after PipeWire it stops before it, so the sound is not cut off.
+[Unit]
+Description=Shutdown sound
+PartOf=graphical-session.target
+After=pipewire.service pipewire-pulse.service wireplumber.service
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/bin/true
+ExecStop=/usr/libexec/wildos/logout-sound
+TimeoutStopSec=6
diff --git a/packages/wildos-branding/files/xdg/plasma_workspace.notifyrc b/packages/wildos-branding/files/xdg/plasma_workspace.notifyrc
index 220aeaa..0fe14fa 100644
--- a/packages/wildos-branding/files/xdg/plasma_workspace.notifyrc
+++ b/packages/wildos-branding/files/xdg/plasma_workspace.notifyrc
@@ -1,5 +1,7 @@
-# A sound when the desktop starts, as Windows plays one; signing out stays
-# silent, as it does on Windows. Settings > Sound turns the start-up sound
-# off. The sound itself is desktop-login in the Wild OS sound theme.
+# A sound when the desktop starts. The shutdown sound is played by Wild OS
+# itself as the session ends (wildos-logout-sound.service), not through
+# Plasma's logout event, which would hold the shutdown back until it had
+# finished. Settings > Sound turns both off. The sounds are desktop-login
+# and desktop-logout in the Wild OS sound theme.
[Event/startkde]
Action=Sound
diff --git a/packages/wildos-desktop/debian/changelog b/packages/wildos-desktop/debian/changelog
index c81eb45..753ff79 100644
--- a/packages/wildos-desktop/debian/changelog
+++ b/packages/wildos-desktop/debian/changelog
@@ -1,3 +1,10 @@
+wildos-desktop (0.1.19) trixie; urgency=medium
+
+ * Signing in with your fingerprint in the terminal no longer asks for
+ your password straight afterwards.
+
+ -- Wild OS Developers <[email protected]> Sat, 14 Nov 2026 17:11:38 +0000
+
wildos-desktop (0.1.18) trixie; urgency=medium
* The fingerprint keeps working after a restart again: asking for the
diff --git a/packages/wildos-desktop/debian/control b/packages/wildos-desktop/debian/control
index 32dde39..e1bcfa0 100644
--- a/packages/wildos-desktop/debian/control
+++ b/packages/wildos-desktop/debian/control
@@ -16,7 +16,7 @@ Depends:
wildos-ui,
wildos-desktop-view,
# fingerprint-turn reads the notes fingerprint-stamp writes.
- wildos-system-dialogs (>= 0.1.14),
+ wildos-system-dialogs (>= 0.1.16),
wildos-settings (>= 0.1.54),
wildos-files (>= 0.1.13),
wildos-store,
diff --git a/packages/wildos-desktop/files/pam-configs/wildos-fingerprint-stamp b/packages/wildos-desktop/files/pam-configs/wildos-fingerprint-stamp
index a8ff687..b4ad38f 100644
--- a/packages/wildos-desktop/files/pam-configs/wildos-fingerprint-stamp
+++ b/packages/wildos-desktop/files/pam-configs/wildos-fingerprint-stamp
@@ -3,4 +3,5 @@ Default: yes
Priority: 0
Auth-Type: Additional
Auth:
+ [success=ignore default=1] pam_wildos_fingerprint.so typed
optional pam_exec.so quiet seteuid expose_authtok /usr/libexec/wildos/fingerprint-stamp
diff --git a/packages/wildos-settings/debian/changelog b/packages/wildos-settings/debian/changelog
index 7f7d73b..f83e409 100644
--- a/packages/wildos-settings/debian/changelog
+++ b/packages/wildos-settings/debian/changelog
@@ -1,3 +1,9 @@
+wildos-settings (0.1.56) trixie; urgency=medium
+
+ * Settings > Sound: one switch for the start-up and shutdown sounds.
+
+ -- Wild OS Developers <[email protected]> Sat, 14 Nov 2026 17:25:04 +0000
+
wildos-settings (0.1.55) trixie; urgency=medium
* The fingerprint keeps working after a restart again: asking for the
diff --git a/packages/wildos-settings/qml/pages/SoundPage.qml b/packages/wildos-settings/qml/pages/SoundPage.qml
index ee023fe..01ea6f6 100644
--- a/packages/wildos-settings/qml/pages/SoundPage.qml
+++ b/packages/wildos-settings/qml/pages/SoundPage.qml
@@ -532,15 +532,15 @@ PageScroll {
UI.SettingRow {
iconName: "power"
- title: "Play a sound when Wild OS starts"
- description: "When the desktop appears after you sign in"
+ title: "Play a sound when Wild OS starts and shuts down"
+ description: "When the desktop appears, and when you sign out, restart or shut down"
status: SoundTheme.startupSound ? "On" : "Off"
enabled: SoundTheme.scheme !== "none"
UI.Toggle {
anchors.verticalCenter: parent.verticalCenter
checked: SoundTheme.startupSound
- Accessible.name: "Play a sound when Wild OS starts"
+ Accessible.name: "Play a sound when Wild OS starts and shuts down"
onToggled: {
SoundTheme.setStartupSound(checked);
if (checked) {
diff --git a/packages/wildos-settings/src/soundtheme.cpp b/packages/wildos-settings/src/soundtheme.cpp
index 1c3dcac..83b129f 100644
--- a/packages/wildos-settings/src/soundtheme.cpp
+++ b/packages/wildos-settings/src/soundtheme.cpp
@@ -13,9 +13,9 @@ KConfigGroup sounds()
return KSharedConfig::openConfig(QStringLiteral("kdeglobals"))->group(QStringLiteral("Sounds"));
}
-KConfigGroup startEvent()
+KConfigGroup sessionEvent(const QString &event)
{
- return KSharedConfig::openConfig(QStringLiteral("plasma_workspace.notifyrc"))->group(QStringLiteral("Event/startkde"));
+ return KSharedConfig::openConfig(QStringLiteral("plasma_workspace.notifyrc"))->group(QStringLiteral("Event/") + event);
}
}
@@ -35,7 +35,7 @@ QString SoundTheme::scheme() const
bool SoundTheme::startupSound() const
{
- return startEvent().readEntry("Action", QString()).contains(QLatin1String("Sound"));
+ return sessionEvent(QStringLiteral("startkde")).readEntry("Action", QString()).contains(QLatin1String("Sound"));
}
void SoundTheme::setScheme(const QString &scheme)
@@ -55,9 +55,12 @@ void SoundTheme::setScheme(const QString &scheme)
}
}
+// One switch for both sounds. It is kept on Plasma's start-up event; the
+// shutdown sound (/usr/libexec/wildos/logout-sound) reads it there, since
+// Plasma's own logout event would hold the shutdown back until it finished.
void SoundTheme::setStartupSound(bool on)
{
- auto g = startEvent();
+ auto g = sessionEvent(QStringLiteral("startkde"));
g.writeEntry("Action", on ? QStringLiteral("Sound") : QString(), KConfig::Notify);
g.sync();
Q_EMIT changed();
diff --git a/packages/wildos-system-dialogs/debian/changelog b/packages/wildos-system-dialogs/debian/changelog
index e49525d..8c99e68 100644
--- a/packages/wildos-system-dialogs/debian/changelog
+++ b/packages/wildos-system-dialogs/debian/changelog
@@ -1,3 +1,10 @@
+wildos-system-dialogs (0.1.16) trixie; urgency=medium
+
+ * Signing in with your fingerprint in the terminal no longer asks for
+ your password straight afterwards.
+
+ -- Wild OS Developers <[email protected]> Sat, 14 Nov 2026 17:11:38 +0000
+
wildos-system-dialogs (0.1.15) trixie; urgency=medium
* The fingerprint keeps working after a restart again: asking for the
diff --git a/packages/wildos-system-dialogs/src/pam_wildos_fingerprint.c b/packages/wildos-system-dialogs/src/pam_wildos_fingerprint.c
index d90686d..124999e 100644
--- a/packages/wildos-system-dialogs/src/pam_wildos_fingerprint.c
+++ b/packages/wildos-system-dialogs/src/pam_wildos_fingerprint.c
@@ -345,8 +345,14 @@ PAM_EXTERN int pam_sm_authenticate(pam_handle_t *pamh, int flags, int argc, cons
time_t deadline;
(void)flags;
- (void)argc;
- (void)argv;
+
+ // "typed": succeeds only when a password was typed in this sign-in, so
+ // the line after it in common-auth (fingerprint-stamp, which needs the
+ // password) is skipped after a fingerprint. pam_exec's expose_authtok
+ // would otherwise ask for a password nobody typed.
+ if (argc == 1 && !strcmp(argv[0], "typed"))
+ return pam_get_item(pamh, PAM_AUTHTOK, &token) == PAM_SUCCESS && token && *(const char *)token
+ ? PAM_SUCCESS : PAM_IGNORE;
if (pam_get_item(pamh, PAM_SERVICE, (const void **)&service) != PAM_SUCCESS || !service)
return PAM_IGNORE;