Wednesday, February 19, 2014

Rotate webcam on Skype for Linux on ASUS laptops

If you have an ASUS laptop and use Skype on Linux, you'll probably face the problem of having the webcam image rotated by 180° and only on Skype, not on other applications.
To solve this problem you need to install and load a 32-bit library (since Skype is compiled for such architectures) before launching Skype.
In addition to this, I'll show how to solve this problem also if you want to install a skype wrapper, in the case Skype is not always visible on the system tray.

These are the commands to type in a Terminal
  • add the skype-wrapper repository (optional): sudo add-apt-repository -y ppa:skype-wrapper/ppa && sudo apt-get -qq update
  • install skype-wrapper (optional): sudo apt-get install skype-wrapper
  • sudo apt-add-repository ppa:libv4l/stable
  • sudo apt-get update
  • sudo apt-get upgrade
  • sudo apt-get install libv4l-0:i386
Then, in a folder where it doesn't annoy you, create a file named skype.sh and copy these two lines inside it:
#!/bin/bash
LD_PRELOAD=/usr/lib/i386-linux-gnu/libv4l/v4l1compat.so skype

ATTENTION: put skype-wrapper instead of just skype in the line above if you chose the option of installing the wrapper!

In you want Skype to automatically load at startup, on the Menu find "Startup Applications", remove other Skype launchers if available, and press the "Add" button. Give the name and comment you like, and in the "Command" field put the absolute path of the file created above, for example "/home/me/skype.sh".

The End.

2 comments:

  1. Thank you so much, this was very useful and help me solve my Skype problem visit more info Skype Support and Call +1-800-231-4635 USA (Toll Free).

    ReplyDelete