Sunday, May 12, 2024
 Popular · Latest · Hot · Upcoming
12
rated 0 times [  12] [ 0]  / answers: 1 / hits: 9223  / 3 Years ago, sun, november 7, 2021, 2:07:43

I'm running Ubuntu 10.10 on my laptop using an external monitor. The monitor is connected by a HDMI cable. The external monitor does not have boxes, it does have an audio exit for a headphone/.. .



Now when I plug in my external monitor, I want to keep using my laptops boxes. Now it automatically sends the sound through the HDMI port instead.



I can easily change the appropriate settings in the sound configuration menu: I go to hardware and can select the device I want to use: Analog Surround 4.0 Output, instead of the HDMI one. This works and I can hear sound through my laptop boxes.



But I have to change this setting every time again when I plug in my external monitor, when I wake my laptop from the suspended state, etc.



How can I make this the default setting, without having to reset it all the time?



Thanks!


More From » sound

 Answers
6

Ubuntu 10.10 is somehow not really up-to-date which makes it a bit hard to confirm the default pulseaudio installation there. However it may be worth to see if you have the module-switch-on-port-available loaded.



In case it is there, then try to disable it by commenting out (#) the following line in your /etc/pulse/default.pa:



# load-module module-switch-on-port-available


After the next restart of the pulseaudio server (e.g. with pulseaudio -k in a terminal) we should no longer switch to a different audio port when this becomes available (e.g. by plugging in your HDMI cable).


[#33708] Monday, November 8, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
ingwhin

Total Points: 332
Total Questions: 112
Total Answers: 115

Location: Burkina Faso
Member since Tue, Apr 26, 2022
2 Years ago
ingwhin questions
Sat, Jul 17, 21, 21:33, 3 Years ago
Mon, Oct 10, 22, 12:09, 2 Years ago
Tue, Jun 15, 21, 05:43, 3 Years ago
Mon, Oct 18, 21, 23:34, 3 Years ago
;