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

From: Naresh Mehta nareshtechs at gmail.com
Date: Tue Aug 10 18:29:34 EEST 2010
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
>



-- 

BR; Naresh

visit me at:
http://www.naresh.se/
More information about the maemo-developers mailing list