PDA

View Full Version : Sound not working from script launched by alarmd


jgwong
01-23-2009, 11:56 PM
Hi, I'm developing a simple Python script which makes a sound using hildon_play_system_sound(). The script works correctly when I run it via command line, but when alarmd launches it, it makes no sound whatsoever.

Does anyone have any idea what is causing this?

Thesandlord
01-23-2009, 11:59 PM
What user does alarmd run under. Is it root or something?
Did you try your script under root?

jgwong
01-24-2009, 12:04 AM
Thesandlord: It's running as "user". I tried running it both as root and user, and it works.