Hi all,<br><br>I want to show a simple notification when sugar starts up.<br><br>I have a python script like this:<br><br><pre>import dbus<br>BUS_NAME = 'org.freedesktop.Notifications'<br>OBJ_PATH = '/org/freedesktop/Notifications'<br>
IFACE_NAME = 'org.freedesktop.Notifications'<br>bus = dbus.SessionBus()<br>notify_obj = bus.get_object(BUS_NAME,OBJ_PATH)<br>notifications = dbus.Interface(notify_obj,IFACE_NAME)<br>notifications.Notify("HelloWorld",0,'',"Summary","Body",[],{},-1)<br>
<br><font style="font-family: georgia,serif;" size="2">The</font><font style="font-family: georgia,serif;" size="2"> script works fine, but I couldn't run it at sugar start up. I tried to call the script in .xsession and sugar-session but didn't work.<br>
<br>Any idea?<br></font></pre><br>Thanks,<br>Esteban.<br> <br clear="all"> <div> </div><font face="'times new roman', serif"></font>