Author Topic: How can I access the menu editor for Skype?  (Read 1956 times)

uncleV

  • Guest
Re: How can I access the menu editor for Skype?
« Reply #15 on: January 06, 2011, 02:09:39 PM »
So...

LD_PRELOAD is a tool to point a program (here Skype) to search for libraries in places that are not stored in its data base.
As we saw LD_PRELOAD works in Terminal but not in *.desktop file in Xfce.

Additionally LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so is deleted( add: from the operating environment that sits in RAM) by Skype immediately after it start and reads it.

Then you better create a custom launcher with this Terminal command
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/skype
and use it instead of a .desktop file.

?
« Last Edit: January 07, 2011, 01:38:23 AM by uncleV »

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11561
  • ----IOFLU----
Re: How can I access the menu editor for Skype?
« Reply #16 on: January 06, 2011, 02:51:21 PM »

Well I have followed these instructions and now skype won't launch.I go to the general menu -> internet -> Skype, but nothing happens.

I have reset Exect=Skype and it now boots again but with the same webcam issue.

I don't know what could be wrong  ???

I hope you made less typos in those commands than you did reporting that one.

As I have it right now and it doesn't launch:

[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

Looking at some of my own *.desktop launchers, try enclosing the command with single quotes, ie;

Exec='LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/skype'
Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...

Offline Nippur

  • Sr. Member
  • ****
  • Posts: 332
  • Yes,good looking ;)
Re: How can I access the menu editor for Skype?
« Reply #17 on: January 06, 2011, 11:46:18 PM »
So...

LD_PRELOAD is a tool to point a program (here Skype) to search for libraries in places that are not stored in its data base.
As we saw LD_PRELOAD works in Terminal but not in *.desktop file in Xfce.

Additionally LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so is deleted by Skype immediately after it start and reads it.

Then you better create a custom launcher with this Terminal command
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/skype
and use it instead of a .desktop file.

?

I tried it and clicking on "run in terminal" and an empty terminal screen shows with no user to login.

Also tried Exec='LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/skype'  and no launch.

 :-\

Online Old-Polack

  • Administrator
  • Super Villain
  • *****
  • Posts: 11561
  • ----IOFLU----
Re: How can I access the menu editor for Skype?
« Reply #18 on: January 07, 2011, 12:51:05 AM »
So...

LD_PRELOAD is a tool to point a program (here Skype) to search for libraries in places that are not stored in its data base.
As we saw LD_PRELOAD works in Terminal but not in *.desktop file in Xfce.

Additionally LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so is deleted by Skype immediately after it start and reads it.

Then you better create a custom launcher with this Terminal command
LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/skype
and use it instead of a .desktop file.

?

I tried it and clicking on "run in terminal" and an empty terminal screen shows with no user to login.

Also tried Exec='LD_PRELOAD=/usr/lib/libv4l/v4l1compat.so /usr/bin/skype'  and no launch.

 :-\

OK, this is getting silly. In your /home/<you> directory, create a new directory named bin. Copy the purple text below into your text editor, press the Enter key to start a new line, and Save As /home/<you>/bin/skypeload.

#!/bin/bash
# Name: skypeload

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


Open the ~/bin directory, right click on the skypeload file and choose Properties. Click the Permissions tab and mark the file as executable.

By default, your ~/bin directory is in your $PATH, If you open a terminal, and at the prompt type;

[<you>@localhost ~]$ skypeload                                    <Enter>

Skype should launch. If that works for you, close Skype by right clicking the icon in the system tray and choosing Close.

Again, edit the /usr/share/applications/skype.desktop file to change the Exec= line to;

Exec=skypeload

then save the file. Log out, then log in. In your main menu, in the Internet section, click the Skype icon and see if Skype now launches.

If Skype still fails to launch, copy the /usr/share/applications/skype.desktop file to your desktop, and try launching from that icon.

Old-Polack

Of what use be there for joy, if not for the sharing thereof?



Lest we forget...