News for hackers. Stuff that matters.
Re:Linux is not about choice (2008) by kyrias on Monday May 06, 2013 @10:43PM (#5666275)

    > It's certainly an RTFM thing, but last time I didn't know how to get PulseAudio to go away
`pulseaudio -k`
Re:Linux is not about choice (2008) by cookiecaper on Tuesday May 07, 2013 @01:08PM (#5669283)
PulseAudio instantly respawns from this if you have autospawn set to yes (and most distributions do, and it takes some effort to get it working without that).

Typically when I want a quick-and-dirty "kill PulseAudio for real" solution I move /usr/bin/pulseaudio to /usr/bin/pulse-dead, issue pkill pulseaudio, and proceed until I want PA to come back to life, at which time I mv the binary back.

Re:Linux is not about choice (2008) by Hello71 on Tuesday May 07, 2013 @07:05PM (#5671453)

  pasuspender
Re:Linux is not about choice (2008) by cookiecaper on Wednesday May 08, 2013 @03:40PM (#5676378)
That only works as long as the command it wraps is living. I could use that approach, but typically I don't just want pulseaudio dead while gedit or something is running, I want it dead until I decide that I want it back. It usually happens this way when I'm debugging an audio issue, so it'd be annoying to have PA constantly cycling that way.
Re:Linux is not about choice (2008) by kyrias on Saturday May 11, 2013 @07:33PM (#5692536)

  paususpender while true
  do
  done
Re:Linux is not about choice (2008) by Hello71 on Saturday May 11, 2013 @08:36PM (#5692665)

  pasuspender cat