How to run url in firefox in background from ubuntu command line?

I use this command from the terminal to launch the URL in Firefox:

firefox reader.google.com & 

I put an ampersand at the end so that it does not put my terminal window in the background, but Gnome just ignores this and opens a new Firefox browser window on top of the terminal. Is there a way to run Firefox behind Terminal? What I want to do is continue with the command line while the page is loading, which may take a few seconds.

+7
command-line unix firefox ubuntu
source share
3 answers

In the settings about: config:

 'browser.tabs.loadDivertedInBackground' to 'true'. 
+6
source share
 firefox "http://www.google.com/" & 

It works just fine for me. Try using quotation marks and the full URL.

0
source share

firefox and -We only open in the background and you can surf. firefox is --search "your text" and can directly give you search results for opening in a separate tab or windows just try the --new tab or - new windows followed by your url. you can find it just give firefox --help in terminal

-one
source share

All Articles