You are not logged in.
After installing Mate alongside with XFCE, notifications in XFCE got broken, even after uninstalling Mate.
Running ps shows that xfce4-notifyd is not running, but I don't find where to correctly set it to startup. I've tried adding it to startup applications on XFCE configurations, but it doesn't work most of the times. Sometimes it runs, but it gets killed somehow. I have also tried with a totally new user, but it doesn't work either, so its not a configuration issue on the user side.
When I try to run the notifications preview, I got this message:
Error calling StartServiceByName for org.freedesktop.Notifications: GDBus.Error:org.freedesktop.DBus.Error.Spawn.ChildExited: Process org.freedesktop.Notifications exited with status 1
If I run /usr/lib/xfce4/notifyd/xfce4-notifyd from a terminal, then the preview works, but other applications' notifications don't seem to use this service, they don't get themed.
Also, the file /usr/share/dbus-1/services/org.xfce.xfce4-notifyd.Notifications.service is there.
Version of xfce4-notifyd is 0.2.4-2, xfdesktop 4.12.3-1, local/xfwm4 4.12.3-1
I don't know what to try next... Any suggestions?
Last edited by alculquicondor (2015-09-23 18:36:09)
Offline
Sounds like this. Try sourcing /etc/X11/xinit/xinitrc.d/50-systemd-user.sh from your xinit.
Last edited by toz (2015-09-23 17:53:45)
Offline
It worked... weird that it was working before without that, though
Offline
Its due to a recent systemd/dbus update.
Offline
Sourcing isn't working for me. Still no notifications.
If I try running "dbus-update-activation-environment --all" as the user it gives me "Failed to connect to socket" as if DBus isn't running (or the user doesn't have access to it).
Should I be doing anything else here as well?
EDIT: I've just switched to LightDM and I'm still having the same issue.
Last edited by Enverex (2015-09-25 17:04:49)
Offline
toz suggestion worked for me as well. I added "source /etc/X11/xinit/xinitrc.d/50-systemd-user.sh" to my .xinitrc
Offline
w00t, thx!!
Offline
Sourcing isn't working for me. Still no notifications.
If I try running "dbus-update-activation-environment --all" as the user it gives me "Failed to connect to socket" as if DBus isn't running (or the user doesn't have access to it).
Should I be doing anything else here as well?
EDIT: I've just switched to LightDM and I'm still having the same issue.
(I know this is late, but I will give an answer for future reference for others)
I also had that source line in my .xinitrc, but it had no effect.
The reason for this is that I started my desktop session directly via startxfce4 in which case .xinitrc is not read/executed.
I fixed this by modifying my .xinitrc to have
exec startxfce4
and used
startx
instead. Now everything works as it should.
Offline