Mozilla Firefox - multiple instances

T. Ribbrock emgaron at gmx.net
Mon Feb 23 07:59:20 UTC 2004


On Thu, Feb 12, 2004 at 01:22:55PM -0600, Marc Williams wrote:
> I've seen several queries about how to open multiple instances of
> Firefox (nee Firebird) without encountering the dreaded Profile Manager
> prompt.  I saw this thread on Mozillazine about how to do just that:
> http://forums.mozillazine.org/viewtopic.php?t=51428

> In a nutshell, create this script:

> #!/bin/sh 
> firefox -remote 'ping()' 
> if [ $? -eq 0 ]; then 
> #open a new window 
> #firefox -remote "openURL(www.google.com, new-window)" & 
> firefox -remote "openURL(${1}, new-window)" & 
> else 
> #open new instance 
> firefox $1 & 
> fi

I wonder whether this can be done in a simpler way...

The command I'm using in my Window Maker menus is this:

MozillaFirefox -remote "openURL(%s,new-tab)"||MozillaFirefox "%s"

Works like a charm.

Cheerio,

Thomas
-- 
===> Netiquette - read it, use it: http://www.faqs.org/rfcs/rfc1855.html <===
-----------------------------------------------------------------------------
                Thomas Ribbrock    http://www.ribbrock.org 
  "You have to live on the edge of reality - to make your dreams come true!"





More information about the fedora-list mailing list