[maemo-developers] Problem running installed app (using icon)

From: Daniil Ivanov daniil.ivanov at gmail.com
Date: Thu May 13 22:50:59 EEST 2010
Hi b0unc3!

On Thu, May 13, 2010 at 4:41 PM, b0unc3 <b0unc3 at email.it> wrote:
>
>
> On Thu, May 13, 2010 at 2:17 PM, saurabh aggarwal
> <aggarwal.saurabh at gmail.com> wrote:
>>
>> Ok, here's the Noob question -
>> 1) Do all apps need a .service file
>
> Yes, if you want your app to appear in the task navigator menu.

No, not true! Only if you offer DBus methods. This not connected to
navigator menu,
whatever it is.

>>
>> 2) What is the need when my application doesn't listen to any dbus event?
>
> DBus and osso context are not related.

No, not true! They are. Osso initializes dbus as well.

>
>>
>> BTW, my app is a QT application.
>
> You can browse the source of some other qt apps to see how to get this done.
>
>>
>> -Saurabh
>>
>> On Thu, May 13, 2010 at 5:22 PM, b0unc3 <b0unc3 at email.it> wrote:
>>>
>>>
>>> On Thu, May 13, 2010 at 1:31 PM, saurabh aggarwal
>>> <aggarwal.saurabh at gmail.com> wrote:
>>>>
>>>> Here it is -
>>>>
>>>> [Desktop Entry]
>>>> Encoding=UTF-8
>>>> Version=0.1
>>>> Type=Application
>>>> Name=myapp
>>>> Exec=/usr/bin/myapp
>>>> Icon=myapp
>>>> X-Maemo-Category=Main
>>>> X-Window-Icon=myapp
>>>> X-Window-Icon-Dimmed=myapp
>>>
>>> I bet you need a valid osso context reference in your app. And also a
>>> good .service file (post it here if you have still problems)
>>> Follow this guide :
>>> http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Application_Development/Writing_a_new_maemo_application
>>>>
>>>>
>>>> On Thu, May 13, 2010 at 4:56 PM, Faheem Pervez <trippin1 at gmail.com>
>>>> wrote:
>>>>>
>>>>> Start by posting the desktop file.
>>>>>
>>>>> On Thu, May 13, 2010 at 12:23 PM, saurabh aggarwal
>>>>> <aggarwal.saurabh at gmail.com> wrote:
>>>>> > Any ideas on how to debug.
>>>>> >
>>>>>
>>>>> Best Regards,
>>>>> Faheem
>>>>>
>>>>> > Regards,
>>>>> > -Saurabh
>>>>> >
>>>>> > _______________________________________________
>>>>> > maemo-developers mailing list
>>>>> > maemo-developers at maemo.org
>>>>> > https://lists.maemo.org/mailman/listinfo/maemo-developers
>>>>> >
>>>>> >
>>>>
>>>>
>>>> _______________________________________________
>>>> maemo-developers mailing list
>>>> maemo-developers at maemo.org
>>>> https://lists.maemo.org/mailman/listinfo/maemo-developers
>>>>
>>>
>>
>
>
> _______________________________________________
> maemo-developers mailing list
> maemo-developers at maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
>

If you have service file then you need to set application name on dbus
interface or it will be killed after start
of application in 2 seconds. Also you need X-Osso-Service line in
desktop file. However, this is not your case.

Thanks, Daniil.
More information about the maemo-developers mailing list