Re: Help runnning a script after Installing an activity from .xo

2008-12-18 Thread shivaprasad javali
I am using a tool to write the application. The sound will be played by this tool itself and it uses OSS. Sorry I cannot provide more information as to what the tool is and what is the application. So I cannot change the way I play sound since this would require me to change the underlying tool.

Re: Help runnning a script after Installing an activity from .xo

2008-12-17 Thread quozl
On Wed, Dec 17, 2008 at 12:31:31PM +0530, shivaprasad javali wrote: So I have to modify the /etc/sysconfig/modules/olpc-1.modules file so that I ask the XO to load the OSS module when it boots. Why when it boots? Why not when the activity starts? #!/usr/bin/python import os os.system(/bin/su

Re: Help runnning a script after Installing an activity from .xo

2008-12-17 Thread Bert Freudenberg
On 18.12.2008, at 00:51, qu...@laptop.org wrote: On Wed, Dec 17, 2008 at 12:31:31PM +0530, shivaprasad javali wrote: So I have to modify the /etc/sysconfig/modules/olpc-1.modules file so that I ask the XO to load the OSS module when it boots. Why when it boots? Why not when the activity

Re: Help runnning a script after Installing an activity from .xo

2008-12-17 Thread Wade Brainerd
2008/12/16 shivaprasad javali jbs...@gmail.com Hi, I am developing an activity for the XO. I have the .xo file ready to install but I still have one problem. After Installing the activity I need to make the XO run a script. I need to do this because the Application makes use of the OSS

Help runnning a script after Installing an activity from .xo

2008-12-16 Thread shivaprasad javali
Hi, I am developing an activity for the XO. I have the .xo file ready to install but I still have one problem. After Installing the activity I need to make the XO run a script. I need to do this because the Application makes use of the OSS module to render sound which is not loaded by default on