Re: Firefox 0.9 remote control

jack wallen <[email protected]>
Newsgroups gmane.comp.gnome.ximian.user
Message-ID <[email protected]>
here's teh script i'm using to call up firefox:

/opt/firefox/mozilla-xremote-client "openURL($@,new-tab)" || firefox $1
&

it took me about a week to get it working right (and a lot of help from
a lot of people).

On Tue, 2004-06-22 at 16:18, Thomas R. Burkholder wrote:
> I'm still having trouble passing the URL to $arg in gnome-control-center
> preferred applications. 
> 
> /path_to_app/mozilla-xremote-client -a firefox "openurl(URL,new-tab)" 
> pulls up URL perfectly from bash.  
> 
> I've tried:
> 
> /path_to_app/mozilla-xremote-client -a firefox "openurl(%s,new-tab)" 
> which pulls up a blank tab and gets redirected to hoovers.com
> 
> and escaping the %s with '%s' and "%s" which give me a literal %s as a
> URL.
> 
> Any suggestions on how to escape the %s so that it gets interpreted
> correctly?
> 
> Tom
> 
> On Tue, 2004-06-22 at 10:59, Paul Hands wrote:
> > Hi all,
> > 
> > I found, like many others, that the remote control of firefox has
> > changed from 0.8 to 0.9.  They actually changed the remote control
> > functionality, so that existing scripts used to invoke a new window on
> > an existing firefox process no longer work.
> > 
> > The answer is to use the supplied mozilla-xremote-client command, and
> > to add the -a firefox argument.
> > 
> > As an example, the command now looks like this....
> > 
> > mozilla-xremote-client -a firefox "openurl($arg,new-window)"
> > 
> > Hope this helps,
> > 
> > Paul
> > 
> 
> _______________________________________________
> Users maillist  -  [email protected]
> http://lists.ximian.com/mailman/listinfo/users
-- 
before the automobile, cyclists, pedestrians, and horses ruled the road.
times have changed and gas-guzzling, pollution machines called SUVs own
the road. but that doesn't mean the automobile has any more right on the
road than the bicycle. share the road. save a life.

_______________________________________________
Users maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.