Re: How to change the startup application
toggle quoted message Show quoted text
Just an observation. the FAQ link that Autif did looks like a How Do I, which is the section in the Wiki right after the FAQ. Does that matter to anyone?
On Tue, Apr 3, 2012 at 5:58 PM, Liu, Song <song.liu@...> wrote:
Thanks, Autif. I guess I missed the last word for the link, but it's strange that the page was there. Anyway, I deleted mine.
From: Autif Khan [mailto:autif.mlist@...]>> p _scripts. Pretty good, someone was thinking about the same thing.Sent: Tuesday, April 03, 2012 2:23 PM
To: Liu, Song
Subject: Re: [yocto] How to change the startup application
I thought that I already updated the wiki. It seems like you created an extra page. "_scripts" is missing from the link. It should be there.
What I added days ago:
What you added (which I think should be deleted):
On Tue, Apr 3, 2012 at 4:34 PM, Liu, Song <song.liu@...> wrote:
> Hi Autif, thanks a lot for providing the answer here. Since no one is showing any objections here, I updated the wiki page with your answer (https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_change_and_add_startup). Please let me know if there is any suggestions or concerns.
> -----Original Message-----
> From: Autif Khan [mailto:autif.mlist@...]
> Sent: Thursday, March 29, 2012 4:56 PM
> To: Liu, Song
> Cc: yocto@...
> Subject: Re: [yocto] How to change the startup application
>> I got a question about how to change the startup application with Yocto for images generated with Yocto.
>> And I googled it and landed on this page:
>> But this page turns out to be empty. It seems that we need to get
>> better than this.
>> I'm wondering if someone could update this wiki page or if the information is somewhere else...
> I do not know of if the information is elsewhere - I had to find this
> information for my project
> Here is my stab at it (already updated the wiki):
> 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, the following code will start the fifteen game:
> #matchbox-desktop &
> # Lines containing feature-[foo] are removed at build time if the machine # doesn't have the feature "foo".
> #END_APPLETS=openmoko-panel-gsm,$END_APPLETS # feature-phone
> #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 $@
yocto mailing list