Archive for the 'n800' Category

N800 devel setup

Saturday, April 21st, 2007

These are just the basic things I forget, after everything is set up and installed.

4 windows:

n800:
ssh root@IP (192.168.0.5 at home

sbox:
/scratchbox/login
export DISPLAY=:2
af-sb-init.sh start
gcc -o maemo_hello maemo_hello.c `pkg-config --cflags gtk+-2.0 hildon-libs` -ansi -Wall `pkg-config --libs gtk+-2.0 hildon-libs`

Xephyr:
Xephyr :2 -host-cursor -screen 800x480x16 -dpi 96 -ac

Edit:
cd /scratchbox/users/kylo/home/kylo

Scratchbox install info

Sunday, April 15th, 2007

http://repository.maemo.org/stable/bora/maemo-scratchbox-install_3.1.sh

Installation was successful!
—————————-

You now have Scratchbox 1.0.7 ‘apophis’ release installed.

Scratchbox cannot be run as user root. Instead, use your normal login
user account. Add additional scratchbox users and sandboxes with the
following command (outside scratchbox with root permissions):

# /scratchbox/sbin/sbox_adduser USER yes

Running this command will create sandbox environment for that user and
add user to the ’sbox’ scratchbox user group.
You will need to start a new login terminal after being added to the
’sbox’ group for group membership to be effective.

Scratchbox service must be started for CPU transparency to be functional.
Run the following command (outside scratchbox with root permissions):

# /scratchbox/sbin/sbox_ctl start

Add this command to e.g. /etc/rc.local file to start scratchbox service
at boot time.

Login to scratchbox session using the following command (as user):

$ /scratchbox/login

Refer to scratchbox.org documentation for more information re scratchbox:
http://scratchbox.org/documentation/user/scratchbox-1.0/