I can confirm Eero statement: in grsync I use it.opbyte.grsync both for X-Osso-Service and for osso_initialize() and it works.<br><br>Luca Donaggio<br><br><br><br><div class="gmail_quote">On Wed, May 28, 2008 at 1:34 PM, Eero Tamminen &lt;<a href="mailto:eero.tamminen@nokia.com">eero.tamminen@nokia.com</a>&gt; wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<div><div></div><div class="Wj3C7c"><br>
ext Axel Sommerfeldt wrote:<br>
&gt; In the Maemo 4.0 Tutorial, section &quot;Integrating Applications to maemo<br>
&gt; Framework&quot;, there is an example desktop file with the line:<br>
&gt;<br>
&gt; X-Osso-Service=org.maemo.example_libosso<br>
&gt;<br>
&gt; But when I take a look at the examples provided by Nokia, only the<br>
&gt; application name is stated here, for example:<br>
&gt;<br>
&gt; X-Osso-Service=maemopad<br>
&gt;<br>
&gt; But which one is correct, the &quot;long&quot; term (found in the Tutorial) or the<br>
&gt; &quot;short&quot; term (found in the maemopad example)?<br>
&gt;<br>
&gt; Which confuses me even more is a statement found in the documentation of<br>
&gt; osso_initialize(): [1]<br>
&gt;<br>
&gt; &quot;Note that the D-BUS service name will be &#39;com.nokia.application&#39;, where<br>
&gt; &#39;application&#39; is the value you gave as the parameter.&quot;<br>
&gt;<br>
&gt; So a DBUS service name have to be &quot;com.nokia.&lt;your-application-name-here&gt;&quot;?<br>
&gt;<br>
&gt; Furthermore one can found there:<br>
&gt;<br>
&gt; &quot;Note also that this argument must be identical to the X-Osso-Service<br>
&gt; value in the desktop file, or the D-BUS daemon will kill your application.&quot;<br>
&gt;<br>
&gt; Mixing all of this together, I come to the conclusion that the &quot;short&quot;<br>
&gt; X-Osso-Service line is correct (because the argument of<br>
&gt; osso_initialize() must be identical to this value) and using a DBUS<br>
&gt; service name like &quot;org.maemo.example_libosso&quot; is wrong, because it must<br>
&gt; be &quot;com.nokia.example_libosso&quot; instead. Is this correct?<br>
&gt;<br>
&gt; At least the Tutorial is inconsistent to the example and to the<br>
&gt; documentation of osso_initialize(). But what information is correct and<br>
&gt; what is wrong?<br>
&gt;<br>
&gt; [1] <a href="http://maemo.org/api_refs/4.0/libosso/index.html" target="_blank">http://maemo.org/api_refs/4.0/libosso/index.html</a><br>
<br>
</div></div>Please file a bug against documentation to <a href="http://bugs.maemo.org" target="_blank">bugs.maemo.org</a><br>
with the above details.<br>
<br>
AFAIK com.nokia. is automatically prepended to service names<br>
that contain only one path element (no dots). &nbsp;I think it<br>
would be better to use a long name as &quot;com.nokia.&quot; is not<br>
appropriate service prefix for 3rd party software.<br>
<font color="#888888"><br>
<br>
 &nbsp; &nbsp; &nbsp; &nbsp;- Eero<br>
</font><div><div></div><div class="Wj3C7c">_______________________________________________<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" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
</div></div></blockquote></div><br>