You are not logged in.
Pages: 1
Hi,
I had to add alias skype='LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype' to my .bashrc file to get my Skype video to work and it works great; however, it only loads this way if I type Skype from terminal.
What I would like is for the preload to happen when someone clicks the Skype icon/shortcut. How would I do that?
Thanks in advance.
Last edited by przemeklach (2011-05-08 20:03:10)
Offline
I have no way to test this, but I'd try modifying the Exec line of the Skype [Desktop] file and saving it locally.
Offline
Ya I thought about that but in gnome 3 I can't figure out how to do a right click and go into the properties of a shortcut.
Offline
Copy the Skype [Desktop] file for /usr/share/applications to ~/.local/share/applications and edit the Exec line.
Offline
So I modified the Command property to be 'LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype'.
I get the following error when I try to run it:
Details: Failed to execute child process "LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so" (No such file or directory)
Offline
We're close. I found a solution that calls a script to do it:
Offline
So setup the bin folder, script and modified the shortcut in /usr/share/applications as outlined in the forum.
When I click the icon it tells me that it cannot find /usr/lib32/libv4l/v4l1compat.so
The weird thing is that it says /usr/lib32/... regardless whether I have /usr/lib/.. or /usr/lib32/... in my script file. I know that the file exists because when I run skype via an alias that has the LD_PRELOAD setup, skype starts fine.
Offline
Make sure that you have lib32-v4l-utils installed. Copy /usr/share/applications/skype to ~/.local/share/applications. Create a file called something like launch_skype with the only line in it:
LD_PRELOAD=/usr/lib32/libv4l/v4l1compat.so skype
Make that file executable with
chmod +x launch_skype
Edit the 'Exec' line in the skype.desktop file to read the following. Make sure that you put in your user_name:
Exec=/home/{user_name}/.local/share/applications/launch_skype
Last edited by skottish (2011-05-08 19:43:36)
Offline
That worked!
Thank you very much.
Offline
Glad to help. I haven't had a panel in a long time, so I had to think a bit about how to do this.
Please mark the thread as [SOLVED]. You can do that by editing the first post in this thread.
Offline
Pages: 1