Fix co-installability with other DBus activated notification services
ClosedPublic

Authored by davidedmundson on May 25 2017, 7:51 AM.

Details

Summary

In Plasma we install a DBus activated service to handle the case of
notifications being sent before Plasma is loaded. This file clashes with
other notification daemons and causes distro issues.

The convention is to make this file name match the DBus service name so
that we can detect conflicts, however in this case we know we have an
unavoidable conflict, but it doesn't really have an repurcisions other
than the user having an undetermined notification daemon chosen during
plasma bootup (which was the case before this patch too)

Effectively it's the same problem we have with the
org.freedesktop.FileManager1 service and Dolphin, and the same solution.

Test Plan

Installed this
kquitapp5 plasmashell
notify-send some message. Confirmed it waited
started plasmashell. Got the message

Diff Detail

Repository
R120 Plasma Workspace
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
davidedmundson created this revision.May 25 2017, 7:51 AM
Restricted Application added a project: Plasma. · View Herald TranscriptMay 25 2017, 7:51 AM
Restricted Application added a subscriber: plasma-devel. · View Herald Transcript
mart accepted this revision.May 25 2017, 8:26 AM
This revision is now accepted and ready to land.May 25 2017, 8:26 AM
This revision was automatically updated to reflect the committed changes.