FAQ:How do I change and add startup scripts

From Yocto Project
Revision as of 23:47, 29 March 2012 by Autif (talk | contribs)
Jump to navigationJump to search

Q: How do I change and add startup scripts?

A: Edit meta/recipes-sato/matchbox-sato/matchbox-session-sato/session. Of course, if you have your own meta-layer, append the matchbox-session-sato_0.1.bb recipe.

Disable 'matchbox-desktop' and 'matchbox-panel', however, do not disable 'exec matchbox-window-manager ...'

Don't forget to run your app as a background process

For example:

  1. matchbox-desktop &
  1. Lines containing feature-[foo] are removed at build time if the machine
  2. doesn't have the feature "foo".
  1. START_APPLETS=showdesktop,windowselector
  2. END_APPLETS=clock,battery,systray,startup-notify,notify
  3. END_APPLETS=openmoko-panel-gsm,$END_APPLETS # feature-phone
  1. matchbox-panel --titlebar --start-applets $START_APPLETS --end-applets $END_APPLETS &

/usr/games/fifteen &

exec matchbox-window-manager -theme Sato -use_desktop_mode decorated -use_cursor $SHOWCURSOR $@