Change kde default notifications system for dunst

I was trying to get dunst into my system… but when i run the command this line appears:

CRITICAL: [dbus_cb_name_lost:1152] Cannot acquire 'org.freedesktop.Notifications': Name is acquired by 'Plasma' with PID '907'.

I checked the FAQ on the official dunst guide but there is no guide to solve this error.

Notification servers


Cinnamon, Deepin, Enlightenment, GNOME, GNOME Flashback and KDE Plasma use their own implementations to display notifications, and it cannot be replaced. Their notification servers are started automatically on login to receive notifications from applications via DBus.

Okay, so I add a file in (/usr/share/dbus-1/services or $XDG_DATA_HOME/dbus-1/services)
With this name org.freedesktop.Notifications.service

And inside of it this code.?

[D-BUS Service]

This ^

Dunst as default notification should work for me. You must keep the KDE notification service.

I think you probably deleted the KDE notification service.

  1. Reinstall plasma-workspace to restore it.
  2. Reinstall dunst and remove a dunst service as a duplicate:
    $ sudo rm /usr/share/dbus-1/services/org.knopwob.dunst.service