Re: [SHR] Launching applications
Thanks all for the info and the testing. I'll update the file tomorrow - users with the opkg.org repo will be able to simply opkg update && opkg upgrade cheers, joseph On 16/03/2009, Francesco de Virgilio wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Al Johnson ha scritto: > >> The problem isn't that command, but the shell you're specifying at the >> start >> of the script. Change from #!/bin/bash to #!/bin/sh and it works just >> fine. > > Tested, now it works. Joseph Reeves, could you insert this fix in an > upgrade for the gvsig ipk (in repository)? > > - -- > Francesco de Virgilio > *Ubuntu-it Member and Wiki Editor* >mailto:frad...@ubuntu-it.org >http://wiki.ubuntu-it.org/FrancescoDeVirgilio > *Wikimedia Italia Member* >http://en.wikipedia.org/wiki/User:Fradeve11 > *OpenStreetMap Mapper* >http://www.openstreetmap.org/user/Fradeve11 > *Blog* >http://fradeve.netsons.org > "Love - Peace - Freedom - Free Software" > GPG 0x6482E056 (FP B996 A12C BD52 2A9B CDD3 812D 462D 93B0 6482 E056) > -BEGIN PGP SIGNATURE- > Version: GnuPG v1.4.9 (GNU/Linux) > > iEYEARECAAYFAkm+xloACgkQRi2TsGSC4FblhgCdFrR6FoHmH3+k+t6IESdcECza > UlwAnA592KFlIyYCF1bsX6NiMjGwRVBH > =fDpD > -END PGP SIGNATURE- > > ___ > Openmoko community mailing list > community@lists.openmoko.org > http://lists.openmoko.org/mailman/listinfo/community > ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [SHR] Launching applications
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Al Johnson ha scritto: > The problem isn't that command, but the shell you're specifying at the start > of the script. Change from #!/bin/bash to #!/bin/sh and it works just fine. Tested, now it works. Joseph Reeves, could you insert this fix in an upgrade for the gvsig ipk (in repository)? - -- Francesco de Virgilio *Ubuntu-it Member and Wiki Editor* mailto:frad...@ubuntu-it.org http://wiki.ubuntu-it.org/FrancescoDeVirgilio *Wikimedia Italia Member* http://en.wikipedia.org/wiki/User:Fradeve11 *OpenStreetMap Mapper* http://www.openstreetmap.org/user/Fradeve11 *Blog* http://fradeve.netsons.org "Love - Peace - Freedom - Free Software" GPG 0x6482E056 (FP B996 A12C BD52 2A9B CDD3 812D 462D 93B0 6482 E056) -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.9 (GNU/Linux) iEYEARECAAYFAkm+xloACgkQRi2TsGSC4FblhgCdFrR6FoHmH3+k+t6IESdcECza UlwAnA592KFlIyYCF1bsX6NiMjGwRVBH =fDpD -END PGP SIGNATURE- ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [SHR] Launching applications
On Monday 16 March 2009, Joseph Reeves wrote: > As per the recent gvSIG Mobile thread: > > http://lists.openmoko.org/nabble.html#nabble-td2486265|a2486543 > > Why does SHR fail to find the application gvsig when the file exists > as: /usr/bin/gvsig ? > > The application can be run with: > > jamvm -Xmx40M -cp > /usr/share/java/swt.jar:/usr/share/gv-om/class/all.jar > es/prodevelop/gvsig/mobile/app/Launcher fr /usr/share/gv-om > /media/card > > but this doesn't work if executed from the script /usr/bin/gvsig - why is > this? > > What do I need to do to allow execution by pressing the icon in SHR? The problem isn't that command, but the shell you're specifying at the start of the script. Change from #!/bin/bash to #!/bin/sh and it works just fine. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: [SHR] Launching applications
On Mon, 16 Mar 2009 16:27:02 + Joseph Reeves wrote: > As per the recent gvSIG Mobile thread: > > http://lists.openmoko.org/nabble.html#nabble-td2486265|a2486543 > > Why does SHR fail to find the application gvsig when the file exists > as: /usr/bin/gvsig ? > > The application can be run with: > > jamvm -Xmx40M -cp > /usr/share/java/swt.jar:/usr/share/gv-om/class/all.jar > es/prodevelop/gvsig/mobile/app/Launcher fr /usr/share/gv-om > /media/card > > but this doesn't work if executed from the script /usr/bin/gvsig - > why is this? > > What do I need to do to allow execution by pressing the icon in SHR? > > Thanks, Joseph Presuming that the icon is visible but just not working, my guess would be that you need to include explicit path to everything within the script, IE the java VM... Logged in via terminal or SSH you will have $PATH defined, when triggering scripts from GUI or automation $PATH may not be defined. j ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
[SHR] Launching applications
As per the recent gvSIG Mobile thread: http://lists.openmoko.org/nabble.html#nabble-td2486265|a2486543 Why does SHR fail to find the application gvsig when the file exists as: /usr/bin/gvsig ? The application can be run with: jamvm -Xmx40M -cp /usr/share/java/swt.jar:/usr/share/gv-om/class/all.jar es/prodevelop/gvsig/mobile/app/Launcher fr /usr/share/gv-om /media/card but this doesn't work if executed from the script /usr/bin/gvsig - why is this? What do I need to do to allow execution by pressing the icon in SHR? Thanks, Joseph ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community