Re: [maemo-developers] application won't start from task navigator

2006-01-18 Thread Vladislav Grinchenko
On Wed, 2006-01-18 at 13:08 +0200, Kimmo Hämäläinen wrote:
> On Wed, 2006-01-18 at 07:48, ext Vladislav Grinchenko wrote:
> > Hi,
> > 
> > 
> > I can start an application on 770 from xterm just fine - I see 
> > connection coming in with dbus-monitor.
> > 
> > But when I try to start the same application from the task
> > navigator menu, it is not even executed. 

[...deleted...]

> > 
> > The .desktop file:
> > 
> > [Desktop Entry]
> > Encoding=UTF-8
> > Version=0.1
> > Type=Application
> > Name=Granule
> > Exec=/var/lib/install/usr/bin/granule
> > Icon=granule
> > X-Window-Icon=granule
> > X-Window-Icon-Dimmed=granule
> > X-Osso-Service=granule
> > X-Osso-Type=application/x-executable
> > X-HildonDesk-ShowInToolbar=true
> > 
> > 
> > 
> > The .services file:
> > 
> > [D-BUS Service]
> > Name=com.nokia.granule
> > Exec=/var/lib/install/usr/bin/granule
> > 
> 
> Do you call osso_initialize() with "granule" as the application name?
> 

yes,
osso_context_t* osso_context; 
osso_context = osso_initialize (PACKAGE, VERSION, TRUE, NULL );
if (osso_context == NULL) {
std::cerr << "Failed to initalize osso context!\n";
exit (1);
}

And I verified that PACKAGE is set to "granule", and VERSION to "1.2.1".

But, what annoys me is that the executable is never called! 




> BR; Kimmo
> 
> > 
> > thanks,
> > -- Vlad
> > _
> > Vladislav Grinchenko   http://home.comcast.net/~3rdshift/
> >  e-mail: [EMAIL PROTECTED]
> >
> >   Focus on quality, and productivity will follow.
> > _
> > 
> > ___
> > maemo-developers mailing list
> > maemo-developers@maemo.org
> > https://maemo.org/mailman/listinfo/maemo-developers
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] application won't start from task navigator

2006-01-18 Thread Kimmo Hämäläinen
On Wed, 2006-01-18 at 07:48, ext Vladislav Grinchenko wrote:
> Hi,
> 
> 
> I can start an application on 770 from xterm just fine - I see 
> connection coming in with dbus-monitor.
> 
> But when I try to start the same application from the task
> navigator menu, it is not even executed. 
> 
> Can someone tell me which process on in the maemo desktop 
> actually calls exec()? 

dbus-daemon

> 
> If it is dbus-daemon-1, is there any way to 
> start it in verbose mode of some sort to trace what's going on?
> I tried $ DBUS_VERBOSE=1 dbus-daemon-1 --session to no avail.

You would first have to edit debian/rules (put replace
--disable-verbose-mode with --enable-verbose-mode) and recompile.

> 
> There are two dub-daemon-1 running, session and system. I'd like to
> trace them both.

Recompile & edit /etc/init.d/dbus and
/etc/osso-af-init/dbus-sessionbus.sh to have the DBUS_VERBOSE (I'm not
sure if DBUS_DEBUG_OUTPUT is also needed...).

> 
> The .desktop file:
> 
> [Desktop Entry]
> Encoding=UTF-8
> Version=0.1
> Type=Application
> Name=Granule
> Exec=/var/lib/install/usr/bin/granule
> Icon=granule
> X-Window-Icon=granule
> X-Window-Icon-Dimmed=granule
> X-Osso-Service=granule
> X-Osso-Type=application/x-executable
> X-HildonDesk-ShowInToolbar=true
> 
> 
> 
> The .services file:
> 
> [D-BUS Service]
> Name=com.nokia.granule
> Exec=/var/lib/install/usr/bin/granule
> 

Do you call osso_initialize() with "granule" as the application name?

BR; Kimmo

> 
> thanks,
> -- Vlad
> _
> Vladislav Grinchenko   http://home.comcast.net/~3rdshift/
>  e-mail: [EMAIL PROTECTED]
>
>   Focus on quality, and productivity will follow.
> _
> 
> ___
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://maemo.org/mailman/listinfo/maemo-developers
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] application won't start from task navigator

2006-01-17 Thread Vladislav Grinchenko
Hi,


I can start an application on 770 from xterm just fine - I see 
connection coming in with dbus-monitor.

But when I try to start the same application from the task
navigator menu, it is not even executed. 

Can someone tell me which process on in the maemo desktop 
actually calls exec()? 

If it is dbus-daemon-1, is there any way to 
start it in verbose mode of some sort to trace what's going on?
I tried $ DBUS_VERBOSE=1 dbus-daemon-1 --session to no avail.

There are two dub-daemon-1 running, session and system. I'd like to
trace them both.

The .desktop file:

[Desktop Entry]
Encoding=UTF-8
Version=0.1
Type=Application
Name=Granule
Exec=/var/lib/install/usr/bin/granule
Icon=granule
X-Window-Icon=granule
X-Window-Icon-Dimmed=granule
X-Osso-Service=granule
X-Osso-Type=application/x-executable
X-HildonDesk-ShowInToolbar=true



The .services file:

[D-BUS Service]
Name=com.nokia.granule
Exec=/var/lib/install/usr/bin/granule


thanks,
-- Vlad
_
Vladislav Grinchenko   http://home.comcast.net/~3rdshift/
 e-mail: [EMAIL PROTECTED]
   
  Focus on quality, and productivity will follow.
_

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers