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

From: Ville M. Vainio vivainio at gmail.com
Date: Tue Aug 10 16:30:13 EEST 2010
On Tue, Aug 10, 2010 at 4:02 PM, Fred Lefévère-Laoide
<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


-- 
Ville M. Vainio @@ Forum Nokia
More information about the maemo-developers mailing list