Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
Pages: (3) </ 1 [2] 3 >/

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Firefox from command line?, How to start Firefox from command line?< Next Oldest | Next Newest >
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: April 03 2005,16:14 QUOTE

But then if it's in your path then this discussion would not have occured :p

--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
cbagger01 Offline





Group: Members
Posts: 4264
Joined: Oct. 2003
Posted: April 04 2005,03:29 QUOTE

How about opening up the Fluxbox menu file and take a peek at the Firefox exec command?

It is located at /home/dsl/.fluxbox/menu
Back to top
Profile PM 
django Offline





Group: Members
Posts: 21
Joined: April 2005
Posted: April 04 2005,08:46 QUOTE

Thanks for the tip. The & after is even better!
But wy do I have to type /usr/local/bin/bla/bla/bla ?
Wy not just firefox? Seems like thy put the firefox in the wrong directories.
Is there a way to fix this? I tried it but nada. I only get errormessages.
Back to top
Profile PM 
django Offline





Group: Members
Posts: 21
Joined: April 2005
Posted: April 04 2005,09:10 QUOTE

Is there a way to create a link in the /usr/local/bin to firefox?
And can you do this with MC ?
Back to top
Profile PM 
mikshaw Offline





Group: Members
Posts: 4856
Joined: July 2004
Posted: April 04 2005,14:36 QUOTE

why: because firefox is not in your path.  PATH is an environment variable which contains a list of directories searched whenever you issue a command. If a directory is not in your path, any executables in that directory will need to be started with a full or relative path.

how: if you are using a harddrive install, or if you have /ramdisk/usr/local/bin, you can make a symlink:
sudo ln -s /usr/local/bin/firefox/firefox /usr/local/bin/
Or if you don't have a writeable bin directory, you could link it somewhere within your $HOME directory add that directory to your path:
export PATH=/home/dsl/somedir:$PATH

In mc, press <Ctrl>x, then s.  Link will be made in the opposite directory to the selected file.  only works as root in system directories.


--------------
http://www.tldp.org/LDP/intro-linux/html/index.html
Back to top
Profile PM WEB 
10 replies since April 03 2005,10:42 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

Pages: (3) </ 1 [2] 3 >/
reply to topic new topic new poll
Quick Reply: Firefox from command line?

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code