Post History
I'm trying to make OpenRGB display a light show based on the music playing, however, audio device selection is unavailable in the application, and upon checking its permissions with flatpak permiss...
Question
flatpak
#3: Post edited
- I'm trying to make OpenRGB display a light show based on the music playing, however, audio device selection is unavailable in the application, and upon checking its permissions with `flatpak permission-show org.openrgb.OpenRGB`, there's no entry for audio access. Maybe I've glossed over some details, but upon a look at the [Flatpak docs](https://docs.flatpak.org/en/latest/sandbox-permissions.html), I've tried these commands:
- ```
- flatpak permission-set socket org.openrgb.OpenRGB pulseaudio
- flatpak permission-set background org.openrgb.OpenRGB pulseaudio
- flatpak permission-set input org.openrgb.OpenRGB pulseaudio
- ```
- They all complete without errors, although they don't add any new entries to the permissions list. If prefixed with `sudo`, they all fail with: `error: Failed to execute child process “dbus-launch” (No such file or directory)`.
- I believe OpenRGB uses OpenAL to read the audio; not sure if that's relevant for the specific case.
- I'm trying to make OpenRGB display a light show based on the music playing, however, audio device selection is unavailable in the application, and upon checking its permissions with `flatpak permission-show org.openrgb.OpenRGB`, there's no entry for audio access. Maybe I've glossed over some details, but upon a look at the [Flatpak docs](https://docs.flatpak.org/en/latest/sandbox-permissions.html), I've tried these commands:
- ```
- flatpak permission-set socket org.openrgb.OpenRGB pulseaudio
- flatpak permission-set background org.openrgb.OpenRGB pulseaudio
- flatpak permission-set input org.openrgb.OpenRGB pulseaudio
- ```
- They all complete without errors, although they don't add any new entries to the permissions list. If prefixed with `sudo`, they all fail with: `error: Failed to execute child process “dbus-launch” (No such file or directory)`.
- I've also tried `sudo flatpak override org.openrgb.OpenRGB --socket=pulseaudio`, though that seems not to have any effect either.
- I believe OpenRGB uses OpenAL to read the audio; not sure if that's relevant for the specific case.
#2: Post edited
- I'm trying to make OpenRGB display a light show based on the music playing, however, audio device selection is unavailable in the application, and upon checking its permissions with `flatpak permission-show org.openrgb.OpenRGB`, there's no entry for audio access. Maybe I've glossed over some details, but upon a look at the [Flatpak docs](https://docs.flatpak.org/en/latest/sandbox-permissions.html), I've tried these commands:
- ```
- flatpak permission-set socket org.openrgb.OpenRGB pulseaudio
- flatpak permission-set background org.openrgb.OpenRGB pulseaudio
- flatpak permission-set input org.openrgb.OpenRGB pulseaudio
- ```
They all complete without errors, although they don't add any new entries to the permissions list.- I believe OpenRGB uses OpenAL to read the audio; not sure if that's relevant for the specific case.
- I'm trying to make OpenRGB display a light show based on the music playing, however, audio device selection is unavailable in the application, and upon checking its permissions with `flatpak permission-show org.openrgb.OpenRGB`, there's no entry for audio access. Maybe I've glossed over some details, but upon a look at the [Flatpak docs](https://docs.flatpak.org/en/latest/sandbox-permissions.html), I've tried these commands:
- ```
- flatpak permission-set socket org.openrgb.OpenRGB pulseaudio
- flatpak permission-set background org.openrgb.OpenRGB pulseaudio
- flatpak permission-set input org.openrgb.OpenRGB pulseaudio
- ```
- They all complete without errors, although they don't add any new entries to the permissions list. If prefixed with `sudo`, they all fail with: `error: Failed to execute child process “dbus-launch” (No such file or directory)`.
- I believe OpenRGB uses OpenAL to read the audio; not sure if that's relevant for the specific case.
#1: Initial revision
How do I enable audio access for Flatpak applications?
I'm trying to make OpenRGB display a light show based on the music playing, however, audio device selection is unavailable in the application, and upon checking its permissions with `flatpak permission-show org.openrgb.OpenRGB`, there's no entry for audio access. Maybe I've glossed over some details, but upon a look at the [Flatpak docs](https://docs.flatpak.org/en/latest/sandbox-permissions.html), I've tried these commands: ``` flatpak permission-set socket org.openrgb.OpenRGB pulseaudio flatpak permission-set background org.openrgb.OpenRGB pulseaudio flatpak permission-set input org.openrgb.OpenRGB pulseaudio ``` They all complete without errors, although they don't add any new entries to the permissions list. I believe OpenRGB uses OpenAL to read the audio; not sure if that's relevant for the specific case.