Every time I boot up I have to switch my audio output device to my "Line Out" headphones because for some reason my microphone defaults as a speaker.
Ubuntu – How to set a default audio output device in Ubuntu 18.04
sound
Related Question
- Ubuntu – Audio output device, fast switch
- Ubuntu – Set headphones as default sound output (defaults to HDMI)
- Ubuntu – How to switch between headphones and speakers without unplugging headphones
- Ubuntu – Output channel for audio resets after every reboot
- Ubuntu – Why can’t I set a default output audio device in Ubuntu 19.10
Best Answer
Simple fix in 19.10 that worked for me:
I couldn't get the solution @singrium proposed to persist on Ubuntu 19.10. It worked with device numbers in
/etc/pulse/default.pa
but as I connected for example my headset device numbers were changing and things stopped working. It didn't work with device names in/etc/pulse/default.pa
.The simple workaround I found is adding the
pactl set default sink
command in startup applications.pactl list short sinks
pactl set-default-sink <Your_Device_Name>
This should work without giving you an error message.
pactl set-default-sink 'Your-Device-Name'
You are now good to go. Your default audio device will be set on each boot and as such be persistent. If you want to change the default device simply edit the device name in startup applications command.