But when it comes to Skype, the image is upside down.
To fix this you need to install lib32-libv4l from AUR.
yaourt -S lib32-libv4lAfter this create /usr/local/bin/skype with the following contents:
#!/bin/bash
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so
export LD_PRELOAD
exec /usr/bin/skype
exit 0And now you can launch Skype from your desktop environment and use your webcam properly.
Why it works? It has to do with the PATH environment variable.
As /usr/local/bin precedes /usr/bin, when the system looks for "skype" it finds it in /usr/local/bin.
In the script above we specified the absolute path to the skype executable so that it knows it's not the same file ( if you would only put skype in there it would enter an infinite cycle)
Niciun comentariu:
Trimiteți un comentariu