Forward remote Chromium's audio to the travel laptop

Waypipe only carries the window, so audio played on the remote's
speakers. Load a PulseAudio tunnel sink on the remote pointing back
over the tailnet and target only this Chromium at it via PULSE_SINK;
the snap sandbox rules out forwarding the audio socket over ssh.
Modules are unloaded on exit and leftovers cleared on the next run.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Tommy Rantti 2026-10-02 14:24:35 +03:00
parent 9593b233aa
commit e0c8678410
2 changed files with 32 additions and 4 deletions

View file

@ -159,7 +159,7 @@ install_packages() {
fi
if sudo apt-get update -qq && sudo apt-get install -y -qq \
vim tmux mosh git curl ca-certificates jq gnupg firefox-esr code waypipe >/tmp/apt-install.log 2>&1; then
vim tmux mosh git curl ca-certificates jq gnupg firefox-esr code waypipe pulseaudio-utils >/tmp/apt-install.log 2>&1; then
step_ok "apt packages"
else
step_fail "apt packages" "see /tmp/apt-install.log"