This would have worked if you had typed
./firefox &
and not
firefox &
It failed because this directory was not in your PATH
variable. This is the variable that tells the system where
to look for executables. Oozy's suggestion might work
in your case, but it is dependant on what is in the PATH
variable and what order they are in. It also means you can
only start firefox up by typing firefox into a command line

To know which version of a programme is run when you
type a command use the which command.
which mozilla-firefox
should return something like /usr/bin/mozilla-firefox. This
is the command run when you click on the browser menu
item in the Main menu. So moving firefox to /bin (better
/usr/bin) would not change this, and if you tried to run it
from the menu, you would not get the new version.

What I have done is install the directory into my home software
directory (type mkdir ~/software and then mv -r ~/Desktop/firefox ~/software).
Then I have added a launcher to the panel (where the menu
stuff is - right click on it, select add to panel, then inside that select
Custom Application Launcher at the top.). This will bring up a dialog
with the following fields (I've added my values for you)

Name: firefox
Generic Name: firefox
Comment: Its firefox innit
Command: /home/neill/software/firefox/firefox

and then you can click on the icon, and add the firefox icon to it.

So now I can start firefox from the panel rather than by command-line.

This isn't an ideal solution, but it's too complicated to explain better
solutions.

Read up about the PATH variable and how to set it, as this will help you
a lot in understanding problems you might encounter when installing software.

Neill
On 4/24/06, stuart bell <[EMAIL PROTECTED]> wrote:
Hello ???????????

 [EMAIL PROTECTED] ~]$ su -
 Password:
 [EMAIL PROTECTED] ~]# cd /home/stuart/Desktop/firefox
 [EMAIL PROTECTED] firefox]# firefox &
 -bash: firefox: command not found
 [1] 4399
 [1]   Exit 127                firefox
 [EMAIL PROTECTED] firefox]#







                
___________________________________________________________ NEW - Yahoo! 360 – Your one place to blog, create, publish and share! http://uk.360.yahoo.com
____________________________________________________
Want to buy your Pack or Services from Mandriva? Go to http://store.mandriva.com
Join the Club : http://www.mandrivaclub.com
____________________________________________________

Reply via email to