Ubuntu detects speakers wrong

Solution 1:

There is no option to enable simultaneous output in the default pulseaudio. You need to install paprefs package for additional pulseaudio controls. You can install it using

sudo apt install paprefs

Once installed, execute it through terminal using

paprefs

In the preferences window, choose Simultaneous Output tab.

Then check the option to Add virtual output device. Then add the 'Speakers' and 'Headphones' together as a device.

Kill the pulseaudio process using pulseaudio -k and then restart it.