From mint-bounce@lists.fishpool.fi Mon Sep 13 07:21:10 2010 To: From: Peter Slegg Subject: Re: [MiNT] Launcher Reply-To: Peter Slegg X-Mailer: MyMAIL Rev:1.94.13761 (Atari/(STiK/STinG/GlueSTiK)) X-Hardware: Atari Milan MIME-Version: 1.0 Date: Mon, 13 Sep 2010 12:19:18 +0200 (GMT) Content-Type: text/plain; charset="iso-8859-1" X-Priority: 3 X-MSMail-Priority: Normal Message-Id: <001af02b.02125262ad46@smtp.freeola.net> References: <08d42481cc9b33b8834fa7c379177646-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUNBAjBTXF5bVkYJX1hoBV06XF1XRUYFXFJcQQ==-webmailer2@server05.w> In-Reply-To: 08d42481cc9b33b8834fa7c379177646-EhVcX1lFRQVaRwYcDTpQCEFddQZLVF5dQUNBAjBTXF5bVkYJX1hoBV06XF1XRUYFXFJcQQ==-webmailer2@server05.w X-ecartis-version: Ecartis v1.0.0 Sender: mint-bounce@lists.fishpool.fi Errors-to: mint-bounce@lists.fishpool.fi X-original-sender: p.slegg@scubadivers.co.uk Precedence: bulk List-help: List-unsubscribe: List-Id: X-List-ID: List-subscribe: List-owner: List-post: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by mail.sparemint.org id o8DBL9Vu026148 On Mon, 13 Sep 2010 12:30:51 , m0n0 wrote: > > Hello Peter, > > Am Montag, den 13.09.2010, 10:46 +0200 schrieb Peter Slegg > : > > 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