Skip to content

OS (Linux): detects Ubuntu Studio installed with core mode - #2486

Merged
CarterLi merged 1 commit into
fastfetch-cli:devfrom
aldahiiir:fix/ubuntustudio-core-detection
Aug 3, 2026
Merged

OS (Linux): detects Ubuntu Studio installed with core mode#2486
CarterLi merged 1 commit into
fastfetch-cli:devfrom
aldahiiir:fix/ubuntustudio-core-detection

Conversation

@aldahiiir

Copy link
Copy Markdown
Contributor

Summary

Ubuntu Studio installed with the minimal ubuntustudio-desktop-core metapackage was being reported as Kubuntu. The detection only looked for ubuntustudio-desktop.list, which the core install does not create, so it fell through and the Plasma fallback labeled the system as Kubuntu.

Closes #2485

Changes

  • Also check for /var/lib/dpkg/info/ubuntustudio-desktop-core.list when identifying Ubuntu Studio. The full install ships both metapackages while the core install ships only -core, so checking either one (instead of replacing) also keeps older releases that predate the split working. In every case it reports "Ubuntu Studio".

Testing

  • Builds cleanly with no new warnings.
  • Verified normal detection is unaffected on my machine (Arch Linux, still reports Arch).
  • I don't have Ubuntu Studio, and the Ubuntu Studio branch only runs when the OS id is ubuntu, so I couldn't exercise that path locally. @rauldipeas confirmed in [BUG] Ubuntu Studio is not detect when installed with core mode #2485 that ubuntustudio-desktop-core.list is present on both the full and core installs. It would be great if they could build this branch and confirm the output.

Checklist

  • I have tested my changes locally.

Comment thread src/detection/os/os_linux.c Outdated
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
@aldahiiir
aldahiiir force-pushed the fix/ubuntustudio-core-detection branch from 629819f to 2d3abc3 Compare August 1, 2026 20:32
@aldahiiir

Copy link
Copy Markdown
Contributor Author

@CarterLi done, dropped the ubuntustudio-desktop.list check and kept only -core.

@CarterLi
CarterLi merged commit 1626ced into fastfetch-cli:dev Aug 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] Ubuntu Studio is not detect when installed with core mode

2 participants