FSO ringtone

Angus Ainslie angus.ainslie at gmail.com
Thu Aug 7 01:30:31 CEST 2008


On Wed, Aug 6, 2008 at 3:40 PM, simarillion <simarillion at gmx.de> wrote:

> On Wednesday 06 August 2008 20:20:29 Angus Ainslie wrote:
> > Where is the FSO ring tone saved ?
> >
> > Angus
>
> I think it's /usr/share/sounds/
> But I'm not sure.
>

Thanks ,

Thats exactly where it is.

/usr/share/sounds/Arkanoid_PSID.sid

Now to change it is a little bit of fun.

first in

/usr/lib/python2.5/site-packages/framework/subsystems/oeventd/receiver.py

Change the line that reads:

decoder = gst.element_factory_make( "siddec", "decoder" )

to

decoder = gst.element_factory_make( "mad", "decoder" )


and change the line that reads:

filesrc.set_property( "location", "/usr/share/sounds/Arkanoid_PSID.sid" )

to

filesrc.set_property( "location", "/usr/share/sounds/ringtone" )

Then

mv
/usr/lib/python2.5/site-packages/framework/subsystems/oeventd/receiver.pyo
/home/root

then reboot the phone ( I'm sure there's a better way to regenerate
receiver.pyo but I don't know it )

Now you can link /usr/share/sounds/ringtone to any mp3 and that will be your
ringtone

Angus
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.openmoko.org/pipermail/community/attachments/20080806/3c61ccbe/attachment.htm 


More information about the community mailing list