I have multiple output device sound and it's allways my headphone by default.
- First: List the audio output devices using
pactl list short sources
- Second: To set a default output device run the command
pactl set-default-sink <'output_device_name'>
Where output_device_name
is until .monitor
Then, comment this line load-module module-switch-on-connect
in the file /etc/pulse/default.pa
to be # load-module module-switch-on-connect
in order to make the changes persistent.
Source: https://askubuntu.com/questions/1038490/how-do-you-set-a-default-audio-output-device-in-ubuntu-18-04