Make all apps adhere to users feedback level choice
I have Signal installed as a flatpak. When I set the notification profile of the L5 to silent or quiet, the L5 still plays a sound when a Signal notification appears.
Probably related to: https://github.com/flatpak/xdg-desktop-portal/issues/929
EDIT (by guido): I've moved that here since it's not feedbackd specific and add the gist to the description:
Applications that have the pulseaudiosocket or access to the alsa device can play sound. To make apps not become noisy in silent mode:
- Flatpaked: Don't expose the pulseaudio socket by default and use feedbackd. For apps that don't want to change this could be done transparently by wrapping libcanberra/gsound or similar
- non-flatpaked apps have so many ways that it would have to be done on a per app basis (e.g. app armor profile) and also a wrap
- migrating to feedbackd API is IMHO preferred. Work on the portal would be good for that to make it transparent for app developers
/cc @agx /cc @julian.sparber as it would affect runtimes