| Summary: | KDE Platform flatpak runtime is missing any theme's sounds | ||
|---|---|---|---|
| Product: | [Developer tools] Qt/KDE Flatpak Runtime | Reporter: | skierpage <info> |
| Component: | general | Assignee: | Aleix Pol <aleixpol> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Flatpak | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/packaging/flatpak-kde-runtime/-/commit/105abc726e4961507c8a3250e011ec7c62a99f0c | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
| Bug Depends on: | |||
| Bug Blocks: | 418686 | ||
|
Description
skierpage
2019-06-29 08:18:58 UTC
I've retitled this bug to make it about adding the Oxygen theme sounds to the KDE Platform flatpak runtime. The KDE Platform has other sounds in freedesktop/stereo and Oxygen icons in plasma/desktoptheme/oxygen , so (by set theory ;-) ) /var/lib/flatpak/runtime/org.kde.Platform/... should include the sounds from the oxygen.git repository as well. (In reply to skierpage from comment #0) > I then tried copying the sounds into > $HOME/.var/app/org.kde.skrooge/data/sounds/ , which avoided the WARNING > about sound file not found, but... I didn't hear any sound, even with > `flatpak run --socket=pulseaudio org.kde.skrooge`. Sounds now play with Flatpak 1.4.4 if I do both those things; I'll file a separate bug for Skrooge. BTW another way to test sound in Skrooge is open Settings > Notifications, choose a notification, and click the [▶] play button. There are still no sounds in the KDE flatpak runtime. The new sound theme for Plasma 6 is ocean ( https://invent.kde.org/plasma/plasma-workspace/-/issues/40 ), so it seems /usr/share/sounds/ocean/ should be packaged in the KDE version 6.7 flatpak runtime. ping?! Still no sounds in the org.kde.Platform//6.9 flatpak runtime. The .oga files in https://invent.kde.org/plasma/ocean-sound-theme/-/tree/master/ocean/stereo are but 2.3 MB. A possibly relevant merge request was started @ https://invent.kde.org/packaging/flatpak-kde-runtime/-/merge_requests/307 Git commit dcfb612dfe1842d14406ab46b3662e80dd410594 by Guilherme Marçal Silva. Committed on 19/09/2025 at 01:27. Pushed by raploz into branch 'qt6.9'. Add ocean-sound-theme I'm the maintainer of the Ocean sound theme, and it came to my attention that KDE Flatpak apps cannot play sounds from the theme because it's not included in the Flatpak KDE Runtime. Even though I'm the maintainer of the sound theme, I'm not a developer, so I'm unsure if this is the right approach. Any help would be appreciated. Looking through the file I noticed all things for Plasma are currently in version 6.3.4, so in the commit section I put `6f564989422976f51346d8273b827bf647adec52`, which points to the [commit made for version 6.3.4](https://invent.kde.org/plasma/ocean-sound-theme/-/commit/6f564989422976f51346d8273b827bf647adec52). I based this patch on the description for other Plasma components that were in the same file, but I'm unsure if anything else is necessary. I don't know how to test if this works and couldn't find any instructions, so please review carefully and let me know if there's anything I need to change. Also, do I need to make another merge request for the 6.8 branch? Thanks! @aacid M +23 -0 org.kde.Sdk.json.in https://invent.kde.org/packaging/flatpak-kde-runtime/-/commit/dcfb612dfe1842d14406ab46b3662e80dd410594 Git commit 105abc726e4961507c8a3250e011ec7c62a99f0c by Guilherme Marçal Silva. Committed on 19/09/2025 at 01:57. Pushed by raploz into branch 'qt6.8'. Add ocean-sound-theme This adds the ocean-sound-theme to the Flatpak Runtime, that way, Flatpak apps can use the sound theme. (cherry picked from commit dcfb612dfe1842d14406ab46b3662e80dd410594) fe0fab43 Add ocean-sound-theme 415a998b Update version f30d05ee Switch to archive type Co-authored-by: Guilherme Marçal Silva <guimarcalsilva@gmail.com> M +23 -0 org.kde.Sdk.json.in https://invent.kde.org/packaging/flatpak-kde-runtime/-/commit/105abc726e4961507c8a3250e011ec7c62a99f0c |