[maemo-developers] How to create an icon on desktop on N900 and link my binary to that

From: Fred Lefévère-Laoide fred at lefevere-laoide.net
Date: Tue Aug 10 18:35:34 EEST 2010
I thought the DBus initialization was used to allow only one intsnace of 
your program to be run, which is good on a handheld device ...

I think you should let the user decide if he wants to put a shortcut on 
his desktop or not ?

Fred

Le 10/08/2010 17:29, Naresh Mehta a écrit :
> Hi All,
>
>> <fred at lefevere-laoide.net>  wrote:
>>
>>> You simply have to create a .desktop file associated with your program
>>> (don't forget to initialize dbus session with osso_init)
>> osso_initialize is not needed if you don't specify X-Osso-Service in
>> the .desktop file.
>>
>> Here's a .desktop file that works properly:
>>
>> [ville~/qtdone]|4>  cat qtdone.desktop
>> [Desktop Entry]
>> Encoding=UTF-8
>> Version=1.0
>> Type=Application
>> Name=qtdone
>> Exec=/usr/bin/qtdone
>> Icon=qtdone
>> StartupWMClass=qtdone
>> X-Window-Icon=qtdone
>> X-HildonDesk-ShowInToolbar=true
>> X-Osso-Type=application/x-executable
>> Terminal=false
>>
> I have a similar desktop file in my application and it shows up in the
> menu. But I can't place a shortcut/link on the active screen. I would
> like to do it during installation. Also my icon does not show up
> properly. The code is available on http://confmgr.garage.maemo.org/.
> Would be great if someone can point me in the right direction.
>
>> --
>> Ville M. Vainio @@ Forum Nokia
>> _______________________________________________
>> maemo-developers mailing list
>> maemo-developers at maemo.org
>> https://lists.maemo.org/mailman/listinfo/maemo-developers
>>
>
>

More information about the maemo-developers mailing list