Ah, perfect! I had looked through the Kagu code but completely missed that tidbit...<br><br>Thanks.<br><br><div><span class="gmail_quote">On 8/23/07, <b class="gmail_sendername">Kemal Hadimli</b> <<a href="mailto:disqkk@gmail.com">
disqkk@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">You could try using the code from Kagu. ScreenMonitor class from
<br>maemo.py: <a href="https://www.guardiani.us/projects/kagu/browser/trunk/src/kagu/maemo.py">https://www.guardiani.us/projects/kagu/browser/trunk/src/kagu/maemo.py</a><br><br>Hope this helps.<br><br>On 8/23/07, Tony Maro <
<a href="mailto:tonymaro@gmail.com">tonymaro@gmail.com</a>> wrote:<br>> I've been trying for hours to get a callback set so I know when the screen<br>> turns off.<br>><br>> I've even tried running the sample code found at:
<br>> <a href="http://pymaemo.garage.maemo.org/documentation/python_osso_examples/index.html">http://pymaemo.garage.maemo.org/documentation/python_osso_examples/index.html</a><br>><br>> Nothing I do makes the callback happen. Does anyone have any better
<br>> documentation of how to do this?<br><br>--<br>Kemal<br></blockquote></div><br>