I am busy moving from Windows to Kubuntu. So far the only thing standing in my way of successfully losing windows is the limitation of sound configuration on linux.
I want to be able to have both speakers plugged in (in the rear port) and headphones plugged in (in the front port) and then switch between them via software settings/programmatically (eventually I want to make it a single shortcut for extra efficiency). So far this is not possible. One has to physically unplug the headphones to let the sound work through the speakers. Even if I chose line out (over headphones) in the settings after plugging in the headphones it doesn't work, in fact at this point nothing works. If I have both speakers and headphones plugged in and I chose line out then no sound comes anywhere but if I choose headphones the sound comes through the headphones.
From googling it seems that people have lots of different issues with sound on linux. Lots of people say it's a hardware limitation however this is not true (at least for me), as this works perfectly on windows.
This is a stupid thing to hold me back from dropping windows, but continuously having to plug/unplug my headphones will wear it out unnecessarily as my front audio jack is already not the best.
EDIT 1: The output is quite long so I put it in a pastebin.
amixer scontents: http://pastebin.com/wiB1m0RW