[maemo-developers] [maemo-developers] osso_initialize()
From: Vladislav Grinchenko vladislav.grinchenko at comtechmobile.comDate: Fri Feb 3 10:45:30 EET 2006
- Previous message: [maemo-developers] osso_initialize()
- Next message: [maemo-developers] osso_initialize()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Fri, 2006-02-03 at 09:23 +0200, Kalle Vahlman wrote: > On 2/2/06, Tomi Ollila <tomi.ollila at guru.guru-group.fi> wrote: > > I quess I wont try with osso_initialize() for a while but state that > > on a web page and just fix that fork() thing to proper one... > > (removing X-Osso-service might work too, but this fork() trick gives > > me tolerably working solution for sure) > > > > ... after there is authorative, solid and robust information of how these > > D-BUS and osso_initialize() (and so on) things are to be used I'll > > reconsider, just now it just takes too much time to be wasted. > > Rather than hacking around, why not just drop the session management, > RPC and other integration offered by libosso (unless you really need > them of course)? Because the resources are so tight - if your progi gets in the endless spin loop chewing up on CPU and battery life, dbus will kill it. Same goes for the near-end of battery life - listening for dbus messages of that sort will give you a chance to shutdown safely. > I have this in the .desktop, and no .service at all: > > [Desktop Entry] > Encoding=UTF-8 > Version=1.0 > Name=Widget Browser > Comment=Browse Gtk+ and Hildon widgets > Exec=/usr/bin/widgetbrowser > Icon=widgetbrowser > Terminal=false > Type=Application > Categories=System; > X-HildonDesk-ShowInToolbar=true > X-Osso-Service= > X-Osso-Type=application/x-executable > > and don't even link to the libosso library. > > -- > Kalle Vahlman, zuh at iki.fi > Powered by http://movial.fi > Interesting stuff at http://syslog.movial.fi > _______________________________________________ > maemo-developers mailing list > maemo-developers at maemo.org > https://maemo.org/mailman/listinfo/maemo-developers
- Previous message: [maemo-developers] osso_initialize()
- Next message: [maemo-developers] osso_initialize()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]