systemctl-user restart lipstick.service
su -l nemo -c "command"
| The Following User Says Thank You to Schturman For This Useful Post: | ||
| The Following 2 Users Say Thank You to Schturman For This Useful Post: | ||
#!/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"
| The Following User Says Thank You to Schturman For This Useful Post: | ||
Don't know why, more detailed explanation here: http://talk.maemo.org/showthread.php?t=93023