Sunday, August 22, 2010

Skype 2.0 & 2.1 Green Video/No Video Fix in Linux

SKYPE 2.0

Start Skype by typing one of the following commands in a Terminal. Which command to use depends upon your system(32bit or 64bit).

for 32bit systems
LD_PRELOAD=/usr/lib/libv4l/v4l1compact.so skype

for 64bit systems
LD_PRELOAD=/usr/lib32/libv4l/v4l1compact.so skype

If you don't want to type this in the terminal every time you need to use skype then you can do the following. Open up a terminal and start typing following commands.

sudo mv /usr/bin/skype /usr/bin/skype.aaa (this would move skype file to skype.aaa)
sudo chmod 755 /usr/bin/skype.aaa (Permission purposes)


Now, you have to create a file name /usr/bin/skype with the following command

sudo gedit /usr/bin/skype (Depending on the OS you are using 32bit/64bit put one of he following two sets of commands in there)

#!/bin/bash
LD_PRELOAD=/usr/lib/libv4l/v4l1compact.so skype.aaa

#!/bin/bash
LD_PRELOAD=/usr/lib32/libv4l/v4l1compact.so skype.aaa

Click Save and then you can close the terminal. Now your video should work.

SKYPE 2.1

The fix is same as the above just that you have to add the following line before the LD_PRELOAD command.
In some cases you just have to type the following command and not the LD_PRELOAD command but in other cases you do have to type both of these commands.
export XLIB_SKIP_ARGB_VISUALS=1

Thank you
Let me know if this helps.