I am using Dell Alienware M14X. I have installed Ubuntu 14.04 on my laptop. The problem that I am facing is that the audio plays only through speakers all the time even I though I plug in my headphone.
When I go to sound settings, it is showing me headphones in the "play sound through" which means that my system is able to detect the headphones; But just the audio doesn't play through the headphones, instead it still plays through speaker.