How to do it...
SATO is the default visual style for the Poky distribution, based on Gnome Mobile and Embedded (GMAE). It is a desktop environment based on GTK+ that uses the matchbox window manager. It has the peculiarity of showing one single fullscreen window at a time. To build the core-image-sato image with X11 support, you need to remove other graphical distribution features by adding the following to your conf/local.conf file:
DISTRO_FEATURES_remove = "wayland"
Alternatively, the FSL BSP community offers a fslc-x11 distribution as part of meta-freescale-distro with a reference configuration for X11-based images. To use it, change your DISTRO in conf/local.conf to fslc-x11.
To build the GTK hello world application, meta-custom/recipes-graphics/gtk-helloworld/gtk-helloworld-1.0/gtk_hello_world.c ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access