[ubuntu-uk] costume launcher on unity?
Neil Greenwood
neil.greenwood.lug at gmail.com
Sat Dec 3 09:30:48 UTC 2011
On Dec 2, 2011 11:00 PM, "Andres" <andresmp at gmail.com> wrote:
>
> I was unable to do the script, lack of knolwdge on how paths, and bash
scripts work. For example if my bash is called skype how do i make it call
that instead of the normal skype?
>
Ok, paths are quite easy once you understand the concept.
bash stores a list of directories that it will look in for programs (and
scripts). It looks through the list in order, and uses the first program or
script it finds with the right name. So you put your replacement in a
directory that will be checked first, and use the full path to the program
you're replacing - otherwise your replacement calls itself again and again!
To find out what the path is, so you can find where to put your
replacement, you can look at various scripts that are run when you log in,
but it's easier to open a terminal and type the following:
echo $PATH
HTH
Neil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-uk/attachments/20111203/c3ca62bc/attachment-0001.html>
More information about the ubuntu-uk
mailing list