From 2d8f309fe25b4fdbd5df214e5ec974b61fb80063 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jakobus=20Sch=C3=BCrz?= Date: Sun, 1 Nov 2020 21:06:46 +0100 Subject: [PATCH] fix README --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 85e1bc0..158e934 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,8 @@ So you can install this listener-service and the autostart-entry, log out and re Then you can test the new service. Run the following command from a terminal as you user, as user root, from a test-unit in systemd or even from debug-shell from systemd: - dbus-send --system /at/xundeenergie/notifications at.xundeenergie.notifications.Notification string:"TEST" string:"Test Header" string:"Testbody" + dbus-send --system /at/xundeenergie/notifications/simple at.xundeenergie.Notification.critical string:"TEST" string:"Test Header" string:"Testbody" + dbus-send --system /at/xundeenergie/notifications/advanced at.xundeenergie.Notification.critical dict:string:string:"header","Backup start","body","Backup ${TODAY} gestartet" ### Run it from python### Use the bindings for dbus. You can find a test-implementation in /usr/share/doc/system-notification/system-notification-example.py