The install makes "org.knopwob.dunst.service" under "/usr/share/dbus-1/services" with contents: [D-BUS Service] Name=org.freedesktop.Flatpak Exec=/usr/libexec/flatpak-session-helper SystemdService=flatpak-session-helper.service But the dunst doesn't start when I run `dbus-run-session sway` and trying to trigger notifications results in "Unable to send notification: Error calling StartServiceByName for org.freedesktop.Notifications: Process org.freedesktop.Notifications received signal 5"
(In reply to zen from comment #0) > The install makes "org.knopwob.dunst.service" under > "/usr/share/dbus-1/services" with contents: > [D-BUS Service] > Name=org.freedesktop.Flatpak > Exec=/usr/libexec/flatpak-session-helper > SystemdService=flatpak-session-helper.service > > But the dunst doesn't start when I run `dbus-run-session sway` and trying to > trigger notifications results in "Unable to send notification: Error calling > StartServiceByName for org.freedesktop.Notifications: Process > org.freedesktop.Notifications received signal 5" The following is in sway's error output, similar errors for other programs attempting to push notifications (plexamp:3): libnotify-WARNING **: 18:23:30.077: Failed to connect to proxy dbus-daemon[6038]: [session uid=1000 pid=6038] Activating service name='org.freedesktop.Notifications' requested by ':1.19' (uid=1000 pid=6191 comm="xdg-dbus-proxy --args=41") WARNING: Cannot open X11 display. ERROR: [ get_x11_output:0065] Couldn't initialize X11 output. Aborting... dbus-daemon[6038]: [session uid=1000 pid=6038] Activated service 'org.freedesktop.Notifications' failed: Process org.freedesktop.Notifications received signal 5
That service file isn't right. It should be: [D-BUS Service] Name=org.freedesktop.Notifications Exec=/usr/bin/dunst SystemdService=dunst.service As it is on my system, for dunst-1.9.1. Your service file looks like one that might have been installed via Flatpak? Did you install dunst using `emerge`?
(In reply to zen from comment #0) > The install makes "org.knopwob.dunst.service" under > "/usr/share/dbus-1/services" with contents: > [D-BUS Service] > Name=org.freedesktop.Flatpak > Exec=/usr/libexec/flatpak-session-helper > SystemdService=flatpak-session-helper.service > > But the dunst doesn't start when I run `dbus-run-session sway` and trying to > trigger notifications results in "Unable to send notification: Error calling > StartServiceByName for org.freedesktop.Notifications: Process > org.freedesktop.Notifications received signal 5" I pasted the wrong thing, these are the actual contents: > cat /usr/share/dbus-1/services/org.knopwob.dunst.service [D-BUS Service] Name=org.freedesktop.Notifications Exec=/usr/bin/dunst SystemdService=dunst.service
Did you also test 1.9.2?
(In reply to Conrad Kostecki from comment #4) > Did you also test 1.9.2? I have not(In reply to Conrad Kostecki from comment #4) > Did you also test 1.9.2? i have, it seems i have to start it with sway, and i think the reason is because dusnt requires an active wayland display to start. I'm starting sway from tty1
Well, in this case, I don't see, what I could do here. The ebuild just install dunst, but starting is managed by the user. I would recommend to open a ticket for upstream in this case.