Tips using Scratchbox 2

Starting the windowed environment

PC> maemo-sdk start gui

Entering to scratchbox console

PC> maemo-sdk enter runtime

⇒ enters to scratchbox console

Running python

run-standalone.sh python2.5 myprogram.py

Running C and C++ programs, for example

run-standalone.sh ./helloworld

If your executable file is “helloworld”.

Graphical user interface is stopped with command

maemo-sdk stop gui

Locations

Rootstrap is located on $HOME/.maemo-sdk