HDMI audio management can get tricky sometimes in GNOME desktop environment. The issue faced by users when playing multimedia via HDMI connection is no audio. Unlike Windows and Mac OS, Linux doesn’t direct audio to HDMI device by default settings.
Audio must be manually switched to HDMI device from the Audio settings, else audio will keep playing through the computer speakers and video will play on the HDMI source such as an external monitor or a projector.
In this tutorial, you will see how to easily tweak settings to add audio output devices on to the status panel. This will let you quickly change audio output to the external device.
Step 1) First thing to do is to enable GNOME extensions on your Ubuntu and Fedora PC. Refer our detailed guide using below links and continue to next step.
Step 2) Go to the Sound input & Output Device Chooser using the same browser in which you have installed the GNOME shell extensions in the Step (1).
Step 3) Turn the slider to “ON” and install the extension.
Step 4) To configure the extension, go to https://extensions.gnome.org/local/ page and click on “Installed extensions”.
Step 5) Click on the gear icon next to the “Sound input & Output Device Chooser”.
Step 6) By default settings, the extension shows input devices too in the status menu. You can configure the settings to only show the output devices so that you are not making the status menu overcrowded.
Step 7) Go ahead and plug in HDMI connection now and click on the Status bar. You should see the Audio Output HDMI profiles including Stereo, Surround 5.1, and Surround 7.1. You can simply select the profile to play the sound through HDMI.