Skip to content

feat: add Discover KNS backend and daily add-on update timer - #123

Merged
freiheit merged 2 commits into
mainfrom
claude/project-thread-e4oh4v
Nov 8, 2026
Merged

freiheit merged 2 commits into
mainfrom
claude/project-thread-e4oh4v

Conversation

@freiheit

@freiheit freiheit commented Nov 8, 2026

Copy link
Copy Markdown
Owner

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: installs plasma-discover and plasma-discover-kns. The flatpak, rpm-ostree and packagekit backends are left out because Bazaar, bootc and Puppet own those updates.
  • plasma-discover-notifier is 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 only kns-backend.so with no notifier plugin, so with KNS alone that setting would never fire.
  • Instead there's a new global user timer, discover-kns-update.timer: daily, randomized by 1h, Persistent=true. It runs plasma-discover --backends kns-backend --headless-update with QT_QPA_PLATFORM=offscreen. Limiting it to --backends kns-backend also keeps out the fwupd backend that plasma-discover-libs bundles, since profile::fwupd already handles firmware.
  • Desktop link check now covers /usr/bin/plasma-discover and kns-backend.so.
  • Deck variant: the unit files ship, but Discover isn't installed and the timer isn't enabled there. ConditionPathExists makes the unit a no-op on deck.

Verification

  • In the bazzite-dx-nvidia:stable base: plasma-workspace is 6.8.2-1.fc45, and the base's own versionlock already pins plasma-discover* to 6.8.2-1.fc45. That matches Fedora 45 updates, so the install should resolve without fighting the lock.
  • pre-commit passes (shellcheck, shfmt).
  • Not tested on a booted system. I couldn't verify --headless-update exiting cleanly under offscreen, or the exact --backends name, because Fedora's mirrors are blocked from the build sandbox. After boot, check with systemctl --user start discover-kns-update.service; journalctl --user -u discover-kns-update.

Generated by Claude Code

@freiheit freiheit self-assigned this Nov 8, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01UjG5PKzsw3DpbpXZLCscMg
@freiheit
freiheit marked this pull request as ready for review November 8, 2026 22:54
@freiheit
freiheit merged commit 413f9ea into main Nov 8, 2026
13 checks passed
@freiheit
freiheit deleted the claude/project-thread-e4oh4v branch November 8, 2026 22:55
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.

2 participants