[NTLUG:Discuss] Shortcuts
George Lass
George.Lass at osc.com
Thu Aug 23 16:41:48 CDT 2001
It is because /usr/local/netscape6.1 is not in the PATH
of the login id that started the desktop program. What I
do in .bash_profile of my login directory is add
:./
to the end of the PATH= line. This will cause bash to
always look in the current directory for the command you
are trying to execute.
After making the mod to .bash_profile you will need to
exit (logout from) your desktop
cd to your login directory
. .bash_profile
restart your desktop
George
Patrick Parks wrote:
>
> I have a easy question, that I can not seem to find an answer for. I
> have a program, lets say Netscape browser that I want to create a
> shortcut for in my desktop. In order to get this program to launch, I
> have to cd to the directory where it is located "cd
> /usr/local/netscape6.1" then I have to type "./netscape" to get it to
> run, not just netscape. My question is, how would I type this in the
> command section of the launcher that I am trying to create, and why do
> I have to do a "./" to get it to run, it is the first program I have
> had to do this with, and I do not understand what the "./" does. Could
> someone please enlighten me? Thanks.
>
> ,,,,
> (O O)
> +oOO-------(_)-----------+
> | Patrick Parks |
> | www.patrickparks.com |
> |patrick at patrickparks.com|
> +---------------------oOO+
> | | |
> |__| |__|
> || ||
> ooO Ooo
More information about the Discuss
mailing list