Firefox Launching Issue

Jeff Allison jeff.allison at allygray.2y.net
Tue Apr 13 23:13:40 UTC 2004


On Wed, 2004-04-14 at 05:17, Jarret R wrote:

> Is there anyway to make firefox launch a new window when a link (or 
> launcher icon) is clicked when a firefox window already exists?

I use This

#!/bin/sh

export MOZILLA_HOME=/usr/lib/firefox
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$MOZILLA_HOME

# get URL to load
url=$1; [ -z $url ] && url=about:blank

# try xremote first
#$MOZILLA_HOME/mozilla-xremote-client openURL\($url\) && exit 0
$MOZILLA_HOME/firefox -remote openURL\($url,new-tab\) && exit 0

# if xremote failed, then launch the browser
exec $MOZILLA_HOME/firefox $url
-- 
Regards

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
.0.  Jeff Allison
..0  jeff.allison at allygray.2y.net
000  MOB 0410 502 702
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040414/803f0efd/attachment-0001.sig>


More information about the fedora-list mailing list