Saturday, December 19, 2009

How to make google chrome browser play youtube.com video with sound in Linux Ubuntu 9.1

"No Sound!!!" When playing youtube.com video with google chrome in Ubuntu 9.1.

Here is how I solved it:

# sudo ln -s /usr/lib/mozilla/plugins /opt/google/chrome/plugins

Close/restart chrome browser.

Voila!! there's sound when playing youtube.com video

15 comments:

Martin said...

What an amazing and simple fix. Worked perfectly on Karmic. Thanks!

It remains to be seen if I can leave Firefox for Chrome. :-)

Tom said...

Awesome!! Been looking around for a fix for this for ages ....

Dave said...

Thanks so much. Ive been looking for this fix for a while. For some reason, Chrome was trying to use an older version of flash.

Andrew said...

Cheers! This is why I love Ubuntu and the open source community.

darius said...

Worked perfectly. Thanks!

John said...

Thank you so much! I'd been working on this intermittently for a few weeks, and this worked perfectly.

simone said...

Excellent!
Thank you very much!!

svs said...

awesome. mine was /usr/lib/chromium-browser/plugins but yeah, the same general concept.

bye bye firefox...no wait - firebug still rules...

nliebeaux said...

Works fine for me too.
THX !

John said...

please explain how to do this part

# sudo ln -s /usr/lib/mozilla/plugins /opt/google/chrome/plugins

just copay and paste? where?

thank you

Unknown said...
This comment has been removed by the author.
Unknown said...

Gött mos,

In my JoliCloud 1.2 case the link name is /usr/lib/nickel-browser/plugins

Gemsroadwarrior said...

I have the same question as John. What do I do with this script? Some of us are new with this and are not the Ubuntu geniuses that the rest of you are. Thanks for any help.

Andrew G said...

thanks for the fix :)

Andrew

csimmons said...

@John @gemsroadwarrior
First, you need to open a terminal window. The Gnome Menu (the window UI Menu) should have an "Accessories" section and a "terminal" application. Click on the "terminal" application icon and a terminal window should open.

You then want to copy-paste "sudo ln -s /usr/lib/mozilla/plugins /opt/google/chrome/plugins" (the stuff between the quote marks) into the terminal window and hit return. You should be prompted to type in your password.

'sudo' is "super user do" which means the command will be executed with root permissions.

"ln" creates a symbolic link in the filesystem. It makes the path "/opt/google/chrome/plugins" resolve to the path "/usr/lib/mozilla/plugins" when chrome tries to open the path.

'sudo' can be dangerous. e.g. there is a fairly simple command, which, if executed as root, will erase all the files on your drive.