Turning PulseAudio and Phonon Off

PulseAudio can be a stubborn little daemon. The man page says you can turn it off with the command pulseaudio --kill. But depending on your particular Linux distribution, it won’t stay killed; instead, it respawns itself. This is how it works on Ubuntu 10.04: It has a normal init script to start it at boot, /etc/rc2.d/S03pulseaudio. But when you try controlling this the normal way, it doesn’t work, because running /etc/init.d/pulseaudio stop doesn’t stop it. Removing /etc/rc2.d/S03pulseaudio doesn’t prevent it from starting at boot. Fortunately, I am even more stubborn and have figured out how to control stopping and starting Pulse. I don’t want to remove it; I want it to run when I want it to run. (If you want ...

Get The Book of Audacity now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.