Script to make webcam working in Skype

When using skype in Linux, happen that when you install Skype the webcam will not work, you can use the mic for voice conversation but not the cam, this script come to resolve this issue, the script work for both 32 bit and 64 bit. The script can be used for  for the actual version of skype 2.2.0-35.



if [ $USER != root ]; then
  echo -e $RED”Error: must be root”
  echo -e $YELLOW”Exiting…”$ENDCOLOR
  exit 0
if which $SK > /dev/null ; then
 echo “skype is patched”
cd /usr/bin/
mv skype skype2
echo “#!/bin/bash” > /usr/bin/skype
echo “LD_PRELOAD=/usr/lib/libv4l/ skype2” >> /usr/bin/skype
chmod +x skype
echo “skype 32-bit patched”
if which $SK > /dev/null ; then
 echo “skype is patched”
cd /usr/bin/
mv skype skype2
echo “#!/bin/bash” > /usr/bin/skype
echo “LD_PRELOAD=/usr/lib32/libv4l/ skype2” >> /usr/bin/skype
chmod +x skype
echo “skype 64-bit patched”
case $1 in
echo “
Skype Patch WebCam [2.2.0]

Usage: $0 [option]


32bit – Install patch on system 32 bit [i386]
64bit – Install patch on system 64-bit [amd64]


Download the script :

After download, make it executable and then install it using the following commands:

chmod +x
  • henry

    Thanks…great tip

  • ChandlerJOSIE

    One understands that humen’s life seems to be high priced, nevertheless people need money for different issues and not every person earns enough cash. Thus to get quick home loans and just short term loan should be a proper way out.

  • http://enteryoursiteURL... marek

    How do I make it executable? Why you did not make it executable for download? I am new to linux, but everything here is so complicated, it is pissing me off.

  • Stan

    In Ubuntu, right click on it, select Properties,click on permission, then tick the check box for Allow executing file as program. That is an easy way for beginners new to Linux.

  • Alex

    Thanks a million, you have no idea how helpful this was.

  • Hikari

    This doesn’t help at all. . the “install using the following commands” don’t work, for the first one returns “Unkown id: chmod” and the second one returns “bash: ./: Is a directory” . . . soooooo i dont think this works at all, considering there are no clear instructions for what to do.

  • gtx

    Is working, really, try again. Run this script in terminal as root.

  • Yilmaz Ulugtekin

    Just delete the space after the slash (/) it will work.