pactl set-default-sink alsa_output.pci-0000_00_1f.3.analog-stereo

Category: Administration

pactl set-default-sink alsa_output.pci-0000_00_1f.3.analog-stereo

Change the default audio output

This makes the named ALSA sink the default, so new playback streams route there. The exact sink name comes from pactl list sinks short. Switching between speakers and headphones is the classic use.
Looking for more? Search all 7,657 commands — works offline, in English or Spanish, and fixes typos.