Friday, July 21, 2006

ubuntu: No sound in youtube.com (flash)

Original Article:

http://ubuntuforums.org/showthread.php?t=187752&highlight=sound+flash

The problem is that Flash is old and doesn't support Ubuntu's directory structure for esd properly. It wants to use /tmp/.esd/socket for the sound connection. But Ubuntu uses /tmp/.esd-/socket for the sound (the uid for the user that installed Ubuntu is 1000). A quick hack you can do to fix this is to symbolic link that directory. To do that, go to System - Preferences - Sessions - Startup programs and add
Code:
ln -s /tmp/.esd-1000 /tmp/.esd
to the list (assuming your uid is 1000, change it accordingly if it isn't), then logout and log back in. After doing this, Flash sound should work properly.


to get the the current logged user's id: go to terminal: Application > Accessories > Terminal. type: id



No comments: