I installed Ubuntu 12.04 a month ago and am using it till now. I failed to notice that all this time there was no sound at all while running Ubuntu, even while playing a game in Wine. The weird thing is that only the startup sound comes when I log in (Indian/African drum tone), then comes the utter silence.

I tested both Digital Output (S/PDIF) and the speakers in the sound settings but can hear nothing.

Any help?


Question: Default header image does not display
Answer: Try this where you need to get the url of the header image and you have set the default:

    $url = has_header_image() ? get_header_image() : get_theme_support( 'custom-header', 'default-image' );