All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gary Thomas <gary@mlbassoc.com>
To: yocto@yoctoproject.org
Subject: Re: How to change the startup application
Date: Tue, 03 Apr 2012 14:46:42 -0600	[thread overview]
Message-ID: <4F7B61B2.9050208@mlbassoc.com> (raw)
In-Reply-To: <7E680CB2A76BB8438D08CF13C09FC53A46AF089A@ORSMSX101.amr.corp.intel.com>

On 2012-04-03 14:34, Liu, Song 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.

This rather narrow answer is only useful if you are running a MatchBox desktop.
There are many other deployment scenarios which would require a different approach.

> -----Original Message-----
> From: Autif Khan [mailto:autif.mlist@gmail.com]
> Sent: Thursday, March 29, 2012 4:56 PM
> To: Liu, Song
> Cc: yocto@yoctoproject.org
> 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:
>> https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_change_and_add_startup
>> _scripts. Pretty good, someone was thinking about the same thing. 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".
>
> #START_APPLETS=showdesktop,windowselector
> #END_APPLETS=clock,battery,systray,startup-notify,notify
> #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
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto

-- 
------------------------------------------------------------
Gary Thomas                 |  Consulting for the
MLB Associates              |    Embedded world
------------------------------------------------------------


  reply	other threads:[~2012-04-03 20:46 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-03-20 15:49 issue building iputils with uclibc John Toomey
2012-03-20 16:23 ` Paul Eggleton
2012-03-20 16:56   ` Khem Raj
2012-03-29 13:20     ` John Toomey
2012-03-29 19:05       ` Paul Eggleton
2012-03-29 19:49         ` Khem Raj
2012-03-29 20:39           ` How to change the startup application Liu, Song
2012-03-29 23:56             ` Autif Khan
2012-04-03 20:34               ` Liu, Song
2012-04-03 20:46                 ` Gary Thomas [this message]
2012-04-03 21:12                   ` Autif Khan
2012-04-03 21:15                     ` Gary Thomas
2012-04-03 21:23                 ` Autif Khan
2012-04-03 21:58                   ` Liu, Song
2012-04-04 10:06                     ` James Abernathy
2016-10-25 13:02               ` Nikola Popovic
2016-10-25 15:52                 ` Khem Raj
2012-03-30 10:27         ` issue building iputils with uclibc Paul Eggleton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F7B61B2.9050208@mlbassoc.com \
    --to=gary@mlbassoc.com \
    --cc=yocto@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.