External links causes new browser start
Steven Usdansky
usdanskys at rocketmail.com
Thu Jul 15 11:36:16 UTC 2004
I found the following script, firefox_helper.sh, useful (sorry I can't give
proper credit, but I didn't note the source):
#!/bin/sh
export MOZILLA_FIVE_HOME="/usr/local/firefox"
FIREBIRD_PATH="/usr/local/firefox"
if [ -z "`ps x | grep \"[0-9] ${FIREBIRD_PATH}/firefox-bin\"`" ]; then
# No MozillaFirebird running
${FIREBIRD_PATH}/firefox $@
else
# MozillaFirebird running - open a new window
${FIREBIRD_PATH}/mozilla-xremote-client "openURL($@,new-tab)"
fi
In Gnome Menu -> Preferences -> Preferred Applications I changed the Web Browser
to Custom with Command: firefox_helper.sh %s
--
Steven I. Usdansky, PhD
Traveling Geologist
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/fedora-list/attachments/20040715/226c9047/attachment-0001.sig>
More information about the fedora-list
mailing list