Answer the question
In order to leave comments, you need to log in
DBus.Notifications. How to close or display several notifiers at the same time?
I show notifiers, but they line up and until the previous one closes, the next one is not shown
#!/usr/bin/env python
import dbus
from dbus.mainloop.glib import DBusGMainLoop
DBusGMainLoop(set_as_default=True)
bus = dbus.SessionBus()
notify = dbus.Interface((bus.get_object('org.freedesktop.Notifications', '/org/freedesktop/Notifications')), 'org.freedesktop.Notifications')
....
n = notify.Notify('Notify', 1, 'notification-message-im', nickname, message, [], [], -1)
notify.CloseNotification(n)
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question