Re: Help with Mozilla 1.5 in Gnome

From: Philip (noone_at_nowhere.org)
Date: 09/30/03


Date: Tue, 30 Sep 2003 14:53:49 -0700

Ed Murphy wrote:
> On Sun, 28 Sep 2003 03:12:31 -0500, Warren CHEN wrote:
>
>
>>Absolute Redhat Newbie. I recently upgrade Mozilla 1.2.1 to 1.5.
>>Everything is working fine except the follwoing 3 problems:
>>
>>1. everytime I tried to open a 2nd window by clicking the quick launch
>>icon, a message tells me the "profile is already in use" and instruct me
>>to create a new profile;
>
>
> You need some sort of script to manage things. I have a script in
> /usr/bin/mozilla which eventually runs the binary at
> /usr/lib/mozilla-1.2.1/mozilla-bin
>
> Someone else want to weigh in with more precise details?

Well if you look for documentation on the -remote option, then you can create a
launching script to do what you want and put it in the applet. here is something
I did to load a file into a new tab window.

#! /usr/bin/ksh
if /opt/mozilla/mozilla -remote 'ping()'
then
# a browser is already running, send message to load the file
         /opt/mozilla/mozilla -remote "openFile(file:$1,new-tab)"
else
# no browser running, start one with the file requested
         /opt/mozilla/mozilla "file:$1" &
fi



Relevant Pages

  • Re: Spontaneous closing
    ... I frequently run several instances of the same telnet program simultaneously. ... happens when the telnet software is not active or online - I launch the ... The Event Viewer doesn't have anything unusual after a window ... time of day to launch the telnet connection - the script running then ...
    (microsoft.public.windowsxp.general)
  • Re: Read files
    ... I don't know of a clean method of hiding the console window. ... and then launch that child script in a hidden window and then feeds ... wshshell method to ping the remoe computer to allow for windows 2000 clients. ...
    (microsoft.public.scripting.vbscript)
  • Re: Read files
    ... When you say "the wshshell method" are you referring to the .Exec method ... I don't know of a clean method of hiding the console window. ... temporary script on the fly, and then launch that child script in a hidden ...
    (microsoft.public.scripting.vbscript)
  • Re: Launch chm file on WS within HTML
    ... This causes a 'Page Cannot be Displayed' in a 'Cannot find server' window. ... I wish to launch an executable from a web page residing ... However, since the script seems to run, it ...
    (microsoft.public.scripting.wsh)
  • Re: CDE: Desktop Icon Displays Run Window
    ... > How can I have the script run without creating a run window? ... Click on 'Applications' which is on the subpanel above ... In the resulting window you'll see 'Desktop_Apps'. ... any subpanel and launch your thing from the Front Panel. ...
    (comp.unix.solaris)