1

I ran the command

sudo killall pulseaudio

because I read it here:

Cannot pair my beats 3 bluetooth headset with Ubuntu 16.04 LTS

Now my sound doesn't work at all, when it was working before I ran this command. How do I fix it?

Eliah Kagan
  • 116,445
  • 54
  • 318
  • 493
Cody Smith
  • 31
  • 3

2 Answers2

1

Restarting the computer worked.

Kulfy
  • 17,416
  • 26
  • 64
  • 103
Cody Smith
  • 31
  • 3
1

This command should do.

$ pulseaudio -k

On the other hand, I created a simple bash script that would fix my sound when something wrong occur. This works on Lubuntu 16.04 LTS

#! /bin/bash

# removing pavucontrol config
cd ~/ && rm pavucontrol.ini && echo 'DONE: Removing pavucontrol.ini' || echo "FAILED: Removing pavucontrol.ini"

# removing pulse config
cd .config/ && rm -rf pulse/ && echo 'DONE: Removing pulse directory' || echo "FAILED: Removing pulse directory"

# restart pulse and alsa services
echo 'pulseaudio -k && sudo alsa force-reload' | bash