[maemo-developers] [maemo-developers] osso_initialize()
From: Tomi Ollila tomi.ollila at guru.guru-group.fiDate: Thu Feb 2 00:19:07 EET 2006
- Previous message: [maemo-developers] osso_initialize()
- Next message: [maemo-developers] osso_initialize()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Tomas Frydrych <tf at o-hand.com> writes: > The osso debus service name handling is badly designed and cannot handle > properly quialified names; to get your app working: > > * The full name of your service has to be com.nokia.revsh > > * the desktop file *must not* contain fully qualified name: > X-Osso-Serivce=revsh > > * the service file *must* contain fully qualified name > Name=com.nokia.revsh > > * you *must* pass the short name to osso_initialize: > osso_initialize("revsh" ...) > > It is silly and ignores the dbus spec on naming, but basically, whatever > you pass into osso_initialize() will always end up prefixed with > 'com.nokia.'. Thanks. I checked osso_xterm files and it has the things setup just like the above... ... as my prog still gets killed... should I also give 3rd arg to osso_initialize() as true instead of false. I'll check tomorrow (then launching from xterm will give errors/warnings on terminal; is there any way to check whether osso_initialize() should be caller od not?). BTW, If I did not mention already; after changing either X-Osso-Service or Name I had to reboot until the system launched the newly-installed version :O (a few days ago I lost almost 2 hours to wonder where the problem was -- tried almost all imaginable things except reboot then) > > Tomas > Tomi
- Previous message: [maemo-developers] osso_initialize()
- Next message: [maemo-developers] osso_initialize()
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]