[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: dbus problem: "notifications-notify :on-action" stops working
From: |
Peter Münster |
Subject: |
Re: dbus problem: "notifications-notify :on-action" stops working |
Date: |
Mon, 27 Feb 2012 12:00:48 +0100 |
User-agent: |
Gnus/5.130004 (Ma Gnus v0.4) Emacs/24.0.93 (gnu/linux) |
On Mon, Feb 27 2012, Michael Albinus wrote:
> Which Emacs version are you using?
GNU Emacs 24.0.93.1 (x86_64-suse-linux-gnu, GTK+ Version 2.22.1) of 2012-02-24
> Setting `dbus-debug' to t is a starting point. If the resulting messages
> are confusing you, you might run instead "dbus-monitor --session" in a
> shell outside Emacs
Of course! I had forgotten dbus-debug...
Now I have 2 emacs sessions: one, where it's working as expected, and
another with the problem:
Here the output, where it's working:
--8<---------------cut here---------------start------------->8---
xd_retrieve_arg: u 2
xd_retrieve_arg: s key
xd_read_message_1: Event received: DBUS_MESSAGE_TYPE_SIGNAL 20 :1.278
/org/freedesktop/Notifications org.freedesktop.Notifications ActionInvoked (2
key)
xd_read_message_1: Event stored: (:session 4 20 :1.278
/org/freedesktop/Notifications org.freedesktop.Notifications ActionInvoked
notifications-on-action-signal 2 key)
xd_retrieve_arg: u 2 [2 times]
xd_read_message_1: Event received: DBUS_MESSAGE_TYPE_SIGNAL 21 :1.278
/org/freedesktop/Notifications org.freedesktop.Notifications NotificationClosed
(2 2)
xd_read_message_1: Event stored: (:session 4 21 :1.278
/org/freedesktop/Notifications org.freedesktop.Notifications NotificationClosed
notifications-on-closed-signal 2 2)
--8<---------------cut here---------------end--------------->8---
Here the output with the problem:
--8<---------------cut here---------------start------------->8---
xd_retrieve_arg: u 4
xd_retrieve_arg: s hour
xd_read_message_1: Event received: DBUS_MESSAGE_TYPE_SIGNAL 38 :1.278
/org/freedesktop/Notifications org.freedesktop.Notifications ActionInvoked (4
hour)
xd_retrieve_arg: u 4
xd_retrieve_arg: u 2
xd_read_message_1: Event received: DBUS_MESSAGE_TYPE_SIGNAL 39 :1.278
/org/freedesktop/Notifications org.freedesktop.Notifications NotificationClosed
(4 2)
--8<---------------cut here---------------end--------------->8---
When I call
--8<---------------cut here---------------start------------->8---
(dbus-register-signal
:session
notifications-service
notifications-path
notifications-interface
notifications-action-signal
'notifications-on-action-signal)
--8<---------------cut here---------------end--------------->8---
in the second emacs session, the problem disappears for a while and then
comes back after a few minutes.
--
Peter