Binding a word to a program

Asked by Phonetic

I just installed firefox and I can use the browser from my command line by typing /opt/firefox/firefox &, but what I can't do is make it so the icon on my application menu uses it. Is there a way to bind a command so when I type "firefox" into the terminal that it automatically starts the program, unless there are any suggestions on how to make the application run correctly on the start menu?

Thanks in advance.

Question information

Language:
English Edit question
Status:
Answered
For:
Mozilla Firefox Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Istvan Szekeres (szekeres) said :
#1

Hello,

how did you install firefox? If you installed it the "normal" way (Applications -> Add/Remove), it would be present in the Applications menu.

Revision history for this message
Phonetic (wontstoptrying) said :
#2

I used command line and I extracted the folder, and then placed it in the /opt folder.

Revision history for this message
Hanusz leszek (leszek-skynet) said :
#3

If you have the latest ubuntu version (7.04 feisty) then firefox should already be installed with the latest version and you should not download it manually.

If you still want to use the firefox you downloaded (not recommended), then you can edit menus by right-clicking on the menu and clicking on "Edit menus".
You can then add an element in the menu.

In this case, you can also change the default browser used on System->Preferences->Prefered applications

Can you help with this problem?

Provide an answer of your own, or ask Phonetic for more information if necessary.

To post a message you must log in.