#!/usr/bin/python import dbus bus = dbus.SessionBus() object = bus.get_object('org.freedesktop.Notifications','/org/freedesktop/Notifications') interface = dbus.Interface(object,'org.freedesktop.Notifications') #print(interface.GetCapabilities()) interface.Notify("app_name", 0, "icon-m-notifications", "Dalvik is STOPPED !", "Dalvik stopper", dbus.Array(["default", ""]), dbus.Dictionary({"x-nemo-preview-body": "Dalvik stopper", "x-nemo-preview-summary": "Dalvik is STOPPED !"}, signature='sv'), 0)
su -l nemo -c "python /path/notifer.py"