Sugar was designed as a session manager started by a display manager, providing a graphical command shell and full-screen window manager. This is how Sugar is deployed on children's laptops and desktop computers. Examples are OLPC OS, Fedora SoaS, and Debian SugarBlend.
Sugar Runner is for running Sugar as an application inside a desktop environment. It provides a desktop menu item and icon.
You can run it from a text console or from inside another X session. By default it runs in fullscreen but you can specify the window size using the --resolution option.
Sugar Runner should not be used with naive learners, as they may escape from Sugar and do harm to the outer system.
Sugar Runner should not be used by testers, as the testing will miss critical aspects of the session interaction, such as shutdown and restart.
At this time sugar-runner only works with Xorg, NOT Wayland. In Fedora there is a gear symbol on the login page which lets you choose to run GNOME or GNOME Classic on Xorg. If you choose one of these options before logging in sugar-runner should work for you.
- unsets variables inherited from the existing session,
- substitutes an alternate home directory for XDG data,
- turns off the Sugar shutdown and restart options,
- forks Xvfb with Xephyr.
./autogen.sh
make
sudo make install
in Fedora:
sudo dnf install Xephyr
export GI_TYPELIB_PATH=/usr/local/lib/girepository-1.0
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
sugar-runner