From f58f5228a13f6fca93bfce9fa5ac236affad02ec Mon Sep 17 00:00:00 2001 From: casey langen Date: Tue, 7 Apr 2020 20:28:11 -0700 Subject: [PATCH] OK, I think I got to the bottom of the pulse issue. Yikes. --- src/musikcube/musikcube.snap | 3 ++- src/musikcubed/musikcubed.snap | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/src/musikcube/musikcube.snap b/src/musikcube/musikcube.snap index 7d0578368..c46cc7e74 100755 --- a/src/musikcube/musikcube.snap +++ b/src/musikcube/musikcube.snap @@ -1,4 +1,5 @@ #!/bin/bash set -eu DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" -LANG=C.UTF-8 "${DIR}/musikcube" +PULSE_SOCKET="unix:/run/user/${UID}/pulse/native" +LANG=C.UTF-8 PULSE_SERVER=${PULSE_SOCKET} "${DIR}/musikcube" diff --git a/src/musikcubed/musikcubed.snap b/src/musikcubed/musikcubed.snap index f9b78b1c8..c5cd16566 100755 --- a/src/musikcubed/musikcubed.snap +++ b/src/musikcubed/musikcubed.snap @@ -1,4 +1,5 @@ #!/bin/bash set -eu DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" -LANG=C.UTF-8 "${DIR}/musikcubed" "$@" +PULSE_SOCKET="unix:/run/user/${UID}/pulse/native" +LANG=C.UTF-8 PULSE_SERVER=${PULSE_SOCKET} "${DIR}/musikcubed" "$@"