HildonDesktopGutsyManualProcedure

Differences between revisions 3 and 4
Revision 3 as of 2007-06-12 22:44:23
Size: 2194
Editor: 65
Comment:
Revision 4 as of 2007-06-12 22:47:38
Size: 2276
Editor: 65
Comment: fixes + debootstrap
Deletions are marked like this. Additions are marked like this.
Line 7: Line 7:
 * Prepare a gutsy chroot (more details on this).  * Prepare a gutsy chroot in ${DIR}:
 * $ debootstrap gutsy ${DIR} http://archive.ubuntu.com/ubuntu
 * $ mount --bind /tmp ${DIR}/tmp
Line 18: Line 20:
 * language-package-eng  * language-pack-en

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

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.

MobileTeam/Mobile/HowTo/HildonDesktopGutsyManualProcedure (last edited 2008-09-03 16:19:36 by pool-96-226-231-233)