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?
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?
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