Re: little today app for shr
Pietro m0nt0 Montorfano wrote: Hi, bored loosing some calls and always need to periodically check pyphenlog i wrote a really simple apps that warn me if one or more call are lost. Few days ago after that Pietro posted this app I hacked around its code adding two main functionalities I needed: 1) Vibrating/Sound [following the preferences] notifications every X seconds (120 by default) if the phone is waked-up [1] 2) Vibrating/Sound [following the preferences] notifications every X minutes (15 by default) if the phone is sleeping [2]. While the first one is quite easy to add (It only needed an ecore timer) the second one uses a workaround and ATD to work. I've explained a little how it works in my commit at [2], but basically it adds a new rtc-timer every 15 seconds and if the phone has been resumed by ATD and if there's a notification to perform, then it plays a vibration/sound and suspends again. I've waited some days to post this on the list, because I wanted to test it better, however I figure that the only way to fix the known issues of the (2) feature (again, see [2]) is to patch the kernel to save in a sysfile the latest resume time. I've made this only as a proof-of-concept since I wanted this to be implemented in the FSO correctly; I figure that this is the only way to perform such notifications when the phone is suspended. Any feedback? Please post :P PS: To get the latest version of the script, look here [3]. [1] http://dev.3v1n0.net/gitweb/?p=shr-notifier.git;a=commit;h=42cd96 [2] http://dev.3v1n0.net/gitweb/?p=shr-notifier.git;a=commit;h=76ef4c695 [3] http://dev.3v1n0.net/gitweb/?p=shr-notifier.git;a=blob;f=notifier;hb=HEAD -- Treviño's World - Life and Linux http://www.3v1n0.net/ ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: little today app for shr
The Digital Pioneer wrote: Yeah, I was afraid that would be the case. No matter, when I reject a call, it's easy enough to close the missed call message. If you ever find a way to do it, though, perhaps a config option is in order. Maybe it's worth asking FSO for a different event? -- View this message in context: http://n2.nabble.com/little-today-app-for-shr-tp2757153p2787120.html Sent from the Openmoko Community mailing list archive at Nabble.com. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: little today app for shr
monto wrote: Maybe it's worth asking FSO for a different event? well, a new version is out but now it's also included in shr feeds, it fixes the dirty bad startup script. It should be a good idea that the phone-gui will emit a dbus signal that show the rejected call, but actually i don't know. How did you solve the dirty startup script? -- View this message in context: http://n2.nabble.com/little-today-app-for-shr-tp2757153p2787557.html Sent from the Openmoko Community mailing list archive at Nabble.com. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: little today app for shr
Il giorno lun, 04/05/2009 alle 05.57 -0700, KaZeR ha scritto: The Digital Pioneer wrote: Yeah, I was afraid that would be the case. No matter, when I reject a call, it's easy enough to close the missed call message. If you ever find a way to do it, though, perhaps a config option is in order. Maybe it's worth asking FSO for a different event? well, a new version is out but now it's also included in shr feeds, it fixes the dirty bad startup script. It should be a good idea that the phone-gui will emit a dbus signal that show the rejected call, but actually i don't know. Bye Pietro ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: little today app for shr
Il giorno lun, 04/05/2009 alle 07.36 -0700, KaZeR ha scritto: monto wrote: Maybe it's worth asking FSO for a different event? well, a new version is out but now it's also included in shr feeds, it fixes the dirty bad startup script. It should be a good idea that the phone-gui will emit a dbus signal that show the rejected call, but actually i don't know. How did you solve the dirty startup script? made a script in /etc/X11Xsession.d/ , this should solve the X initialization and modified the script itself to continue to try to connect to dbus sleeping 5 seconds every retry. Bye! Pietro ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: little today app for shr
On Sat, May 2, 2009 at 1:04 AM, Pietro m0nt0 Montorfano mont...@gmail.com wrote: Hi, bored loosing some calls and always need to periodically check pyphenlog i wrote a really simple apps that warn me if one or more call are lost. Here is the link to opkg, any suggestion is welcome. http://www.opkg.org/package_213.html Clicking on 1 missed call it opens pyhoneloh and clicking on 1 unread message it opens opemoko-messages3, editing the script is simple so you can modify that apps. The app is insvisible, just sit there and wait for missed calls or incoming messages. The way it's autostarted is tricky, sleep 180 and then run it, just to be shure that illume and frameworkd are running. Bye! Pietro Another compliment, this really comes in handy! I do get the following warning (I started it using the init script from an ssh session after installing): r...@om-gta02 ~ $ /usr/lib/python2.6/site-packages/dbus/connection.py:242: DeprecationWarning: object.__init__() takes no parameters super(Connection, self).__init__(*args, **kwargs) r...@om-gta02 ~ $ Let's go on Kind regards Bram ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: little today app for shr
Thanks Pietro, great work! Keep it up. 2009/5/2 Pietro m0nt0 Montorfano mont...@gmail.com Hi, bored loosing some calls and always need to periodically check pyphenlog i wrote a really simple apps that warn me if one or more call are lost. Here is the link to opkg, any suggestion is welcome. http://www.opkg.org/package_213.html Clicking on 1 missed call it opens pyhoneloh and clicking on 1 unread message it opens opemoko-messages3, editing the script is simple so you can modify that apps. The app is insvisible, just sit there and wait for missed calls or incoming messages. The way it's autostarted is tricky, sleep 180 and then run it, just to be shure that illume and frameworkd are running. Bye! Pietro ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: little today app for shr
Il giorno ven, 01/05/2009 alle 23.39 -0500, The Digital Pioneer ha scritto: Quick bug report: if I hit the release button while the phone is ringing, so as to reject the call without answering it, then notifier still pops up saying I missed one. That's not technically true. :) ops, will correct it. There is someone who know how to automaically start it after X and frameworkd? actually there is a simple and dirty sleep 180 in the init script... Thanks for the bug report. Pietro ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: little today app for shr
I would think that is normal, my phone before I went to the freerunner did that. It considered any call that I didn't answer a missed call. On May 2, 2009, at 12:39 AM, The Digital Pioneer wrote: Quick bug report: if I hit the release button while the phone is ringing, so as to reject the call without answering it, then notifier still pops up saying I missed one. That's not technically true. :) ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: little today app for shr
Il giorno sab, 02/05/2009 alle 09.33 -0400, Adam Jimerson ha scritto: I would think that is normal, my phone before I went to the freerunner did that. It considered any call that I didn't answer a missed call. Well it's quite different, but i can't do nothing about this because looking at dbus events they are equal for both missed and rejected calls, so i can't understand if a call is lost or rejected. Bye Pietro ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: little today app for shr
Yeah, I was afraid that would be the case. No matter, when I reject a call, it's easy enough to close the missed call message. If you ever find a way to do it, though, perhaps a config option is in order. ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: little today app for shr
Oh, hallelujah, I've been needing one of these forever! Hahah Thanks! ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community
Re: little today app for shr
Quick bug report: if I hit the release button while the phone is ringing, so as to reject the call without answering it, then notifier still pops up saying I missed one. That's not technically true. :) ___ Openmoko community mailing list community@lists.openmoko.org http://lists.openmoko.org/mailman/listinfo/community