Hi all<br><br>I resend my last email about siglaunchd. Could anyone please help me ? The best would be to contact the author directly (Tom Haconen), but I have not found his email.<br>Thanks in advance<br><br>Kimaidou<br><br>
<div class="gmail_quote">2009/3/12 kimaidou <span dir="ltr"><<a href="mailto:kimaidou@gmail.com">kimaidou@gmail.com</a>></span><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div></div><div class="h5"><div class="gmail_quote">Hi lists,<br><br>I am using <b>siglaunchd</b> tool ( 1) . It is a great tool. I already set up some actions (2) wich improve a lot my openmoko usability (nb: the code is in italic in this email)<br>
<br>I need your help to trigger the following actions :<br>
<br>* Do an action when receiving a sms containing e.G "mypasswd". For now, I tried<br><i>#on incomming SMS<br>"DISPLAY=:0.0 echo "test" > /home/root/Scripts/message.txt"=org.freesmartphone.GSM.SMS;org.freesmartphone.ogsmd;/org/freesmartphone/GSM/Device;IncomingMessage; </i><br>
<br>--> It does not react (no file created) + it lacks content reading<br><br>* Store each phonenumber for each incomming call (just for testing). For now, I can do<br><i>#on incomming call from 0000000000<br>
"DISPLAY=:0.0 echo $(date +%Y-%m-%d_%H-%M-%S) >
/home/root/Scripts/call.txt"=org.freesmartphone.GSM.Call;org.freesmartphone.ogsmd;/org/freesmartphone/GSM/Device;CallStatus;arg[1]=incoming</i><br><br>--> pbm here : I do not know how to put the phone number in my "echo" command.<br>
<br>* Change profile from "default" to "silent" when the phone is for example face down on a table<br>--> anyway to do this with dbus ?<br><br>Well, I think this capacity of dbus is a huge space to conquer (for me). We are only limited by our imagination :D Openmoko is great !<br>
Anyway, thanks in advance<br><br>Kimaidou<br><br>(1) <a href="http://wiki.openmoko.org/wiki/Siglaunchd" target="_blank">http://wiki.openmoko.org/wiki/Siglaunchd</a><br><br>(2) Here is my /home/root/.siglaunchd.conf (Caution, I am running SHR, last testing )<br>
<br><i>#AUX moyen --> dialer<br>"DISPLAY=:0.0 /usr/bin/openmoko-dialer"=org.freesmartphone.Device.Input;org.freesmartphone.oeventsd;/org/freesmartphone/Device/Input;Event;arg[0]=AUX,arg[1]=released,arg[2]>0, arg[2]<2<br>
<br>#AUX long --> terminal<br>"DISPLAY=:0.0 /usr/bin/vala-terminal"=org.freesmartphone.Device.Input;org.freesmartphone.oeventsd;/org/freesmartphone/Device/Input;Event;arg[0]=AUX,arg[1]=released,arg[2]>1<br>
<br>#POWER moyen --> shortom<br>"DISPLAY=:0.0 PYTHONPATH=/usr/lib/python2.5/site-packages/shortom shortom-bin"=org.freesmartphone.Device.Input;org.freesmartphone.oeventsd;/org/freesmartphone/Device/Input;Event;arg[0]=POWER, arg[1]=released, arg[2]>0, arg[2]<2<br>
<br>#POWER long --> shr-settings<br>"DISPLAY=:0.0 /usr/bin/shr-settings"=org.freesmartphone.Device.Input;org.freesmartphone.oeventsd;/org/freesmartphone/Device/Input;Event;arg[0]=POWER, arg[1]=released, arg[2]>1</i><br>
<br><br>
</div><br>
</div></div></blockquote></div><br>