How to include canberra-gtk-play in a Flatpak?

Feb 21, 2025
F

On Debian, this application is contained in the gnome-session-canberra package.
On Arch, it’s contained in the libcanberra package.

I tried to include libcanberra from the shared modules, but it doesn’t contain canberra-gtk-play.

Does anyone know how to include this app in a Flatpak?

F

Did you change the “cleanup” part? Because this would probably remove the binary:

    "cleanup": [
        // omitted
        "/bin",
F
Replying to #2

I didn’t change anything.

F

It worked when removing "/bin",.
Thank you!