Finally it works!
I tried as you said:

#!/bin/sh
firefox ${*#-I}
echo firefox $* > /tmp/firefox-command

But still saw that /tmp/firefox-command has only
firefox

so I did:
su gedit

and opened moblin-web-browser file

and script there was:

#!/bin/sh
firefox
echo firefox $* > /tmp/firefox-command

For some reason ${*#-I} was missing!
I added it in gedit, saved and it worked.

Anyone knows why from console it couldnt save it with ${*#-I}?

Regards



On Thu, Sep 3, 2009 at 11:22 PM, Mike Massonnet <mmasson...@gmail.com>wrote:

> 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 <mmasson...@gmail.com>:
> > 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 <mmasson...@gmail.com>:
> >> Sorry no. My version of mutter-moblin is 0.31.2-2.1 (rpm -qi
> mutter-moblin).
> >>
> >> Mike
> >>
> >> 2009/9/3 Oleg Bezorudko-Chyrykalov <obezoru...@gmail.com>:
> >>>
> >>> 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
> >>>
>
>
_______________________________________________
Moblin dev Mailing List
dev@moblin.org

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

Reply via email to