[maemo-developers] dbus and startup script
From: Tony Maro tonymaro at gmail.comDate: Tue Aug 14 06:54:44 EEST 2007
- Previous message: dbus and startup script
- Next message: turn screen off, from code (dbus/osso/etc)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I've got all of that in place as well. It didn't start doing this until I wedged the shell script in front of the startup of the Python. I took out the shell script, replaced it with the main python script, and at the top of the main python script I placed: import sys sys.path.append('/usr/lib/thummim/') That way it could find it's include files stored in the other directory. Everything works fine again, including the dbus integration and taskbar icon. On 8/13/07, Kemal Hadimli <disqkk at gmail.com> wrote: > > Hey, glad somebody is peeking on our code :) That's the Best way to learn! What I want to do is learn how to do kinetic scrolling without needing full screen mode. Not a priority, but that's something I hope to learn from your app soon. Neat stuff. The loading indicator should go away when you create the HildonProgram > and HildonWindow (see /usr/lib/kagu/kagu-scanner.py) but if it's not > working, check the dbus service file as missing it could be (I'm not > sure, don't really remember) also relevant. > > > On 8/13/07, Tony Maro <tonymaro at gmail.com> wrote: > > I just took a hint from the Kagu project and moved all my Python scripts > > into /usr/lib/thummim > > > > I made a shell script to launch the main Python script. > > > > Now, when launching, the "Thummim Reader - Loading" box takes forever to > go > > away. Everything else works fine. > > > > Have I taken the wrong approach? It's not killing the application like > it > > was before I added osso.Context handling, but obviously it's not > processing > > the "hey I'm here and working" message quite like I would expect. > > > > My shell script looks like this: > > > > #!/bin/sh > > cd /usr/lib/thummim > > python ./Thummim > > > > > > The Thummim python script sets the osso.Context when it starts. > > > -- > Kemal > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20070813/d29cd900/attachment.htm
- Previous message: dbus and startup script
- Next message: turn screen off, from code (dbus/osso/etc)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]