mstolar
16th August 2007, 02:08 PM
Hi All,
I've installed Fedora 7 on my laptop and have some troubles with notification-daemon:
it stops displaying notifications. :(
It works for some time after login, and than stops.
Command:
notify-send -u low "Testing" "Just testing notification-daemon"
does nothing and is not returning any error, dbus-monitor shows:
signal sender=org.freedesktop.DBus -> dest=(null destination) path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
string ":1.33"
string ""
string ":1.33"
method call sender=:1.33 -> dest=org.freedesktop.DBus path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
method call sender=:1.33 -> dest=org.freedesktop.DBus path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
string "type='signal',sender='org.freedesktop.DBus',path='/org/freedesktop/DBus',interface='org.freedesktop.DBus',member='Nam eOwnerChanged'"
method call sender=:1.33 -> dest=org.freedesktop.DBus path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
string "type='signal',sender='org.freedesktop.Notification s',path='/org/freedesktop/Notifications',interface='org.freedesktop.Notifica tions'"
method call sender=:1.33 -> dest=org.freedesktop.DBus path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
string "org.freedesktop.Notifications"
method call sender=:1.33 -> dest=org.freedesktop.Notifications path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify
string "notify-send"
uint32 0
string ""
string "Testing"
string "Just testing notification-daemon"
array [
]
array [
dict entry(
string "category"
variant string ""
)
dict entry(
string "urgency"
variant byte 0
)
]
int32 -1
method call sender=:1.33 -> dest=org.freedesktop.DBus path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
string "type='signal',sender='org.freedesktop.Notification s',path='/org/freedesktop/Notifications',interface='org.freedesktop.Notifica tions'"
signal sender=org.freedesktop.DBus -> dest=(null destination) path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
string ":1.33"
string ":1.33"
string ""
If I kill notification daemon, and send notification again dbus starts it, but still messages are not shown.
I can't find any error log (/var/log/messages and xsession-errors shows nothing),
I don't know how to debug this. :(
BTW: I am using Beryl, and I'm starting gnome session like this:
#!/bin/bash
beryl &
emerald &
beryl-manager --no-force-window-manager --no-force-decorator &
exec gnome-session --purge-delay=2000
but I don't thing this affects notification-daemon (purge-delay sets how long gnome-session should wait for programs to register, if I change it to default - 30000 - notification-daemon still stops working).
Thanks for ANY help ;)
Packages I use:
notification-daemon-0.3.7-2.fc7
notify-python-0.1.0-4.fc7
libnotify-0.4.4-2.fc7
dbus-glib-0.73-2.fc7
dbus-python-0.81.1-1.fc7
dbus-x11-1.0.2-6.fc7
dbus-devel-1.0.2-6.fc7
dbus-glib-devel-0.73-2.fc7
dbus-1.0.2-6.fc7
Cheers,
Mike
I've installed Fedora 7 on my laptop and have some troubles with notification-daemon:
it stops displaying notifications. :(
It works for some time after login, and than stops.
Command:
notify-send -u low "Testing" "Just testing notification-daemon"
does nothing and is not returning any error, dbus-monitor shows:
signal sender=org.freedesktop.DBus -> dest=(null destination) path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
string ":1.33"
string ""
string ":1.33"
method call sender=:1.33 -> dest=org.freedesktop.DBus path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=Hello
method call sender=:1.33 -> dest=org.freedesktop.DBus path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
string "type='signal',sender='org.freedesktop.DBus',path='/org/freedesktop/DBus',interface='org.freedesktop.DBus',member='Nam eOwnerChanged'"
method call sender=:1.33 -> dest=org.freedesktop.DBus path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=AddMatch
string "type='signal',sender='org.freedesktop.Notification s',path='/org/freedesktop/Notifications',interface='org.freedesktop.Notifica tions'"
method call sender=:1.33 -> dest=org.freedesktop.DBus path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=GetNameOwner
string "org.freedesktop.Notifications"
method call sender=:1.33 -> dest=org.freedesktop.Notifications path=/org/freedesktop/Notifications; interface=org.freedesktop.Notifications; member=Notify
string "notify-send"
uint32 0
string ""
string "Testing"
string "Just testing notification-daemon"
array [
]
array [
dict entry(
string "category"
variant string ""
)
dict entry(
string "urgency"
variant byte 0
)
]
int32 -1
method call sender=:1.33 -> dest=org.freedesktop.DBus path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=RemoveMatch
string "type='signal',sender='org.freedesktop.Notification s',path='/org/freedesktop/Notifications',interface='org.freedesktop.Notifica tions'"
signal sender=org.freedesktop.DBus -> dest=(null destination) path=/org/freedesktop/DBus; interface=org.freedesktop.DBus; member=NameOwnerChanged
string ":1.33"
string ":1.33"
string ""
If I kill notification daemon, and send notification again dbus starts it, but still messages are not shown.
I can't find any error log (/var/log/messages and xsession-errors shows nothing),
I don't know how to debug this. :(
BTW: I am using Beryl, and I'm starting gnome session like this:
#!/bin/bash
beryl &
emerald &
beryl-manager --no-force-window-manager --no-force-decorator &
exec gnome-session --purge-delay=2000
but I don't thing this affects notification-daemon (purge-delay sets how long gnome-session should wait for programs to register, if I change it to default - 30000 - notification-daemon still stops working).
Thanks for ANY help ;)
Packages I use:
notification-daemon-0.3.7-2.fc7
notify-python-0.1.0-4.fc7
libnotify-0.4.4-2.fc7
dbus-glib-0.73-2.fc7
dbus-python-0.81.1-1.fc7
dbus-x11-1.0.2-6.fc7
dbus-devel-1.0.2-6.fc7
dbus-glib-devel-0.73-2.fc7
dbus-1.0.2-6.fc7
Cheers,
Mike