Reply
Thread Tools
BrentDC's Avatar
Posts: 903 | Thanked: 632 times | Joined on Apr 2008
#11
Originally Posted by thp View Post
After having done "export DISPLAY=:2" (or wherever your Xephyr sits) and "af-sb-init.sh start" (which should bring up the Desktop in Xephyr), run your app from the commandline with "run-standalone.sh" prefixed, i.e.

Code:
export DISPLAY=:2
af-sb-init.sh start
run-standalone.sh python2.5 test.py
(of course, you only do the first two commands once whenever you enter scratchbox)
I just tried it with run-standalone.sh, and still nothing shows up
__________________
-Brent

Author of TouchSearch -- web searching software for Maemo 5.

Mobile Device lineage: Palm Z22 -> Palm TX -> Nokia N800 -> Nokia N900
 
BrentDC's Avatar
Posts: 903 | Thanked: 632 times | Joined on Apr 2008
#12
Ah, forget it. All is working now! (I closed down my scratchbox session, then restarted, and everything was good).

Thanks!
__________________
-Brent

Author of TouchSearch -- web searching software for Maemo 5.

Mobile Device lineage: Palm Z22 -> Palm TX -> Nokia N800 -> Nokia N900
 
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#13
Originally Posted by BrentDC View Post
I followed exactly what Qwerty said I don't know if it is really *working* though, I still can't get apps to run.
Oh, my bad, you're in Diablo.

I thought you were in the Fremantle Beta.
__________________
N9: Go white or go home
 
BrentDC's Avatar
Posts: 903 | Thanked: 632 times | Joined on Apr 2008
#14
Originally Posted by daperl View Post
Oh, my bad, you're in Diablo.

I thought you were in the Fremantle Beta.
Fremantle? Haha, I can't even get my programs working in Chinook.
__________________
-Brent

Author of TouchSearch -- web searching software for Maemo 5.

Mobile Device lineage: Palm Z22 -> Palm TX -> Nokia N800 -> Nokia N900
 
BrentDC's Avatar
Posts: 903 | Thanked: 632 times | Joined on Apr 2008
#15
Speaking of which, does anyone know how to run multiple SDK's side-by-side? Fremantle, Diablo, etc.
__________________
-Brent

Author of TouchSearch -- web searching software for Maemo 5.

Mobile Device lineage: Palm Z22 -> Palm TX -> Nokia N800 -> Nokia N900
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#16
Originally Posted by BrentDC View Post
I followed exactly what Qwerty said I don't know if it is really *working* though, I still can't get apps to run.
Tried using the DIABLO_ARMEL target, instead?

If that fails, you can try this convoluted method:
  1. Install X Terminal (can't remember if it's there by default)
  2. Load it up, using Xeyphr, with the application menu
  3. Run from that terminal, using 'python2.5'

Out of curiosity: What does 'test.py' consist of?
 
qwerty12's Avatar
Posts: 4,274 | Thanked: 5,358 times | Joined on Sep 2007 @ Looking at y'all and sighing
#17
Originally Posted by BrentDC View Post
Speaking of which, does anyone know how to run multiple SDK's side-by-side? Fremantle, Diablo, etc.
It's a scratchbox 1 limitation - you can only have one target in use at one time. Scratchbox 2 is said not to have this problem...
 

The Following User Says Thank You to qwerty12 For This Useful Post:
BrentDC's Avatar
Posts: 903 | Thanked: 632 times | Joined on Apr 2008
#18
Originally Posted by qwerty12 View Post
Tried using the DIABLO_ARMEL target, instead?

If that fails, you can try this convoluted method:
  1. Install X Terminal (can't remember if it's there by default)
  2. Load it up, using Xeyphr, with the application menu
  3. Run from that terminal, using 'python2.5'

Out of curiosity: What does 'test.py' consist of?

Thanks Qwerty, but I've got it working. test.py is just a empty hilldon window.
__________________
-Brent

Author of TouchSearch -- web searching software for Maemo 5.

Mobile Device lineage: Palm Z22 -> Palm TX -> Nokia N800 -> Nokia N900
 

The Following User Says Thank You to BrentDC For This Useful Post:
BrentDC's Avatar
Posts: 903 | Thanked: 632 times | Joined on Apr 2008
#19
Originally Posted by qwerty12 View Post
It's a scratchbox 1 limitation - you can only have one target in use at one time. Scratchbox 2 is said not to have this problem...
If they can't run side-by-side, can you install multiples then just shut down / switch back and forth?

like install one to /scrachbox/diablo/ and another to /scratchbox/fremantle/?
__________________
-Brent

Author of TouchSearch -- web searching software for Maemo 5.

Mobile Device lineage: Palm Z22 -> Palm TX -> Nokia N800 -> Nokia N900
 
daperl's Avatar
Posts: 2,427 | Thanked: 2,986 times | Joined on Dec 2007
#20
Originally Posted by BrentDC View Post
If they can't run side-by-side, can you install multiples then just shut down / switch back and forth?

like install one to /scrachbox/diablo/ and another to /scratchbox/fremantle/?
You'd be living on the edge. You would probably want a 2nd sb script in /etc/init.d. But if you're not really careful with bringing them up and down, you could put your disk(s) in a bad state. There's plenty of directory mounting/binding that goes on. It can be done. I've done it manually a few times, but only as a means of transition. If you're really serious, I would install 2 sb's, but I wouldn't install either of them in the default /scratchbox. Probably the best way to avoid catastrophe.

Lastly, if you're just doing Python coding, don't even use sb. Do you use a recent type of Ubuntu? If so, like I said earlier, just:

sudo apt-get install python-hildon
sudo apt-get install python-hildondesktop

When I code on the tablet, I copy my stuff into memory (/tmp) so I do less wear-and-tear on the SD. I just have to remember to save periodically.
__________________
N9: Go white or go home
 

The Following User Says Thank You to daperl For This Useful Post:
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 12:01.