Picking your desk speakers or USB headset inside Ubuntu sound settings every morning — only to reboot or wake from sleep and discover Ubuntu switched audio straight back to silent HDMI monitor output or tinny laptop speakers — wears thin fast.
Because modern Ubuntu Desktop (PipeWire and WirePlumber) automatically grabs whichever graphics-card HDMI or display port registers first during startup, disabling unused silent audio ports and clearing stale saved audio state locks your preferred speakers in place across reboots.
Disable Silent HDMI / DisplayPort Audio Profiles in Pavucontrol
If your external monitor has no speakers (or terrible tinny speakers) yet includes an audio pin over HDMI/DisplayPort, disabling that unused output profile permanently removes Ubuntu’s temptation to jump onto it during boot.
- Press
Ctrl + Alt + Tto open Terminal and install the standard graphical audio mixer if not yet installed:sudo apt update && sudo apt install pavucontrol. - Open PulseAudio Volume Control from your Applications menu (or run
pavucontrolin Terminal). - Click the very last tab on the right labelled Configuration.
- Look through each listed sound device: find your graphics card or HDMI/DisplayPort entries you never want audio routed through, click their Profile dropdown, and set them to Off.
- Leave only your real speakers, USB headset, or motherboard audio card turned on (such as Analog Stereo Duplex or Analog Stereo Output).
Select Your Default Output Device Cleanly in Ubuntu Settings
With silent HDMI outputs switched off, confirm your preferred speakers inside Ubuntu’s main Sound panel so GNOME writes a clean default selection.
- Open Ubuntu Settings -> Sound.
- Under Output -> Output Device, click your USB headset or desk speakers and verify the test button plays cleanly.
- Close Settings normally and reboot once to confirm your chosen audio output survives restart cleanly.
Reset Corrupted WirePlumber Saved Audio State If It Still Reverts
If a previous system upgrade left damaged user audio preference files preventing Ubuntu from saving your chosen output, clearing only your local saved WirePlumber cache safely forces Ubuntu to build a clean preference table on next login:
- Open Terminal (
Ctrl + Alt + T) and run:rm -rf ~/.local/state/wireplumber/*. - Log out and back in (or reboot), pick your preferred speakers once inside Settings -> Sound, and Ubuntu remembers your selection cleanly across future restarts.
Switching unused HDMI/DisplayPort profiles to Off in Configuration stops nearly every phantom speaker switch after Ubuntu updates or monitor wakes.