import gtk.gdk
import pynotify
n = pynotify.Notification('This is my title', 'This is my description')
n.set_hint('x', gtk.gdk.screen_width() / 2.0)
n.set_hint('y', gtk.gdk.screen_height() / 2.0)
n.show()
How to center a GNOME pop-up notification?