Click to See Complete Forum and Search --> : application link
weezle
07-26-2001, 04:56 PM
Hello all,
How do I create a "shortcut" to an application in Linux (redhat 7.1)? I have downloaded and installed netscape 6 (musta configured it in the wrong directory - cause now the only way for me to pull up netscape6 is by going to the directory where I installed it (/usr/local/netscape) and executin the file. I have tried to create a soft link to my home directory and desktop - neither works. When I execute the link it pulls up the previous version.
Any suggestions would be appreciated!
ln -s /usr/local/netscape /usr/bin/netscape
and then you should be able to just type netscape to run it.
dvdnut
07-26-2001, 06:09 PM
most of the time apps add an executable in the /usr/local/bin directory but for some reason this is not read from when you try to run it from prompt, and have to type in the path
now im not too sure on the syntax of exporting a new section to path but its someting like
export path:/usr/local/bin/
i could be wrong
but the jyst of it is that in future after you rerun bash, or logout/login
you can run it as normal as it would look in /usr/loca/bin too
someone correct me if im wrong please
thanks
Gnu/Vince
07-26-2001, 06:29 PM
Originally posted by dvdnut:
<STRONG>most of the time apps add an executable in the /usr/local/bin directory but for some reason this is not read from when you try to run it from prompt, and have to type in the path
now im not too sure on the syntax of exporting a new section to path but its someting like
export path:/usr/local/bin/
i could be wrong
but the jyst of it is that in future after you rerun bash, or logout/login
you can run it as normal as it would look in /usr/loca/bin too
someone correct me if im wrong please
thanks</STRONG>
the actual command is: export PATH="$PATH:/usr/local/bin"
weezle
07-30-2001, 03:27 PM
Thanks for your suggestions! DVDNUT, your suggestion does work if I wanted to start netscape from a command prompt. But isn't there a way I can create a symlink (or other shortcut) that will work from the desktop?
I have tried copying the executable to my desktop but when I attempt to run it - it doesnt execute. I tried creating a symbolic link - nothing happens. I know there is something I'm missing to get this to work but can't figure out what it is....
weezle
07-30-2001, 06:30 PM
Well, I finally figured it out...
In RH 7.1 (don't know about other versions or flavors) you can goto the toolbar properties and add a "launcher" program - from there you give the path for the link you want to add to the toolbar. Pretty cool and easy - now that I know...