Re: External links causes new browser start

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


Attachment: pgpnwaToxfJtj.pgp
Description: PGP signature


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux