Video on Skype

Asked by NakiMum

I follow this in terminal whenever I need skype video. Is there a way to actually edit or save this command so that I can have it permanently running whenever I boot up. Or just explain to me how to apply the 2nd step of the command. Please explain slowly and step-by-step - I'm still a newbie.

TO ACTIVATE VIDEO FOR SKYPE: LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype

THIS IS USED TO HAVE THIS COMMAND RUNNING PERMANENTLY, I JUST DON'T UNDERSTAND WHAT TO DO.

Rename (move) /usr/bin/skype to /usr/bin/skype.real
Then create a script at:
/usr/bin/skype
Code:
#!/bin/sh
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype.real
Then give /usr/bin/skype executable permission. My links to skype aren't broken, and there's no need to keep a terminal open just for skype.
Best of all, my video works! (at least, the video test does.)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Vadim Peretokin
Solved:
Last query:
Last reply:
Revision history for this message
NakiMum (nakimum) said :
#1

Apologies:
I'm using Ubuntu 8.10 and Kubuntu/KDE 4.2.

Revision history for this message
nerub (kanilla-de-puerco-gmail) said :
#2

if you installed the medibuntu version try to install a newer version from skype homepage.
it worked for me.

Revision history for this message
NakiMum (nakimum) said :
#3

hi nerub
thanks for the quick reply. i did the download and install from the skype homepage - didn't work. Any other solutions?

Revision history for this message
Best Vadim Peretokin (vperetokin) said :
#4

Sorry... if I understand you, you need to do

LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype

On each reboot?

To make it done automatically, go to system ▸ preferences ▸ sessions, click add, give it a name of "fix skype" and for command "LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so skype"

Revision history for this message
NakiMum (nakimum) said :
#5

hi there Vadim Peretokin

you understood me perfectly - and the problem is now solved.
thank you very much.
Keep well
Cheers