Author Topic: (solved) editing Skype desctop shortcut to work with old webcam  (Read 1045 times)

Offline la_monda

  • Full Member
  • ***
  • Posts: 97
  • Registered Linux User #548015
    • Sis's fur design website!
(solved) editing Skype desctop shortcut to work with old webcam
« on: February 04, 2012, 09:03:30 AM »
Greetings running lxde edition fully updated. I tried to change the exec command in order to make skype work with an older webcam. I had to add the line:

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


I edited with leafpad the dektop entry as follows:

[Desktop Entry]
Name=Skype
Comment=Skype Internet Telephony
Exec=LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/skype
Icon=skype.png
Terminal=false
Type=Application
Encoding=UTF-8
Categories=Network;X-MandrivaLinux-Internet-InstantMessaging;
X-Desktop-File-Install-Version=0.11

And i get this error:

Failed to execute child process "LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so" (No such file or directory)

can someone correct my faulty entry please??

Thnx for the support!
« Last Edit: February 04, 2012, 09:48:58 AM by la_monda »
Intel Core 2 Duo E8200, Gigabyte GA-EP43DS3, 4GB Kingston DDR2 PC8500 1066MHZ, Nvidia 8500GT 512 RAM. Corsair 450VX
Thinkpad R61
PCLinuxOS 2012.x KDE, 3.2.18-pclos1.pae.bfs Kernel

Offline Neal ManBear

  • Administrator
  • Super Villain
  • *****
  • Posts: 15845
  • LXDE! Coffee, Bacon and Cheesecake!
Re: editing Skype desctop shortcut to work with old webcam
« Reply #1 on: February 04, 2012, 09:13:01 AM »
So where is v4l1compat.so? --> in lxterminal --> locate v4l1compat.so     

Offline la_monda

  • Full Member
  • ***
  • Posts: 97
  • Registered Linux User #548015
    • Sis's fur design website!
Re: editing Skype desctop shortcut to work with old webcam
« Reply #2 on: February 04, 2012, 09:22:44 AM »
[natasa@localhost ~]$ locate v4l1compat.so
/usr/lib/libv4l/v4l1compat.so
[natasa@localhost ~]$


also when i give the command: LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/skype  to the terminal skype launches and webcam works. Just cant get the shortcut right   :-[

thnx again
Intel Core 2 Duo E8200, Gigabyte GA-EP43DS3, 4GB Kingston DDR2 PC8500 1066MHZ, Nvidia 8500GT 512 RAM. Corsair 450VX
Thinkpad R61
PCLinuxOS 2012.x KDE, 3.2.18-pclos1.pae.bfs Kernel

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3721
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: editing Skype desctop shortcut to work with old webcam
« Reply #3 on: February 04, 2012, 09:34:01 AM »
Make a script...

Code: [Select]
#!/bin/bash
#
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/skype

Save it as My_Skype in your /home directory, and make it executable (right click > Properties > permissions)

Now edit your desktop file

Code: [Select]
[Desktop Entry]
Name=Skype
Comment=Skype Internet Telephony
Exec=/home/YOU/My_Skype
Icon=skype.png
Terminal=false
Type=Application
Encoding=UTF-8
Categories=Network;X-MandrivaLinux-Internet-InstantMessaging;
X-Desktop-File-Install-Version=0.11

Should work...

Offline la_monda

  • Full Member
  • ***
  • Posts: 97
  • Registered Linux User #548015
    • Sis's fur design website!
Re: editing Skype desctop shortcut to work with old webcam
« Reply #4 on: February 04, 2012, 09:48:21 AM »
That did the trick! Thanks for the quick reply!!!
Intel Core 2 Duo E8200, Gigabyte GA-EP43DS3, 4GB Kingston DDR2 PC8500 1066MHZ, Nvidia 8500GT 512 RAM. Corsair 450VX
Thinkpad R61
PCLinuxOS 2012.x KDE, 3.2.18-pclos1.pae.bfs Kernel

Offline daniel

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3721
  • God knows, i'm not an Angel!
    • Tipps und Tricks
Re: (solved) editing Skype desctop shortcut to work with old webcam
« Reply #5 on: February 04, 2012, 09:51:42 AM »
You are welcome  :)

Offline hightower

  • Full Member
  • ***
  • Posts: 96
Re: (solved) editing Skype desctop shortcut to work with old webcam
« Reply #6 on: February 15, 2012, 06:02:13 AM »
I Came across this thread and followed it's direction to set up a kde de for my sister using her older webcam that worked in cheese but not skype.  ldxe and kde have slightly different ways to edit the application menu's. But the basic directions listed here worked perfectly.
Make a script...

Code: [Select]
#!/bin/bash
#
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/skype

Save it as My_Skype in your /home directory, and make it executable (right click > Properties > permissions)

Now edit your desktop file

Code: [Select]
[Desktop Entry]
Name=Skype
Comment=Skype Internet Telephony
Exec=/home/YOU/My_Skype
Icon=skype.png
Terminal=false
Type=Application
Encoding=UTF-8
Categories=Network;X-MandrivaLinux-Internet-InstantMessaging;
X-Desktop-File-Install-Version=0.11

Should work...


Seems like this issue pops up regardless of the DE.  http://www.pclinuxos.com/forum/index.php/topic,100035.msg852434.html#msg852434  So many thanks Leiche  and la_monda for your directions.

hightower
--------------------------------------------------------------------------------------------------------