View source for FSO ringtones
From Openmoko
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page:
Template used on this page:
Return to FSO ringtones.
You do not have permission to edit this page, for the following reasons:
You can view and copy the source of this page:
Template used on this page:
Return to FSO ringtones.
Key pages on: FSO |
|
---|
The ringtone in milestone 2 is stored here:
/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
cd /usr/lib/python2.5/site-packages/framework/subsystems/oeventd/
python >>> import py_compile >>> py_compile.compile("receiver.py") >>> quit()
/etc/init.d/fso-frameworkd restart && /etc/init.d/zhone-session stop && sleep 2 && /etc/init.d/zhone-session start
Now you can link /usr/share/sounds/ringtone to any mp3 and that will be your ringtone