[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [MiNT] Launcher
On Mon, 13 Sep 2010 12:30:51 , m0n0 <ole@monochrom.net> wrote:
>
> Hello Peter,
>
> Am Montag, den 13.09.2010, 10:46 +0200 schrieb Peter Slegg
> <p.slegg@scubadivers.co.uk>:
> > I tried to Netsurf by by double-clicking on the shell script file
> > but it doesn't work. I seem to remember that it was possible to
> > launch scripts this way.
> >
> > I wondered if this was due to the change to the "launcher" variable
> > that used to start tw-call.app
>
> I would try changing the shell script, this line seems to be
> error-prone:
>
> ./nsfb -v -b 16 file://$WDPATH/index.htm
>
> If the CWD isn't the root directory of nsfb executable, this won't
> work.
> So try adjusting it to an full path like:
>
> /e/netsurf/nsfb -v -b 16 file:///e/netsurf/index.htm
>
> Greets,
> m
I now have this:
#!/bin/bash -x
NETSURFRES=/home/Netsurf/framebuffer/res/
export NETSURFRES
WDPATH=`pwd`
HOME='/home/hotlist.html'
/home/Netsurf/nsfb -b 16 -w 1100 -h 900 file://$HOME
#./nsfb -v -b 16 file://$WDPATH/index.htm
The ttp dialogue opens, I hit return, a window opens with a
black work area and then it closes again.
Peter