I tried and catched the problem. Firefox is run with the option "-I"
which doesn't exist with firefox. To fix this change the line firefox
$* against firefox ${*#-I}.

For me everything works fine this way. What did you mean by saying
that nothing starts?

Mike

2009/9/3 Oleg Bezorudko-Chyrykalov <[email protected]>:
> Hey Mike,
> After I do:
> $ cd /usr/local/bin
> $ cat > moblin-web-browser << EOF
> #!/bin/sh
> firefox $*
> EOF
> it tells me:
> bash: moblin-web-browser: Permission denied
> So I used "su" to login as a root and did everything.
> Now, however, when I type a link in the internet section and hit enter it
> minimizes the whole section (i think it is calling firefox) but nothing
> starts. I checked if I write firefox in terminal and it started okay, so I
> think that $* is a wrong parameter. What else could it be?
> Thanks again for all the help!
> Oleg
>
> On Thu, Sep 3, 2009 at 3:37 PM, Mike Massonnet <[email protected]> wrote:
>>
>> Hi Oleg,
>>
>> An alias only will not work AFAICT, you have to try out to be sure.
>> The default PATH is /usr/local/bin:/usr/bin:/bin, and the quickest way
>> to add the wrapper script is by putting it inside one of them, I had
>> suggest the first path in /usr/local/bin.
>>
>> From the command line you can execute:
>> $ cd /usr/local/bin
>> $ cat > moblin-web-browser << EOF
>> #!/bin/sh
>> firefox $*
>> EOF
>>
>> and
>> $ chmod +x moblin-web-browser
>>
>> I don't recommened to put things within /usr/bin unless you know what
>> you are doing. Packages installed via the package maintainer may
>> overwrite or even miss-behave if you do bad things.
>>
>> That is all you should need to do.
>>
>> Mike
>>
>> 2009/9/3 Oleg Bezorudko-Chyrykalov <[email protected]>:
>> > Hey Mike,
>> > Thanks for help, I thought something like that should help, but can you
>> > please describe how to do it? I am sorta new to linux :-)
>> > I also thought that maybe creating an alias for moblin browser to call
>> > firefox will help? What do you think?
>> > Thanks in advance,
>> > Oleg
>> >
>> > On Thu, Sep 3, 2009 at 2:52 PM, Mike Massonnet <[email protected]>
>> > wrote:
>> >>
>> >> Sorry, I always hit Reply and it doesn't send to the list.
>> >>
>> >> 2009/9/3 Mike Massonnet <[email protected]>:
>> >> > Put a wrapper script in your PATH for moblin-browser to call firefox
>> >> > and make it executable, for example:
>> >> > #!/bin/sh
>> >> > firefox $*
>> >> >
>> >> > Mike
>> >> >
>> >> > 2009/9/3 Oleg Bezorudko-Chyrykalov <[email protected]>:
>> >> >> Hi all,
>> >> >>
>> >> >> Yesterday I installed mozilla and killed default moblin browser.
>> >> >> Everything
>> >> >> works fine. Links from the central module of the M-Zone or anywhere
>> >> >> else
>> >> >> open properly in Mozilla except for the links that I type in the
>> >> >> address bar
>> >> >> in the Internet section of the top bar. Then just nothing happens.
>> >> >>
>> >> >> Is there any way to make it open in Mozilla?
>> >> >> _______________________________________________
>> >> >> 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
>> >> >>
>> >> >
>> >
>> >
>> >
>> > --
>> > Oleg Bezorudko-Chyrykalov
>> > mailto:[email protected]
>> > Sent from Greater London, United Kingdom
>
>
>
> --
> Oleg Bezorudko-Chyrykalov
> mailto:[email protected]
> Sent from Greater London, United Kingdom
_______________________________________________
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

Reply via email to