首先,當我的系統升級後,其實已有內建 start-hildon, 不過這個檔要稍微修正,參考底下是我在用的內容,如此一來您就不必管我前一篇文章的作法,直接叫用下面的命令,Ubuntu 是放在 /usr/bin/start-hildon:
#!/bin/bash
Xephyr :1 -host-cursor -screen 800x480x16 -dpi 96 -ac &
sleep 1
PREFIX=/usr
THEME=${PREFIX}/share/themes/plankton
if [ -d ${PREFIX}/share/themes/mobilebasic ]; then
THEME=${PREFIX}/share/themes/mobilebasic
fi
export DISPLAY=:1
export GTK2_RC_FILES=${THEME}/gtk-2.0/gtkrc:${THEME}/gtk-2.0/gtkrc.maemo_af_desktop
export LANG=zh_TW.UTF-8
export $(dbus-launch --exit-with-session)
/usr/lib/libgconf2-4/gconfd-2 &
${PREFIX}/bin/matchbox-window-manager -display ${DISPLAY} \
-theme ${THEME}/matchbox/theme.xml \
-use_titlebar no \
-use_desktop_mode plain \
-use_lowlight no \
-use_cursor yes \
-use_super_modal yes &
${PREFIX}/lib/sapwood/sapwood-server &
${PREFIX}/bin/mas &
exec ${PREFIX}/bin/hildon-desktop
若跟 ubuntu 的比,主要修正的是語系 export LANG=zh_TW.UTF-8 及 mas 是放在 /usr/bin 而非 /usr/sbin
因為每個人的系統可能不一樣,我必須加裝某些套件才比較正常,底下供您參考:
galculator mousepad mobile-player empathy libmas0c2 mas-server mas-utils hildon-theme-layout-4 hildon-theme-plankton hildon-theme-tools
0 意見:
張貼留言