On Thursday 28 October 2004 05:33 pm, Patrick Shanahan wrote:
* Darrell Cormier
[10-28-04 12:47]: <snip> ~> firefox ~> firefox -remote "openurl(http://www.mapquest.com)" Error: No running window found
'-remote' will only open a window *if* you already have an instance of firefox open.
-remote <command> Execute <command> in an already running Mozilla process.
Thank you Patrick but I understood that. That is why I listed both commands above. First one opened Firefox and the second tried the -remote <command> sequence. Still get the error.
I also tried to set the KDE kcontrol -> File Associations so that the firefox command was: firefox -remote %u
above
but nothing happens. Maybe I am missing something. I went to:http://www.mozilla.org/unix/remote.html but didn't find any help.
well, this is the correct place. It explains 'remote'
I use "firefox -remote 'openURL(about:blank, new-window)'"
_but_, I always open an instance of firefox when I boot so the 'remote' command *will* work.
I have tried the command with the ", new-window)" and the ", new-tab)" qualifiers. Still no different.
doez this make it clear?
' as a bell.
-- Patrick Shanahan Registered Linux User #207535
<inclusion of Randall R. Schulz response>
I assume you've dealt with the basic file association so that instead of Konqueror your HTTP URLs are being sent to Firefox. The refinement you need is this (or something like it):
Command: /usr/local/bin/mozilla -remote "openURL(%u)"
Thanks Randall, Yes the file association has Firefox on the top of the list. I have tried this command as well. Then when I click a link in Kmail I get the little bouncing firefox icon like it is trying to satisfy my request but then nothing happens and my current open window of firefox does not change. I have tried the following five in kcontrol: /usr/bin/firefox -remote 'openURL(%u,new-tab)' /usr/bin/firefox -remote 'openURL(%s,new-tab)' /usr/bin/firefox -remote "openURL(%u,new-tab)" /usr/bin/firefox -remote "openURL(%s,new-tab)" /usr/bin/firefox -remote "openURL(%u)" Here is a snippet from ps -ef to show that firefox is running: gunner 5199 4889 0 07:56 ? 00:00:03 /opt/MozillaFirefox/lib/firefox-bin gunner 5408 5039 0 08:03 ? 00:00:00 ispell -a -S -C along with some additional attempts from the command line to see if it will work: ~> /usr/bin/firefox -remote "openURL (http://mapquest.com, new-tab)" Error: No running window found ~> /usr/bin/firefox -remote 'openURL (http://mapquest.com, new-tab)' Error: No running window found ~> /usr/bin/firefox -remote 'openURL (about:blank, new-tab)' Error: No running window found ~> /usr/bin/firefox -remote 'openURL (mapquest.com, new-tab)' Error: No running window found ~> /usr/bin/firefox -remote 'openURL (mapquest.com, new-window)' Error: No running window found ~> /usr/bin/firefox -remote "openURL (mapquest.com, new-window)" Error: No running window found ~> /usr/bin/firefox -remote "openURL (about:blank,new-tab)" Error: No running window found Still no luck. I don't guess it is all that important, but it would sure be nice to open tabs instead of a bunch of windows. Darrell C.