bwrap: improve audio support

This commit is contained in:
Jesús 2021-11-26 22:37:56 -05:00
parent cadef2c0a4
commit 7ff0d1452f
No known key found for this signature in database
GPG Key ID: F6EE7BC59A315766
2 changed files with 6 additions and 6 deletions

View File

@ -31,7 +31,7 @@ set -euo pipefail
--ro-bind /var/cache/fontconfig /var/cache/fontconfig \
--ro-bind /var/lib/alsa /var/lib/alsa \
--bind-try /tmp/sndio /tmp/sndio \
--bind-try /tmp/sndio-1000 /tmp/sndio-1000 \
--bind-try /tmp/sndio-"$(id -u)" /tmp/sndio-"$(id -u)" \
--bind-try "${HOME}/.sndio" "${HOME}/.sndio" \
--bind "${HOME}/Descargas" "${HOME}/Descargas" \
--chdir "${HOME}" \
@ -45,7 +45,7 @@ set -euo pipefail
--file 12 /etc/group \
--new-session \
/usr/bin/iceweasel-uxp) \
11< <(getent passwd $UID 65534) \
12< <(getent group "$(id -g)" 65534)
11< <(getent passwd $UID 65534 audio) \
12< <(getent group "$(id -g)" 65534 audio)
# note: running iceweasel-uxp on private mode sanbox

View File

@ -32,7 +32,7 @@ set -euo pipefail
--ro-bind /var/cache/fontconfig /var/cache/fontconfig \
--ro-bind /var/lib/alsa /var/lib/alsa \
--bind-try /tmp/sndio /tmp/sndio \
--bind-try /tmp/sndio-1000 /tmp/sndio-1000 \
--bind-try /tmp/sndio-"$(id -u)" /tmp/sndio-"$(id -u)" \
--bind-try "${HOME}/.sndio" "${HOME}/.sndio" \
--ro-bind "${HOME}/.Xauthority" "${HOME}/.Xauthority" \
--bind "${HOME}/.cache/hyperbola" "${HOME}/.cache/hyperbola" \
@ -54,7 +54,7 @@ set -euo pipefail
--file 12 /etc/group \
--new-session \
/usr/bin/iceweasel-uxp) \
11< <(getent passwd $UID 65534) \
12< <(getent group "$(id -g)" 65534)
11< <(getent passwd $UID 65534 audio) \
12< <(getent group "$(id -g)" 65534 audio)
# note: running iceweasel-uxp mode sanbox