The good news is that this can be easily fixed from a simple menu:
It's easy to choose which port you want from a graphical menu
Click your volume control on the top panel and in the lis that appears click Sound Preferences. Navigate to the Output tab and you'll see a choice for the connector at the bottom. Simply choose the right connector and you're away!