I am using pynotify and this is the code I am trying to get to work:
#! /usr/bin/python
try:
import pynotify
if pynotify.init("Telebrama Alert"):
n = pynotify.Notification('Message','This is test message')
n.set_urgency(pynotify.URGENCY_CRITICAL)
n.show()
else:
print 'There was a problem in initializing the pynotify module'
except:
print "you don't seem to installed pynotify\n"
It is working fine on my computer. But I want to send some notification to another network. How can I make it work?