From 2d3abc3c348a6a4e9b02790bafd3e7dfc859780e Mon Sep 17 00:00:00 2001 From: aldahiiir Date: Fri, 31 Jul 2026 13:24:26 -0600 Subject: [PATCH] OS (Linux): detects Ubuntu Studio installed with core mode The minimal (core) installation ships the `ubuntustudio-desktop-core` metapackage instead of `ubuntustudio-desktop`, so the existing check missed it and the system was reported as Kubuntu. Fixes #2485 --- src/detection/os/os_linux.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/detection/os/os_linux.c b/src/detection/os/os_linux.c index a7b1ffa3f7..02dcb240ac 100644 --- a/src/detection/os/os_linux.c +++ b/src/detection/os/os_linux.c @@ -92,7 +92,8 @@ static bool parseOsRelease(const char* fileName, FFOSResult* result) { } // xdgConfigDirs contains plasma only - if (ffPathExists("/var/lib/dpkg/info/ubuntustudio-desktop.list", FF_PATHTYPE_FILE)) { + // `ubuntustudio-desktop-core` is installed on both the full and core installations + if (ffPathExists("/var/lib/dpkg/info/ubuntustudio-desktop-core.list", FF_PATHTYPE_FILE)) { ffStrbufSetStatic(&result->name, "Ubuntu Studio"); ffStrbufSetStatic(&result->id, "ubuntu-studio"); ffStrbufSetStatic(&result->idLike, "ubuntu");