🔍 See Original Answer on Ask Ubuntu 🔗
Output channel for audio resets after every reboot
September 7, 2019
Edited: September 8, 2019
November 24, 2022
Copy to clipboard: false
You can have pulse audio stay on the last selected output source no matter what:
sudo -H gedit /etc/pulse/default.pa
Find this line:
and change it to:
# load-module module-switch-on-port-available
An additional step is needed as listed in:
We need to add the line:
set-sink-port <name|index> analog-output-headphones
index of the active sink, and available ports can be displayed with
pactl list sinks. The way I spelled
analog-output-lineout may be incorrect.
Save the file and exit.
Restart pulse audio with:
In your sound settings select “Line Out” and it will always stay connected even if you physically unplug it.