<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="generator" content="Osso Notes">
<title></title></head>
<body>
<p>Nah, single instance works without x-osso-service as well. I don't know whether that line has any sensible purpose, actually - dbus activation will be done with separate dbus service file anyway.
<br><font color="#999999">--</font>
<br><font color="#999999">Sent from my Nokia N900</font>
<br>
<br>----- Original message -----
<br>>
<br>> I thought the DBus initialization was used to allow only one intsnace of
<br>> your program to be run, which is good on a handheld device ...
<br>>
<br>> I think you should let the user decide if he wants to put a shortcut on
<br>> his desktop or not ?
<br>>
<br>> Fred
<br>>
<br>> Le 10/08/2010 17:29, Naresh Mehta a écrit :
<br>> > Hi All,
<br>> >
<br>> > > <<a href="mailto:fred@lefevere-laoide.net">fred@lefevere-laoide.net</a>>  wrote:
<br>> > >
<br>> > > > You simply have to create a .desktop file associated with your
<br>> > > > program (don't forget to initialize dbus session with osso_init)
<br>> > > osso_initialize is not needed if you don't specify X-Osso-Service in
<br>> > > the .desktop file.
<br>> > >
<br>> > > Here's a .desktop file that works properly:
<br>> > >
<br>> > > [ville~/qtdone]|4>  cat qtdone.desktop
<br>> > > [Desktop Entry]
<br>> > > Encoding=UTF-8
<br>> > > Version=1.0
<br>> > > Type=Application
<br>> > > Name=qtdone
<br>> > > Exec=/usr/bin/qtdone
<br>> > > Icon=qtdone
<br>> > > StartupWMClass=qtdone
<br>> > > X-Window-Icon=qtdone
<br>> > > X-HildonDesk-ShowInToolbar=true
<br>> > > X-Osso-Type=application/x-executable
<br>> > > Terminal=false
<br>> > >
<br>> > I have a similar desktop file in my application and it shows up in the
<br>> > menu. But I can't place a shortcut/link on the active screen. I would
<br>> > like to do it during installation. Also my icon does not show up
<br>> > properly. The code is available on <a href="http://confmgr.garage.maemo.org/">http://confmgr.garage.maemo.org/</a>.
<br>> > Would be great if someone can point me in the right direction.
<br>> >
<br>> > > --
<br>> > > Ville M. Vainio @@ Forum Nokia
<br>> > > _______________________________________________
<br>> > > maemo-developers mailing list
<br>> > > <a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a>
<br>> > > <a href="https://lists.maemo.org/mailman/listinfo/maemo-developers">https://lists.maemo.org/mailman/listinfo/maemo-developers</a>
<br>> > >
<br>> >
<br>> >
<br>>
<br><br></p>
</body>
</html>