<table><tr><td style="">broulik retitled this revision from "RFC: Listen for broadcast notifications on system bus" to "Listen for broadcast notifications on system bus".<br />broulik updated the summary for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-ke6fo5o32ppc3hw/" rel="noreferrer">(Show Details)</a><br />broulik updated the test plan for this revision. <a href="https://phabricator.kde.org/transactions/detail/PHID-XACT-DREV-vvpqrqnmrkwdso6/" rel="noreferrer">(Show Details)</a>
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D3606" rel="noreferrer">View Revision</a></tr></table><br /><div><strong>EDIT DETAILS</strong><div><div style="white-space: pre-wrap; color: #74777D;">This will listen for a signal on the system DBus to show a notification to all users on the current machine. This allows prettier and more versatile notifications than using wall/write.<span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);"><br />
<br />
This is disabled by default but can be enabled in e.g. ~/.config/plasmashellrc per user or /etc/xdg/plasmashellrc globally<br />
[Notifications]<br />
ListenForBroadcasts=true</span></div></div></div><br /><div><strong>EDIT DETAILS</strong><div><div style="white-space: pre-wrap; color: #74777D;"><div style="padding: 8px 0;">...</div>Little test app that works<span style="padding: 0 2px; color: #802b2b; background: rgba(251, 175, 175, .7);">:</span><span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);">.<br />
<br />
If "uids" is given, the notification will only be shown for the users with UIDs given. If it is omitted the notification is shown for all users.</span><br />
```<div style="padding: 8px 0;">...</div> {QStringLiteral("body"), "Please contact system administration if you cannot find your stuff."},<span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);"><br />
{QStringLiteral("appIcon"), QStringLiteral("network-disconnect")},</span><br />
{QStringLiteral("<span style="padding: 0 2px; color: #802b2b; background: rgba(251, 175, 175, .7);">appIcon"</span><span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);">uids"), QStringList{QStringLiteral("1337"), QStringLiteral("1000"</span>), QStringLiteral("<span style="padding: 0 2px; color: #802b2b; background: rgba(251, 175, 175, .7);">network-disconnect")}</span><span style="padding: 0 2px; color: #3e6d35; background: rgba(151, 234, 151, .6);">1001")} }</span><br />
} });<div style="padding: 8px 0;">...</div></div></div></div><br /><div><strong>REPOSITORY</strong><div><div>R120 Plasma Workspace</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D3606" rel="noreferrer">https://phabricator.kde.org/D3606</a></div></div><br /><div><strong>EMAIL PREFERENCES</strong><div><a href="https://phabricator.kde.org/settings/panel/emailpreferences/" rel="noreferrer">https://phabricator.kde.org/settings/panel/emailpreferences/</a></div></div><br /><div><strong>To: </strong>broulik, Plasma<br /><strong>Cc: </strong>mart, plasma-devel, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas<br /></div>