Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a little question that isn't a really problem, but affects in someway when i want to watch some movie on my hdmi tv from my laptop.

So, what i ask you is since i've erased pulseaudio and have installed alsamixer, because this is the only way to stablished a properly sound connection in skype, i've lost the sound of my hdmi connection. The image works fine, but the sound have gone away...

there is some way to fix this? There is a Alsamixer HDMI plugin that fixes this issue?

I have a Acer Aspire 5542G, with AMD64 bits Turion (2,2ghz, 1Mb L2 cache), ATI Mobility Radeon HD 4570.

Oh, i have Ubuntu 11.04 Natty! Everything else works fine!! :D



share|improve this question
up vote 2 down vote accepted
pactl set-card-profile 0 output:hdmi-surround
share|improve this answer
Can you explain what the command does? – Mateo Aug 6 '12 at 21:44
Please explain this further – chwi Nov 8 '12 at 21:12

Try looking in sound preferences (click the volume applet and select Sound Settings). From there, look in the output tab and make sure HDMI is selected. If that doesn't work, try looking in the hardware tab, which should contain a dropdown, where you should see HDMI. Select that and it should work

share|improve this answer

To expand @Thuener's answer, and the line

pactl set-card-profile 0 output:hdmi-surround

pactl is the PulseAudio Server Control. The set-card-profile chooses a sound card, and if you have only one, the numeric index of your sound card is 0. The last parameter output:hdmi-surround is self explanatory: "Set the sound cards output to hdmi-surround".

share|improve this answer
Thanks for the explanation. Is there any way to run this command automatically when an HDMI cable is connected and set it back to the laptop speaker when the cable gets disconnected? So far I always change the profile from the Sound preferences but that is not ideal. – lucacerone Dec 31 '12 at 10:09
Also, how can I get a list of the different profiles, like output:hdmi-surround? Thanks for the help! – lucacerone Dec 31 '12 at 10:09

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.