Re: [yocto] How to change the startup application

2016-10-25 Thread Khem Raj

> On Oct 25, 2016, at 6:02 AM, Nikola Popovic  wrote:
> 
> Greetings.
> 
> Is there any possibility to make recipe which start and run application 
> inside weston terminal when Yocto starts.

weston init does have mechanism for such usecases see weston.ini. I would 
recommend to read through weston docs.

> 
> Tnx !
> 
> 
> --
> Nikola Popovic
> Software Engineer
> Tel: +381 21 4801 1304
> E-mail : nikola.popo...@rt-rk.com
> 
> RT-RK LLC
> Narodnog fronta 23a
> 21000 Novi Sad
> Serbia
> www.rt-rk.com
> 
> --
> ___
> yocto mailing list
> yocto@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/yocto



signature.asc
Description: Message signed with OpenPGP using GPGMail
-- 
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] How to change the startup application

2016-10-25 Thread Nikola Popovic

Greetings.

Is there any possibility to make recipe which start and run application 
inside weston terminal when Yocto starts.


Tnx !


--
Nikola Popovic
Software Engineer
Tel: +381 21 4801 1304
E-mail : nikola.popo...@rt-rk.com

RT-RK LLC
Narodnog fronta 23a
21000 Novi Sad
Serbia
www.rt-rk.com

--
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] How to change the startup application

2012-04-04 Thread James Abernathy
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?

Jim A



On Tue, Apr 3, 2012 at 5:58 PM, Liu, Song song@intel.com 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.

 Song

 -Original Message-
 From: Autif Khan [mailto:autif.ml...@gmail.com]
  Sent: Tuesday, April 03, 2012 2:23 PM
 To: Liu, Song
 Cc: yocto@yoctoproject.org
 Subject: Re: [yocto] How to change the startup application

 Hi Song,

 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.

 Source:
 https://wiki.yoctoproject.org/wiki/Category:FAQ

 What I added days ago:

 https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_change_and_add_startup_scripts

 What you added (which I think should be deleted):
 https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_change_and_add_startup

 Agree?

 On Tue, Apr 3, 2012 at 4:34 PM, Liu, Song song@intel.com 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.
 
  Song
 
  -Original Message-
  From: Autif Khan [mailto:autif.ml...@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_startu
  p _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

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] How to change the startup application

2012-04-03 Thread Liu, Song
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.

Song

-Original Message-
From: Autif Khan [mailto:autif.ml...@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


Re: [yocto] How to change the startup application

2012-04-03 Thread Gary Thomas

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.ml...@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

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] How to change the startup application

2012-04-03 Thread Autif Khan
 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.

That is true.

However, All over the Yocto Project's website - the common bitbake
commands for an image is either core-image-minimal or core-image-sato.
(core-image-sato-sdk also uses matchbox).

minimal does not start any app - not counting daemons and gettys

If the user chooses another window manager - they are/should be on their own.

I just assumed that we are not trying to document the init process
(bootloader, kernel, initrd, inittab, init.d etc)

We are trying to answer a less experienced developer to replace the
default window manager with their own app

There is a chance that I am not aware of the default application being
other than matchbox. Can you please provide me some counter example?
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] How to change the startup application

2012-04-03 Thread Gary Thomas

On 2012-04-03 15:12, Autif Khan 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.


That is true.

However, All over the Yocto Project's website - the common bitbake
commands for an image is either core-image-minimal or core-image-sato.
(core-image-sato-sdk also uses matchbox).

minimal does not start any app - not counting daemons and gettys

If the user chooses another window manager - they are/should be on their own.

I just assumed that we are not trying to document the init process
(bootloader, kernel, initrd, inittab, init.d etc)

We are trying to answer a less experienced developer to replace the
default window manager with their own app


Then it should be made clear that this answer only covers that scope.
The Wiki page title implies that it is a more generic answer.



There is a chance that I am not aware of the default application being
other than matchbox. Can you please provide me some counter example?


I can think of many, most that are headless (no window environment at all)

--

Gary Thomas |  Consulting for the
MLB Associates  |Embedded world

___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] How to change the startup application

2012-04-03 Thread Autif Khan
Hi Song,

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.

Source:
https://wiki.yoctoproject.org/wiki/Category:FAQ

What I added days ago:
https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_change_and_add_startup_scripts

What you added (which I think should be deleted):
https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_change_and_add_startup

Agree?

On Tue, Apr 3, 2012 at 4:34 PM, Liu, Song song@intel.com 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.

 Song

 -Original Message-
 From: Autif Khan [mailto:autif.ml...@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


Re: [yocto] How to change the startup application

2012-04-03 Thread Liu, Song
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.

Song

-Original Message-
From: Autif Khan [mailto:autif.ml...@gmail.com] 
Sent: Tuesday, April 03, 2012 2:23 PM
To: Liu, Song
Cc: yocto@yoctoproject.org
Subject: Re: [yocto] How to change the startup application

Hi Song,

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.

Source:
https://wiki.yoctoproject.org/wiki/Category:FAQ

What I added days ago:
https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_change_and_add_startup_scripts

What you added (which I think should be deleted):
https://wiki.yoctoproject.org/wiki/FAQ:How_do_I_change_and_add_startup

Agree?

On Tue, Apr 3, 2012 at 4:34 PM, Liu, Song song@intel.com 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.

 Song

 -Original Message-
 From: Autif Khan [mailto:autif.ml...@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_startu
 p _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


[yocto] How to change the startup application

2012-03-29 Thread Liu, Song
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...

Thanks,
Song
___
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


Re: [yocto] How to change the startup application

2012-03-29 Thread Autif Khan
 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