<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3603" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=717280317-24112009><FONT face=Arial
color=#0000ff size=2>Great! Good to hear :)</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=717280317-24112009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=717280317-24112009><FONT face=Arial
color=#0000ff size=2>-- Ed</FONT></SPAN></DIV><BR>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> ext Mustali Dalal
[mailto:archebyte@gmail.com] <BR><B>Sent:</B> Tuesday, November 24, 2009 11:02
AM<BR><B>To:</B> Swartz Ed (Nokia-D/Austin)<BR><B>Cc:</B>
esbox-users@garage.maemo.org<BR><B>Subject:</B> Re: [Esbox-users] cannot start
esbox. starting esbox displays empty dialog on Ubuntu
Karmic<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>sorry for the late reply.<BR></DIV>
<DIV><BR></DIV>
<DIV>This latest version of the script works fine. Thanks.</DIV>
<DIV>arch:~/esbox$ ./esbox3.sh <BR>Using xulrunner:
/usr/lib/xulrunner/xulrunner<BR></DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>
<DIV class=gmail_quote>On Tue, Nov 17, 2009 at 6:27 PM, <SPAN dir=ltr><<A
href="mailto:Ed.Swartz@nokia.com">Ed.Swartz@nokia.com</A>></SPAN>
wrote:<BR>
<BLOCKQUOTE class=gmail_quote
style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<DIV>
<DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff
size=2>Hi,</FONT></SPAN></DIV>
<DIV dir=ltr align=left> </DIV>
<DIV dir=ltr align=left><SPAN><FONT color=#000000><FONT face=Arial><FONT
size=2>
<DIV class=im>Not that I know of. what environment variable do you
suspect?<BR></DIV><SPAN><FONT color=#0000ff>[[[ejs]]] Hmm, <SPAN><FONT
face=Arial color=#0000ff size=2>it doesn't look there are actually any
variables which would affect dash (at least not according to the man
page). But who knows?
</FONT></SPAN></FONT></SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left> </DIV>
<DIV dir=ltr align=left><SPAN><FONT color=#000000><FONT face=Arial><FONT
size=2><SPAN><FONT color=#0000ff><SPAN>I guess now can you try: "dpkg -l
bash" , "dpkg -l dash" to see what versions you have. Also, a "set"
listing would be useful (excise any confidential info
though).</SPAN></FONT></SPAN></FONT></FONT></FONT></SPAN></DIV>
<DIV dir=ltr align=left> </DIV>
<BLOCKQUOTE style="MARGIN-RIGHT: 0px">
<DIV class=im>
<DIV><FONT face=Arial><FONT size=2><SPAN><FONT color=#000000>No. using
bash gives this error:</FONT></SPAN></FONT></FONT><FONT face=Arial><FONT
size=2><SPAN><FONT color=#000000><BR></FONT></SPAN></FONT></FONT></DIV>
<DIV>./esbox.sh: line 17: syntax error near unexpected token
`else'<BR>./esbox.sh: line 17: `else'<BR></DIV></DIV>
<DIV>
<DIV class=im>I have to change the help() -> help in order to get past
the script errors.<BR></DIV><SPAN><FONT face=Arial color=#0000ff
size=2>[[[ejs]]] The line number doesn't match with what I have, and
I'm not sure if your earlier edits are responsible. </FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2>So just to be extra sure,
I'm attaching the latest and greatest version of the script. Could
you try it? It doesn't have your edits in it yet; I just want to
verify everything.</FONT></SPAN></DIV>
<DIV><SPAN></SPAN> </DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2>And continued thanks for
helping ferret out these issues...</FONT></SPAN></DIV>
<DIV class=im>
<DIV> </DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2>-- Ed</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff
size=2>------------------------</FONT></SPAN></DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff
size=2>#!/bin/sh</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2># This script sets up the
environment to run Eclipse in newer<BR># versions of Linux which are
slightly incompatible with Eclipse 3.4.2.</FONT></SPAN></DIV>
<DIV> </DIV></DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2>help() {<BR> echo
"Note: xulrunner 1.8 should be installed if Eclipse crashes
unexpectedly"<BR> echo " on startup,
hangs with an empty dialog, fails to show hover help,"<BR> echo
" crashes in certain wizards,
etc."<BR> echo ""<BR> echo "Try: sudo apt-get install
xulrunner in Ubuntu"<BR> echo ""
<DIV class=im><BR> echo "See <A
href="https://garage.maemo.org/tracker/index.php?func=detail&aid=4689&group_id=192&atid=1420"
target=_blank>https://garage.maemo.org/tracker/index.php?func=detail&aid=4689&group_id=192&atid=1420</A>"<BR>}</DIV></FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2>check_version()
{<BR> PROG="$1"<BR> if [ ! -z "$PROG" ] && [ -e "$PROG"
] ; then<BR> VERSION=`$PROG -v 2>&1 | awk '{print $3}' |
cut -d. -f1,2`<BR> test "$VERSION" = "1.8"
<BR> else<BR> return
1 <BR> fi<BR>}</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2>
<DIV class=im># first, Eclipse depends on an old version of
xulrunner.<BR></DIV>if [ -z "$XULRUNNER" ] ;
then<BR> XULRUNNER=`which xulrunner`<BR> if ! check_version
$XULRUNNER ;
then<BR> XULRUNNER=/usr/lib/xulrunner/xulrunner<BR> if
! check_version $XULRUNNER ;
then<BR> XULRUNNER=""<BR> fi<BR> fi<BR>fi</FONT></SPAN></DIV>
<DIV> </DIV>
<DIV><SPAN><FONT face=Arial color=#0000ff size=2>
<DIV class=im>XULOPTS=""<BR>if [ -z "$XULRUNNER" ] ;
then<BR> help<BR>else<BR></DIV>
<DIV class=im> XULOPTS="-vmargs
-Dorg.eclipse.swt.browser.XULRunnerPath=$XULRUNNER"<BR></DIV> echo
"Using xulrunner: $XULRUNNER"<BR>fi</FONT></SPAN></DIV>
<DIV> </DIV><SPAN><FONT face=Arial color=#0000ff size=2>
<DIV class=im>
<DIV><BR># This is a fix for dependencies on GTK 2.16 (and older)
behavior, which<BR># if unfixed, results in annoying dialog behavior where
the mouse cannot<BR># properly click buttons, use tables, etc.<BR>export
GDK_NATIVE_WINDOWS=true</DIV>
<DIV> </DIV></DIV>
<DIV>PROGRAM=esbox<BR>INSTALL_DIR=`dirname $0`<BR>if [ ! -e
"$INSTALL_DIR/$PROGRAM" ] ; then INSTALL_DIR=. ;
fi<BR>"$INSTALL_DIR"/$PROGRAM $XULOPTS
"$@"<BR></DIV></FONT></SPAN></BLOCKQUOTE></DIV></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>