Thinking about it, you should replace the echo line with $* only instead of doing the substitution! Hopefully this will help you out.
Mike 2009/9/3 Mike Massonnet <[email protected]>: > Just to add two words (and to answer in-list yet again), I rarely use > the address bar in the internet panel. Usually I click the browser > shortcut (bottom left corner) in myzone and type in the address bar of > the browser. > > Mike > > 2009/9/3 Mike Massonnet <[email protected]>: >> Sorry no. My version of mutter-moblin is 0.31.2-2.1 (rpm -qi mutter-moblin). >> >> Mike >> >> 2009/9/3 Oleg Bezorudko-Chyrykalov <[email protected]>: >>> >>> No EOF in the script, I figured it is closing the cat command. >>> Script now looks this way: >>> >>> #!/bin/sh >>> firefox ${*#-I} >>> echo firefox ${*#-I} > /tmp/firefox-command >>> >>> and the output in /tmp/firefox-command is: >>> >>> firefox >>> >>> nothing more... I tried to use firefox $* instead firefox ${*#-I} in the >>> scrip, but the output was exactly the same. >>> Any ideas on why it might be happening? >>> >>> On Thu, Sep 3, 2009 at 6:36 PM, Mike Massonnet <[email protected]> wrote: >>>> >>>> Forgot the To: list again. >>>> >>>> 2009/9/3 Mike Massonnet <[email protected]>: >>>> > 2009/9/3 Oleg Bezorudko-Chyrykalov <[email protected]>: >>>> >> Ok so I put in a script: >>>> >> #!/bin/sh >>>> >> firefox ${*#-I} >>>> >> EOF >>>> > >>>> > You didn't put EOF in the script, did you? It has nothing to do there, >>>> > it was part of the cat command to terminate it automatically. >>>> > >>>> >> And now when I type an address in the Internet section it does start >>>> >> firefox, but only to load my home page, not the page I wrote in >>>> >> there... >>>> >> I think its worth mentioning that my netbook is not connected to the >>>> >> internet right now, so it is possible that firefox is not going >>>> >> anywhere >>>> >> because it doesnt see any connection, just trying to access home page. >>>> >> Mike, can you please check it? >>>> > >>>> > As said, I tested and it works fine here. You can debug a little on >>>> > your side, add within the script the line: >>>> > echo firefox ${*#-I} > /tmp/firefox-command >>>> > >>>> > and after typing something in the address bar you can display the >>>> > content of the file /tmp/firefox-command (cat /tmp/firefox-command in >>>> > a terminal) to see what it tried to run. You can run that same command >>>> > from a terminal to see how it behaves. But perhaps it's just cause >>>> > your connection is down. I have no more advice. >>>> > >>>> >> Thanks a lot! >>>> > >>>> > Mike >>>> > >>> >>> >>> >>> -- >>> Oleg Bezorudko-Chyrykalov >>> mailto:[email protected] >>> >> > _______________________________________________ Moblin dev Mailing List [email protected] To manage or unsubscribe from this mailing list visit: http://lists.moblin.org/listinfo/dev or your user account on http://moblin.org once logged in. For more information on the Moblin Developer Mailing lists visit: http://moblin.org/community/mailing-lists
