Hi Marco,<br><br>Thanks for the inputs. We researched about DBUS and X11 Primary Selection and Clipboard services.<br><br>From what we have figured:<br><ol><li>Select the text for speech synthesis within any activity that is running inside the sugar environment.
<br></li><li>Trigger the play event in sugar which invokes a python script lets say speakit.py This script will pick the primary selection that has been made in any activity running inside the sugar environment.<br></li><li>
The script will finally run espeak by firing "espeak --stdout"<String>" | gst-launch fdsrc fd=0 ! wavparse ! alsasink</li></ol>Would you advise us to use the clipboard or the primary selection feature? We were thinking of using 
clipboardservice.py since it has already been written in sugar.<br><br>Has primary selection been implemented within sugar? <br><br><br><div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
I think it would be nice to provide a DBus interface to the service.<br>That way any activity could easily use it...</blockquote><div><br>So to summarize I suppose sugar will be using the dbus interface to pull the data from any activity and pipe it to espeak correct?
<br></div><br></div><br><br clear="all">thanks<br>-- <br>Hemant<br>