Files
sugar-toolkit-gtk3/README
T

72 lines
1.2 KiB
Plaintext
Raw Normal View History

2006-04-26 18:03:54 -04:00
Dependencies
============
2006-05-03 16:55:56 -04:00
xulrunner
2006-04-26 18:03:54 -04:00
gecko-embed
2006-05-03 16:55:56 -04:00
http://gnome.org/~marco/olpc
2006-04-26 18:03:54 -04:00
2006-04-26 00:25:11 -04:00
Building
========
2006-04-26 02:41:54 -04:00
You will need gnome-common.
2006-04-27 15:01:42 -04:00
./autogen.sh --prefix=/usr --sysconfdir=/etc --localstatedir=/var
2006-04-26 00:25:11 -04:00
make
2006-04-27 15:01:42 -04:00
make install # make require root privileges
2006-04-26 00:25:11 -04:00
Running
=======
2006-04-27 15:28:16 -04:00
Once installed you can run sugar with
$ sugar
2006-04-27 15:01:42 -04:00
To run the python sources from your source tree run
2006-04-26 02:26:57 -04:00
2006-05-16 16:32:08 -04:00
$ sugar/sugar
You can also run the components separately:
2006-04-27 15:11:47 -04:00
$ source ./setup-run-from-source.sh # needs bash
2006-04-26 02:26:57 -04:00
2006-04-27 15:01:42 -04:00
in the top-level directory. Icons and other resources are still loaded
from the installed location though.
2006-04-26 02:26:57 -04:00
2006-04-27 15:01:42 -04:00
To run the shell
2006-04-26 00:25:11 -04:00
2006-04-27 15:01:42 -04:00
$ cd shell/src
$ ./shell.py
2006-04-26 00:25:11 -04:00
2006-04-27 15:01:42 -04:00
You can run activities like this
2006-04-26 00:25:11 -04:00
2006-04-27 15:01:42 -04:00
$ cd browser
$ ./browser.py
2006-04-26 00:25:11 -04:00
2006-04-27 15:01:42 -04:00
(Just remember to have the shell running)
Running two instances on the same machine
=========================================
1) Install Xephyr
2) Add another user to your machine, lets call that user 'sugar'
2) Run Xepyhr as your normal user:
$ Xephyr -ac -host-cursor -screen 800x600 :1
3) In a new shell:
$ su sugar -
$ dbus-daemon --session --print-address
4) In another new shell
$ su sugar -
$ export DISPLAY=:1
$ export DBUS_SESSION_BUS_ADDRESS=<output dbus-daemon command from above>
$ metacity &
5) In the previous shell, run sugar