Broke sound in Ubuntu 18.04

Finding out my PulseAudio equalizer didn’t work after upgrading from 16.04 and trying to rectify that, killed my entire sound output.

First, ran
sudo apt-get remove --purge alsa-base pulseaudio
sudo apt-get install alsa-base pulseaudio pavucontrol
sudo alsa force-reload
reboot

Then
sudo apt-get install pavucontrol
pavucontrol

But pavucontrol couldn’t connect to PulseAudio, something wrong with the permissions or so..

Running cat /proc/asound/cards showed me the soundcard was recognized, so it’s def a software issue.

Starting PulseAudio via pulseaudio --start did the trick. Not sure if it’ll persist through reboots tho, and my equalizer still doesn’t work.. But hey, keeps us busy.

I think this has to do with the switch from Unity to Gnome in 18.04, it has way more minor annoyances that (apparently) can be fixed by creating a fresh user. Might just do that and save myself the hassle.

Sources:
https://askubuntu.com/questions/1029403/no-sound-in-ubuntu-18-04-lts-after-upgrade-from-16-04-lts
https://askubuntu.com/questions/879037/pavucontrol-stuck-at-establishing-connection-to-pulseaudio-please-wait
https://bbs.archlinux.org/viewtopic.php?id=202860