[maemo-developers] Application not appearing in task manager
From: Neal H. Walfield neal at walfield.orgDate: Thu Mar 1 15:33:03 EET 2007
- Previous message: Maemo as an OS????
- Next message: Question about WLAN API
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
GPE Starling does not show up in the task manager. It starts fine but I cannot figure out why it doesn't appear in the task bar. The code (and package) is here: http://linuxtogo.org/~neal/maemo/ . (The dependencies can be found at http://downloads.kernelconcepts.de/maemo2/ .) Any insights would be appreciated. Here is the output of dbus-monitor when starting Starling from the application menu: signal sender=org.freedesktop.DBus -> dest=(null destination) interface=org.freedesktop.DBus; member=NameOwnerChanged string ":1.62" string "" string ":1.62" method call sender=:1.62 -> dest=org.freedesktop.DBus interface=org.freedesktop.DBus; member=Hello signal sender=org.freedesktop.DBus -> dest=(null destination) interface=org.freedesktop.DBus; member=NameOwnerChanged string "com.nokia.starling" string "" string ":1.62" method call sender=:1.62 -> dest=org.freedesktop.DBus interface=org.freedesktop.DBus; member=RequestName string "com.nokia.starling" uint32 1 It looks okay but I'm not a d-bus expert. The perhaps relevant start up code: #define APPLICATION_DBUS_SERVICE "starling" ... #ifdef IS_HILDON osso_context_t *osso_context; /* Initialize maemo application */ osso_context = osso_initialize(APPLICATION_DBUS_SERVICE, "1.0", TRUE, NULL); /* Check that initialization was ok */ if (osso_context == NULL) { g_critical ("Failed to initialize OSSO context!"); return OSSO_ERROR; } #endif ... char *iconname = DATADIR "/pixmaps/bass.png"; GdkPixbuf *icon = gdk_pixbuf_new_from_file (iconname, &err); if (err) { fprintf (stderr, "Loading %s: %s\n", iconname, err->message); g_error_free (err); } else gtk_window_set_default_icon (icon); /usr/share/applications/hildon/starling.desktop: [Desktop Entry] Encoding=UTF-8 Version=1.0 Type=Application Name=Audio player Comment=Starling Exec=/usr/bin/starling Terminal=false Icon=bass X-HildonDesk-ShowInToolbar=true X-Osso-Type=application/x-executable X-Osso-Service=starling StartupWMClass=starling /usr/share/dbus-1/services/com.nokia.starling.service: [D-BUS Service] Name=com.nokia.starling Exec=/usr/bin/starling
- Previous message: Maemo as an OS????
- Next message: Question about WLAN API
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]