THIS RECIPE WORKS WITH THE NEW V4.0 SKYPE FOR LINUX! yAy!
Video Chat Cameras are nice. But they don’t always play nicely with the Linux version of Skype.
1. Here’s the camera I have: (here’s now to find out what you have.)
and the output will look like:
Bus 005 Device 004: ID 046d:092e Logitech, Inc. QuickCam Chat
2. First step first. Let’s see if the camera works with Linux Cheese.
If not already installed, install cheese:
sudo apt-get install cheese
Cheese is a local loopback programme. It takes the output from the camera (/dev/video0) and loops it right back for you to view.
If successful, this will tell us, that Linux recognizes the camera, and that it works. The light may/may NOT be on.
3. Let’s try the next step: Installing Skype.
Lets get the latest version of Skype from the website.
The latest Linux version (as of this writing) is: 184.108.40.206. (YES, that is far far behind the Windows Version) — Since Microsoft owns Skype, the future of the Linux version is an unknown at this point.
4. Once the download is finished, install Skype:
sudo dpkg -i skype-ubuntu_220.127.116.11-1_i386.deb
They have a version for Debian, and 32 and 64 bits. The example shown above is for the 32 bit Ubuntu version. So make sure you get the right version, and make sure you get the right architecture: 32 or 64 bit.
NOTE: IF YOU ARE ON A 64 BIT DEBIAN SYSTEM, AND PLAN ON USING THE 64 BIT SKYPE, YOU MUST INSTALL THE 32 BIT LIBRARY:
sudo apt-get install ia32-libs
sudo apt-get install ia32-libs-gtk
TO GET SKYPE TO WORK ON A 64 BIT DEBIAN SYSTEM. Yeah makes no sense, but you need this if you are running 64 bit DEBIAN Skype.
5. If you do not already have a Skype account, sign up for one. Just follow the prompts. Test the audio by using the Skype Test Call.
6. Let’s try the video. RIGHT click on the green skype logo in your task bar, then LEFT click on Options/Video Devices.
Now hit the test button. You should hopefully see an image. If you do not, don’t panic!
This article gave me the information I needed to get it working. But of course, I found a much simpler method then what was given.
7. If you have no video, and this was especially true with the some of the Web Chat Cameras, all you may need to do is to pre-load the needed libraries.
Using your favourite editor (I’ll use nano in this case) create a file called skype.sh in your home directory (cd ~ )
enter the following in the file:
# script preloads the 32 bit video for linux (v4l) libs needed by 64 bit skype
# Wayno Guerrini http://www.pkill-9.com v 2.0
# added the export for the gtk 32 bit library -- GU -6/22/2012
control-o (control plus the “oh” key) to save, and control-x (control plus the “x” key to exit)
note that the library path name /usr/lib/libv4l/ may be different on your machine. This happens the be the correct path for 32 bit Ubuntu 10.04. The LD_Preload loads the Video for Linux Libraries, which Skype needs, but doesn’t get.
Now change the icon executable location to the script we just created:
Repeat step 6, and the video should now work!