<!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=234453202-17112009><FONT face=Arial 
color=#0000ff size=2>Hi,</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=234453202-17112009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=234453202-17112009><FONT face=Arial 
color=#0000ff size=2>Hmm, that script works for me with bash and dash.&nbsp; 
What shell do you have for /bin/sh?&nbsp; </FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=234453202-17112009><FONT face=Arial 
color=#0000ff size=2></FONT></SPAN>&nbsp;</DIV>
<DIV dir=ltr align=left><SPAN class=234453202-17112009><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> Monday, November 16, 2009 6:48 
  PM<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>I got an error executing it.&nbsp;<BR>archebyte $ ./esbox.sh 
  <BR>./esbox.sh: 6: Syntax error: "(" unexpected<BR>
  <DIV><BR></DIV>
  <DIV>However, looking at the script, I was able to set the startup parameters 
  manually and I am now able to start esbox.</DIV>
  <DIV>./esbox -vmargs 
  -Dorg.eclipse.swt.browser.XULRunnerPath=/usr/bin/xulrunner</DIV>
  <DIV><BR></DIV>
  <DIV>Thanks!<BR></DIV>
  <DIV><BR></DIV>
  <DIV class=gmail_quote>On Tue, Nov 17, 2009 at 12:00 AM, <SPAN dir=ltr>&lt;<A 
  href="mailto:Ed.Swartz@nokia.com">Ed.Swartz@nokia.com</A>&gt;</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><BR>&nbsp;</DIV>
    <BLOCKQUOTE style="MARGIN-RIGHT: 0px">
      <DIV>
      <DIV class=im>Thanks for the reply Ed. Did you mean 1.9 and 1.8 instead of 
      1.19/1.18?&nbsp;<BR></DIV><FONT face=Arial><FONT color=#0000ff><FONT 
      size=2><SPAN>&nbsp;</SPAN><SPAN>[[[ejs]]]&nbsp;Oh yes,&nbsp;sorry about 
      the version confusion. 1.8.</SPAN></FONT></FONT></FONT></DIV>
      <DIV>&nbsp;</DIV>
      <DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN>
      <DIV class=im><FONT face="Times New Roman" color=#000000 size=3>I did 
      install xulrunner and set the GDK variable. still didn't 
      work.</FONT><BR></DIV>Did you find and use the esbox.sh script from the 
      latest integration release?&nbsp; It should tell you which xulrunner it 
      found or if it failed.&nbsp; It looks first at the xulrunner on the PATH 
      and then tries /usr/lib/xulrunner/xulrunner, which I think is where it is 
      in the package shown below.</SPAN></FONT></FONT></FONT></DIV>
      <DIV>&nbsp;</DIV>
      <DIV><SPAN><FONT face=Arial color=#0000ff size=2>The contents of the 
      script are included below if they're missing from the 
      archive.</FONT></SPAN></DIV>
      <DIV>&nbsp;</DIV>
      <DIV><SPAN><FONT face=Arial color=#0000ff size=2>-- Ed</FONT></SPAN></DIV>
      <DIV><SPAN></SPAN><BR><FONT face=Arial><FONT color=#0000ff><FONT 
      size=2>#!/bin/sh</FONT></FONT></FONT></DIV>
      <DIV>&nbsp;</DIV>
      <DIV><FONT face=Arial><FONT color=#0000ff><FONT 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></FONT></FONT></DIV>
      <DIV>&nbsp;</DIV>
      <DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2>function help() 
      {<BR>&nbsp;echo "Note: xulrunner 1.18.1 should be installed if Eclipse 
      crashes unexpectedly"<BR>&nbsp;echo "&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; on 
      startup, with hover help, during wizards, etc."<BR>&nbsp;echo "See <A 
      href="https://garage.maemo.org/tracker/index.php?func=detail&amp;aid=4689&amp;group_id=192&amp;atid=1420" 
      target=_blank>https://garage.maemo.org/tracker/index.php?func=detail&amp;aid=4689&amp;group_id=192&amp;atid=1420</A>"<BR>}</FONT></FONT></FONT></DIV>
      <DIV>&nbsp;</DIV>
      <DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2># first, Eclipse 
      depends on an old version of xulrunner.<BR>XULRUNNER=`which 
      xulrunner`<BR>XULOPTS=""<BR>if [ -z "$XULRUNNER" ] ; 
      then<BR>&nbsp;help()<BR>else<BR>&nbsp;XULVERSION=`$XULRUNNER -v 
      2&gt;&amp;1 | awk '{print $3}' | cut -d. -f1,2`<BR>&nbsp;if [ 
      "$XULVERSION" != "1.8" ] ; 
      then<BR>&nbsp;&nbsp;help();<BR>&nbsp;else<BR>&nbsp;&nbsp;XULOPTS="-vmargs 
      -Dorg.eclipse.swt.browser.XULRunnerPath=$XULRUNNER"<BR>&nbsp;fi<BR>fi</FONT></FONT></FONT></DIV>
      <DIV>&nbsp;</DIV>
      <DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2># 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</FONT></FONT></FONT></DIV>
      <DIV>&nbsp;</DIV>
      <DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2>./esbox $XULOPTS 
      "$@"<BR><BR><SPAN>&nbsp;</SPAN></FONT></FONT></FONT></DIV>
      <DIV>
      <DIV class=h5>
      <DIV><BR></DIV>
      <DIV><FONT face="courier new,monospace"><FONT size=1>user@ttelmtux:~$ dpkg 
      -l xul*</FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1><BR></FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1>Desired=Unknown/Install/Remove/Purge/Hold</FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1><BR></FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1>| 
      Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend</FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1><BR></FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1>|/ Err?=(none)/Reinst-required 
      (Status,Err: uppercase=bad)</FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1><BR></FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1>||/ Name Version 
      Description</FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1><BR></FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1>+++-======================================-======================================-============================================================================================</FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1><BR></FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1>un xulrunner &lt;none&gt; (no 
      description available)</FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1><BR></FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1>rc xulrunner-1.9 
      1.9.0.14+build2+nobinonly-0ubuntu0.9.0 XUL + XPCOM application 
      runner</FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1><BR></FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1>un xulrunner-1.9-gnome-support &lt;none&gt; (no description 
      available)</FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1><BR></FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1>ii xulrunner-1.9.1 1.9.1.5+nobinonly-0ubuntu0.9.10.1 XUL + XPCOM 
      application runner</FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1><BR></FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1>ii xulrunner-1.9.1-gnome-support 1.9.1.5+nobinonly-0ubuntu0.9.10.1 
      Support for GNOME in xulrunner-1.9.1 applications</FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1><BR></FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1><BR></FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1><BR></FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1><BR></FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1>user@ttelmtux:~$ sudo apt-get 
      install xulrunner</FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1><BR></FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1>Reading package lists... Done</FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1><BR></FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1>Building dependency tree 
      </FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1><BR></FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1>Reading state information... Done</FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1><BR></FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1>The following packages were 
      automatically installed and are no longer required:</FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1><BR></FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1>gcj-4.3-base libgcj9-0 libgcj-bc 
      libswt-gtk-3.5-jni libaccess-bridge-java-jni libaccess-bridge-java 
      icedtea-6-jre-cacao gcj-4.4-jre-lib libgcj10 gij-4.3 ant-optional-gcj 
      ant</FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1><BR></FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1>gcj-4.4-base libequinox-osgi-java default-jre libgcj-common 
      libjaxp1.3-java openjdk-6-jre-headless tzdata-java openjdk-6-jre 
      libjline-java openjdk-6-jre-lib libgcj9-jar</FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1><BR></FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1>libxerces2-java 
      gcj-4.4-jre-headless rhino default-jre-headless libswt-gtk-3.5-java 
      ca-certificates-java ant-gcj ant-optional</FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1><BR></FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1>Use 'apt-get autoremove' to 
      remove them.</FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1><BR></FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1>The following extra packages will be installed:</FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1><BR></FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1>libmozjs0d libxul-common 
      libxul0d</FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1><BR></FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1>Suggested packages:</FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1><BR></FONT></FONT><FONT 
      face="courier new,monospace"><FONT 
      size=1>xulrunner-gnome-support</FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1><BR></FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1>The following NEW packages will 
      be installed:</FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1><BR></FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1>libmozjs0d libxul-common libxul0d xulrunner</FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1><BR></FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1>0 upgraded, 4 newly installed, 0 
      to remove and 0 not upgraded.</FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1><BR></FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1>Need to get 7,565kB of 
      archives.</FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1><BR></FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1>After this operation, 23.9MB of additional disk space will be 
      used.</FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1><BR></FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1>Do you want to continue [Y/n]? y</FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1><BR></FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1>Get:1 <A 
      href="http://mirror.ovh.net" target=_blank>http://mirror.ovh.net</A> 
      karmic/universe libmozjs0d 1.8.1.16+nobinonly-0ubuntu1 
      [378kB]</FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1><BR></FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1>Get:2 <A href="http://mirror.ovh.net" 
      target=_blank>http://mirror.ovh.net</A> karmic/universe libxul-common 
      1.8.1.16+nobinonly-0ubuntu1 [1,173kB]</FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1><BR></FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1>Get:3 <A 
      href="http://mirror.ovh.net" target=_blank>http://mirror.ovh.net</A> 
      karmic/universe libxul0d 1.8.1.16+nobinonly-0ubuntu1 
      [5,728kB]</FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1><BR></FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1>Get:4 <A href="http://mirror.ovh.net" 
      target=_blank>http://mirror.ovh.net</A> karmic/universe xulrunner 
      1.8.1.16+nobinonly-0ubuntu1 [286kB] </FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1><BR></FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1>Fetched 7,565kB in 6s 
      (1,087kB/s) </FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1><BR></FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1>Selecting previously deselected package 
      libmozjs0d.</FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1><BR></FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1>(Reading database ... 275390 files and directories currently 
      installed.)</FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1><BR></FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1>Unpacking libmozjs0d (from 
      .../libmozjs0d_1.8.1.16+nobinonly-0ubuntu1_i386.deb) 
      ...</FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1><BR></FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1>Selecting previously deselected package 
      libxul-common.</FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1><BR></FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1>Unpacking libxul-common (from 
      .../libxul-common_1.8.1.16+nobinonly-0ubuntu1_all.deb) 
      ...</FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1><BR></FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1>Selecting previously deselected package 
      libxul0d.</FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1><BR></FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1>Unpacking libxul0d (from 
      .../libxul0d_1.8.1.16+nobinonly-0ubuntu1_i386.deb) ...</FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1><BR></FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1>Selecting previously deselected 
      package xulrunner.</FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1><BR></FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1>Unpacking xulrunner (from 
      .../xulrunner_1.8.1.16+nobinonly-0ubuntu1_i386.deb) ...</FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1><BR></FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1>Setting up libmozjs0d 
      (1.8.1.16+nobinonly-0ubuntu1) ...</FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1><BR></FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1><BR></FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1>Setting up libxul-common 
      (1.8.1.16+nobinonly-0ubuntu1) ...</FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1><BR></FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1>Setting up libxul0d 
      (1.8.1.16+nobinonly-0ubuntu1) ...</FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1><BR></FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1><BR></FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1>Setting up xulrunner 
      (1.8.1.16+nobinonly-0ubuntu1) ...</FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1><BR></FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1><BR></FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1>Processing triggers for libc-bin 
      ...</FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1><BR></FONT></FONT><FONT face="courier new,monospace"><FONT 
      size=1>ldconfig deferred processing now taking place</FONT></FONT><FONT 
      face="courier new,monospace"><FONT size=1><BR></FONT></FONT></DIV><FONT 
      face="courier new,monospace"><FONT size=1><BR></FONT></FONT>
      <DIV class=gmail_quote>On Mon, Nov 16, 2009 at 7:56 PM, <SPAN 
      dir=ltr>&lt;<A href="mailto:Ed.Swartz@nokia.com" 
      target=_blank>Ed.Swartz@nokia.com</A>&gt;</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>
        <DIV dir=ltr align=left>&nbsp;</DIV>
        <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
          <DIV><BR></DIV>
          <DIV>After following the instructions for installing from the 
          Product-Archives (<A 
          href="http://esbox.garage.maemo.org/2nd_edition/installation_product.html" 
          target=_blank>http://esbox.garage.maemo.org/2nd_edition/installation_product.html</A>) 
          on Ubuntu 9.10, I am unable to start Esbox.</DIV>
          <DIV><BR></DIV>
          <DIV>Executing esbox displays the workspace confirmation window. After 
          acknowledgement, I see the Esbox splash screen displaying 'Loading 
          Workbench'. But soon after that I get a blank window (attached).</DIV>
          <DIV>I did set the GDK_NATIVE_WINDOWS variable and still no 
        go.</DIV></BLOCKQUOTE></DIV>
        <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
          <DIV dir=ltr align=left><SPAN><FONT face=Arial color=#0000ff 
          size=2>[[ejs]] This error is different, unfortunately.&nbsp;&nbsp; The 
          startup screen for a new workspace uses a web browser component that 
          depends on Mozilla's xulrunner.&nbsp; In newer Linux releases, this 
          xulrunner is 1.19 and incompatible with Eclipse.&nbsp; You can apt-get 
          install xulrunner to get a compatible version (1.18).&nbsp; The latest 
          integration releases should have an "esbox.sh" script inside which 
          will find and use that version and work around this issue, as well as 
          the GDK_NATIVE_WINDOWS one.</FONT></SPAN></DIV></BLOCKQUOTE>
        <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
          <DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN>Hope this 
          works!</SPAN></FONT></FONT></FONT></DIV></BLOCKQUOTE>
        <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
          <DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2>-<SPAN>- 
          Ed&nbsp;</SPAN></FONT></FONT></FONT><BR></DIV>
          <DIV><BR></DIV></BLOCKQUOTE></DIV></BLOCKQUOTE></DIV><BR></DIV></DIV></BLOCKQUOTE></DIV></BLOCKQUOTE></DIV><BR></BLOCKQUOTE></BODY></HTML>