Skip to content

Instantly share code, notes, and snippets.

@bassmanitram
bassmanitram / fix_sound.sh
Last active July 25, 2020 07:55
Workaround script to help solve Ubuntu 16.04 HDMI sound issues when ALSA can use the HDMI sink, but Pulse thinks it's unplugged
#!/bin/bash
{
#
# Get rid of pulse and its cache (so this script can be run multiple times)
#
rm ~/.config/pulse/*
pulseaudio -k
#
# Wait till pulse sorts itself out