Views:
5,885β
Votes: 6β
Tag :
sound
Link:
π See Original Answer on Ask Ubuntu β§ π
URL:
https://askubuntu.com/q/1171617
Title:
Output channel for audio resets after every reboot
ID:
/2019/09/07/Output-channel-for-audio-resets-after-every-reboot
Created:
September 7, 2019
Edited: September 8, 2019
Upload:
September 15, 2024
Layout: post
TOC:
false
Navigation: false
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:
load-module module-switch-on-port-available
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
The name
or 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:
pulseaudio -k
In your sound settings select βLine Outβ and it will always stay connected even if you physically unplug it.