Repository navigation
feat: add Discover KNS backend and daily add-on update timer - #123
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01UjG5PKzsw3DpbpXZLCscMg
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Requested by frei · project thread
Brings back automatic updates for KDE Store add-ons ("Get New…" widgets, KWin scripts, themes) on the desktop variants. Bazzite replaced Discover with Bazaar, and Discover is the only KDE component that updates that content.
Changes
build-desktop.sh: installsplasma-discoverandplasma-discover-kns. The flatpak, rpm-ostree and packagekit backends are left out because Bazaar, bootc and Puppet own those updates.plasma-discover-notifieris left out too. Discover's "update automatically" setting is driven by the notifier, and the notifier only fires when a backend's notifier plugin reports updates. The kns subpackage ships onlykns-backend.sowith no notifier plugin, so with KNS alone that setting would never fire.discover-kns-update.timer: daily, randomized by 1h,Persistent=true. It runsplasma-discover --backends kns-backend --headless-updatewithQT_QPA_PLATFORM=offscreen. Limiting it to--backends kns-backendalso keeps out the fwupd backend thatplasma-discover-libsbundles, sinceprofile::fwupdalready handles firmware./usr/bin/plasma-discoverandkns-backend.so.ConditionPathExistsmakes the unit a no-op on deck.Verification
bazzite-dx-nvidia:stablebase: plasma-workspace is 6.8.2-1.fc45, and the base's own versionlock already pinsplasma-discover*to 6.8.2-1.fc45. That matches Fedora 45 updates, so the install should resolve without fighting the lock.--headless-updateexiting cleanly underoffscreen, or the exact--backendsname, because Fedora's mirrors are blocked from the build sandbox. After boot, check withsystemctl --user start discover-kns-update.service; journalctl --user -u discover-kns-update.Generated by Claude Code