>Submitter-Id: current-users >Originator: Nick Jennings >Organization: >Confidential: no >Synopsis: all mozilla spells do not support thread spawning >Severity: non-critical >Priority: low >Category: ports >Class: sw-bug >Release: FreeBSD 4.7-RELEASE i386 >Environment: System: FreeBSD grenzik.us.mvd 4.7-RELEASE FreeBSD 4.7-RELEASE #6: Thu Oct 24 12:03:46 PDT 2002 nkj@grenzik.us.mvd:/usr/obj/usr/src/sys/GRENZIK i386 >Description: When mozilla is run, and a mozilla process is already running, mozilla will require that the user select a new profile before loading. This is because of the lack of a mozilla wrapper which will detect if mozilla is already running, if so it will launch the call in a new thread of the same instance. >How-To-Repeat: * Run mozilla * In gnome-terminal or any application that lets you right click on a URL and "Open in Browser" etc. * When trying to open up link instead you get a message about the profile already in use. >Fix: Heres a mozilla wrapper I wrote and tested. Works good. This should replace the mozilla shell script that currently exists (which just cd's to the mozilla dir and run the mozilla binary). It should be called 'mozilla' and be on the path. Any of the mozilla ports which use it must be sure to set the initial shell variable correctly for thier specific port. I am using the mozilla-devel port, so this is setup for that port. #!/bin/sh MOZILLA_DIR="/usr/X11R6/lib/mozilla-devel" MOZILLA_EXEC="mozilla" LOCATION='new-tab' cd $MOZILLA_DIR || exit 1 # catch calls for mozilla mail if [ "$1" = "-mail" ]; then REMOTE_COMMAND="xfeDoCommand (openInbox)" else REMOTE_COMMAND="openURL($*, $LOCATION)" fi # process found ./$MOZILLA_EXEC -remote "ping()" && ./$MOZILLA_EXEC -remote "$REMOTE_COMMAND" && exit 0 # no existing process ./$MOZILLA_EXEC $* &
Responsible Changed From-To: gnats-admin->freebsd-ports Ports stuff.
Responsible Changed From-To: freebsd-ports->gnome Over to maintainers
State Changed From-To: open->closed Committed with slight modification, thanks!