Results 1 to 7 of 7
Hello!
I had a problem with viewing webcams on Skype, and after searching I found out that running Skype through the terminal with this command "export XLIB_SKIP_ARGB_VISUALS=1 && skype" makes ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-20-2010 #1Just Joined!
- Join Date
- May 2010
- Posts
- 4
Creating custom command/menu launcher
Hello!
I had a problem with viewing webcams on Skype, and after searching I found out that running Skype through the terminal with this command "export XLIB_SKIP_ARGB_VISUALS=1 && skype" makes the webcams work perfectly.
What I wanted to do was to integrate this command into the main menu so that I won't have to type it into the terminal (and thus keep the terminal open all the session) every time I want to use Skype.
So I edited the command of the Skype button in the Applications menu and put that line instead of "skype", but it gives me "Failed to execute child process "export" (No such file or directory)".
I tried editing .bashrc and added the following line:
Now the command 'skp' works through the terminal, but it gives me the same error message when I put it into the command line of the applications menu.alias skp='export XLIB_SKIP_ARGB_VISUALS=1 && skype'
How do I work this out ?
Thank you.
- 09-20-2010 #2
create a script file with the commands you need and make it executable. then place it to a directory listed in
and it should work. The most suitable directory will be /usr/local/bin/Code:echo $PATH
- 09-20-2010 #3Just Joined!
- Join Date
- May 2010
- Posts
- 4
Thanks for the reply Kloschüssel
But how exactly do I create that script file and make it executable ?
- 09-20-2010 #4
Open a terminal
Create a text file with
sudo nano /usr/bin/local/myskype
put the following in it
and then make it executable byCode:#! /bin/bash export XLIB_SKIP_ARGB_VISUALS=1 && skype
sudo chmod +x /usr/local/bin/myskype
Note you don't have to call it myskype
If we hit that bullseye, the rest of the dominoes will fall like a house of cards. Checkmate! (Zapp Brannigan)
Snakey Wakey!
The Fifth Continent reborn
- 09-23-2010 #5Just Joined!
- Join Date
- May 2010
- Posts
- 4
Thank you elija! That works
- 10-25-2010 #6Just Joined!
- Join Date
- May 2010
- Posts
- 4
I've updated to Maverick (ubuntu 10.10) and now I'm trying to create this command again, but it doesn't work. When I try to save the file I created, it gives me:
[ Error writing /usr/bin/local/myskype: No such file or directory ]
Help please! Thank you...
- 10-25-2010 #7/usr/local/bin <> /usr/bin/local[ Error writing /usr/bin/local/myskype: No such file or directory ]


Reply With Quote
