HildonDesktopGutsyManualProcedure
Procedure to have the Hildon Desktop running on Gutsy
This is the step-by-step procedure to have the Hildon Desktop that will be used in the Ubuntu Mobile and Embedded project. This procedure should later be automated using a meta-package that installs everything.
Preparing the base enviromment
- Prepare a gutsy chroot in ${DIR}:
$ debootstrap gutsy ${DIR} http://archive.ubuntu.com/ubuntu
- $ mount --bind /tmp ${DIR}/tmp
Packages
Those are the packages needed to actually have the enviromment.
- hildon-desktop
- hildon-theme-plankton
- gtk2-engines-sapwood
- sdk-default-icons
- dbus-x11
- language-pack-en
- matchbox
Development packages
Those are packages that are likely to be used when developping applications using the enviromment above.
- xserver-xephyr
Preparation
- Prepare startup script. {{{#!/bin/bash
export PREFIX=/usr
export DISPLAY=:1
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:${PREFIX}/lib export XDG_DATA_DIRS=${PREFIX}/share:/usr/share export GTK2_RC_FILES=${PREFIX}/share/themes/plankton/gtk-2.0/gtkrc:${PREFIX}/share/themes/plankton/gtk-2.0/gtkrc.maemo_af_desktop export GTK_PATH=${PREFIX}/lib:${PREFIX}/lib/gtk-2.0/2.10.0/:${PREFIX}/lib/gtk-2.0 export LANG=en_GB.UTF-8 export LC_ALL=en_GB.UTF-8 export LANGUAGE=en_GB.UTF-8
exec /usr/lib/libgconf2-4/gconfd-2 &
exec ${PREFIX}/bin/matchbox-window-manager -display ${DISPLAY} \
- -theme ${PREFIX}/share/themes/plankton/matchbox/theme.xml \ -use_titlebar yes \ -use_desktop_mode plain \ -use_lowlight no \ -use_cursor yes \
-use_super_modal yes &
exec ${PREFIX}/lib/sapwood/sapwood-server &
exec ${PREFIX}/bin/hildon-desktop}}}
- Edit /etc/hildon-desktop/desktop.conf and remove or comment out the [Statusbar] session.
Running
- Start the dbus session bus (chroot, create a user, su - user)
- Execute Xephyr. {{{Xephyr :1 -host-cursor -screen 800x480x16 -dpi 96 -ac
}}}
- Execute the hildon-desktop script.