Switching to ALSA

To challenge the assumption on which all of this is based:

  • Any reference showing that ALSA can be sandboxed while pulseaudio cannot be sandboxed?

To challenge the assumption that pulseaudio has to be uninstalled in order to be able to use ALSA:

  • Is removal of pulseaudio strictly required to make sandboxing work? Can’t sandboxing just only permit ALSA and not pulseaudio? Application in sandbox would then in theory use ALSA and not know there is pulseaudio installed outside the sandbox. Then there should be no need to purge pulseaudio. If pulseaudio runs on top of ALSA, why would removal of pulseaudio be required to make ALSA access work?

In a test-only VM for a quick test of removal of pulseaudio:

sudo apt purge "*pulse*" pulseaudio pavucontrol
sudo apt autoremove

To check that all pulseaudio related packages are gone:

dpkg -l | grep pulse

Tor Browser audio still broken after removal of all pulseaudio related packages.

If you wish to move this forward… Let me know which packages are required to make ALSA work in Tor Browser or generally.


Getting rid of pulseaudio completely might be hard/impossible without not changing currently default installed applications

sudo apt install vlc --no-install-recommends

The following NEW packages will be installed:
libpulse0 […]

2 Likes