Comment 2 for bug 2074358

Revision history for this message
Nathan Teodosio (nteodosio) wrote :

Problem located:

--->
% cat /snap/chromium/current/snap/command-chain/desktop-launch
#!/bin/bash

set -- "${SNAP}/gnome-platform/command-chain/desktop-launch" "$@"
# shellcheck source=/dev/null
source "${SNAP}/snap/command-chain/run"
<---

And ${SNAP}/gnome-platform/command-chain/desktop-launch forces

--->
# Tell Pipewire where to find its configuration and plugins
export PIPEWIRE_CONFIG_DIR="$SNAP_DESKTOP_RUNTIME/usr/share/pipewire"
export PIPEWIRE_MODULE_DIR="$SNAP_DESKTOP_RUNTIME/usr/lib/$ARCH/pipewire-0.3"
export SPA_PLUGIN_DIR="$SNAP_DESKTOP_RUNTIME/usr/lib/$ARCH/spa-0.2"
<---

This is 8 months old[1] so that is why we didn't get it last year, which was the last time we used this work-around.

There is already a merge request[2] addressing this.

[1] https://github.com/snapcore/snapcraft-desktop-integration/blame/main/common/desktop-exports#L131
[2] https://github.com/snapcore/snapcraft-desktop-integration/pull/24