Does your webcam work well with 'Cheese'? You should download and install Cheese if you don't have it already and see. If it works with Cheese, then to fix this problem on Skype you need to have 'libv4l-0' installed and load it with Skype.
If you have 'Ubuntu Restricted Extras' installed you should have 'libv4l-0' installed. If not then open Terminal and type:
Quote:
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com C3FFB4AA
|
Quote:
sudo apt-get install libv4l-0
|
Now, to start Skype just run this in terminal:
Quote:
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype
|
For 64bit systems:
Quote:
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype
|
You can use this on other applications where you have webcam problem, just replace 'skype' with application name.
To avoid starting Skype every time from terminal you need to change the launcher. To edit launcher right click on Applications and click edit menus. Then navigate to Internet, right click on Skype and click on Properties.
Replace the Command with:
Quote:
bash -c 'LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype'
|
For 64bit systems:
Quote:
bash -c 'LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype'
|
On Ubuntu 11.04 Unity or other desktop environment:
'Menu Editor' is not available. So to edit launcher in Unity you need to edit 'Skype.desktop'. Start terminal and type:
Quote:
sudo gedit /usr/share/applications/skype.desktop
|
Now edit line 4, replace;
with:
Quote:
Exec=bash -c 'LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype'
|
For 64bit systems:
Quote:
Exec=bash -c 'LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype'
|
On Ubuntu 11.10:
Quote:
Exec=bash -c 'LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so skype'
|
Workaround #2 on Ubuntu 11.10:
Rename the Skype binary, create an empty file for the shell script, and open the empty file with an editor with root permissions:
Quote:
sudo mv /usr/bin/skype /usr/bin/skype.original
|
Quote:
sudo touch /usr/bin/skype
|
Quote:
gksudo gedit /usr/bin/skype
|
Then copy and paste the following into the empty file:
Quote:
#!/bin/bash
LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so skype.original
|
Make the file executable:
Quote:
sudo chmod +x /usr/bin/skype
|
I once used
workaround#2 to solve my Skype webcam problem.
Hope it works for you.
Cheers.