Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I launch a URL in Firefox in the background from Ubuntu command line?

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

firefox reader.google.com &

I put the ampersand at the end so that it won't 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 launch Firefox behind the Terminal? What I want to do is continue working on the command line while the page loads, which sometimes can take a few seconds.

like image 544
dan Avatar asked Feb 16 '10 21:02

dan


1 Answers

In firefox's about:config page set preference:

'browser.tabs.loadDivertedInBackground' to 'true'.
like image 64
McPherrinM Avatar answered Nov 12 '22 18:11

McPherrinM