Bug 364361 - impossible to replace plasma notifications by another notification daemon
Summary: impossible to replace plasma notifications by another notification daemon
Status: RESOLVED WORKSFORME
Alias: None
Product: plasmashell
Classification: Plasma
Component: Notifications (other bugs)
Version First Reported In: 5.6.4
Platform: Debian unstable Linux
: NOR normal
Target Milestone: 1.0
Assignee: Martin Klapetek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-15 21:16 UTC by Cédric Boutillier
Modified: 2016-06-16 10:00 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Cédric Boutillier 2016-06-15 21:16:51 UTC
I use an up to date Debian unstable, which has plasma-workspace 5.6.4.

I would like in my KDE environment to have notifications displayed by the notification daemon 'dunst'  http://www.knopwob.org/dunst/

Disabling notifications from the systray is not enough to stop KDE notification daemon, Notifications are not displayed any more, but seem still caught by the KDE notification daemon.
Trying to run dunst from the command line gives then:

$dunst 
Name Lost. Is Another notification daemon running?

I try to run dunst early, but when the desktop opens, there is no 'dunst' process anymore.

I have a similar output when I try to use notify-osd:
 $ /usr/lib/x86_64-linux-gnu/notify-osd
** (notify-osd:2893): WARNING **: Another instance has already registered org.freedesktop.Notifications
** (notify-osd:2893): WARNING **: Could not register instance



For the moment, the only way I found to make work another notification daemon is to comment out (most of) the source code in the
NotificationsEngine constructor and NotificationsEngine::registerDBusService()
in the file dataengines/notifications/notificationsengine.cpp  of plasma-workspace and rebuild the package.



Reproducible: Always


Actual Results:  
either notifications are displayed as plasma popups, or not displayed at all. 

Expected Results:  
I would like an option to disable completely KDE notification daemon (and unregister it from dbus).
Maybe there is a dbus magic invokation to do that? An option in the notification dialog from systray would be great.
Comment 1 Rex Dieter 2016-06-15 23:49:08 UTC
Triaging to plasmashell (the actual notifications applet is in plasma-workspace).

I'll suspect this may not be possible, but will let someone else authoritative speak on that.
Comment 2 Kai Uwe Broulik 2016-06-16 09:59:56 UTC
Also disable "Show progress and status information in task buttons"
Comment 3 Kai Uwe Broulik 2016-06-16 10:00:08 UTC
in task manager settings, that is