LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Mozilla 1.4 and profile manager (https://www.linuxquestions.org/questions/linux-software-2/mozilla-1-4-and-profile-manager-79944/)

linux_pioneer 08-07-2003 04:38 PM

Mozilla 1.4 and profile manager
 
I just installed Mozilla 1.4 and it works great. Redhat 9.0 ships with 1.2.1 which doesn't have the pop up blocker that 1.4 has and 1.4 runs faster on my system. The only thing that gets me about 1.4 is that it acts a little funky with rh 9. When I attempt to open a second window I get this error saying the current profile is in use and asks me if I would like to create a new profile. I don't want to create a profile everytime I open a new window. If I go to the 1st window I opened and select new window from the file menu I can open a new window with the same profile. I know there has to be a way to (perhaps an option) to open a new window with the current profile. I guess I'll figure it out eventually but if anyone has run into this before let me know how you handled it.

Tinkster 08-07-2003 05:06 PM

mozilla-remote is the key ... :)
 
The point here is that you need
to start mozilla "differently" :) I've
had the very same problem a
while ago, and agree that the
default (open a profile manager)
is a bit stupid ... even though it has
it's advantages ... for instance, if
you get the same mozilla, just a different
instance, and it crashes, ALL windows
die on you together ;)

Code:

#!/bin/sh
if mozilla -remote "ping()";
then
if test "$1" != ""
then
mozilla -remote "openURL($1,new-window)";
else
mozilla -remote "xfeDoCommand (openBrowser)";
fi
else
mozilla -width 800 -height 600 $1;
fi;

Save that as run_moz.sh to where your
mozilla lives, chmod +x run_moz.sh, and
make the button/desktop icon point to it,
rather than the mozilla binary ...

Cheers,
Tink

linux_pioneer 08-08-2003 06:32 AM

Thanks alot, the code works like a charm. Hats off to you.

Tinkster 08-08-2003 04:36 PM

Pleasure mate :)

If you like that, and it's not too
much of an effort ... how about
an affero? :}

Cheers,
Tink

slappycakes 08-21-2003 08:35 PM

Thanks!
 
I've been looking for the fix action on this. It happens on Firebird to but only on Linux and not Windoz. Go figure...thanks again.
slappy

PredatorX 07-22-2004 01:28 PM

Tha Pred says lot's of thanks, this works like a charm :study: :D


All times are GMT -5. The time now is 03:46 AM.